/*
* Copyright 2013 Julien Viet
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package icons;
import com.intellij.openapi.util.IconLoader;
import javax.swing.*;
/** @author Julien Viet */
public class AsciiDocIcons {
private static Icon load(String path) {
return IconLoader.getIcon(path, AsciiDocIcons.class);
}
/** The AsciiDoc {@link Icon}. */
public static final Icon Asciidoc_Icon = load("/icons/asciidoc.png");
public static class Layout {
public static final Icon Editor_only = load("/icons/layout/Editor_only.png"); // 16x16
public static final Icon Editor_preview = load("/icons/layout/Editor_preview.png"); // 16x16
public static final Icon Preview_only = load("/icons/layout/Preview_only.png"); // 16x16
}
public static class EditorActions {
public static final Icon Bold = load("/icons/editor_actions/Bold.png"); // 16x16
public static final Icon Italic = load("/icons/editor_actions/Italic.png"); // 16x16
public static final Icon Table = load("/icons/editor_actions/table.png"); // 16x16
public static final Icon Link = load("/icons/editor_actions/Link.png"); // 16x16
public static final Icon Strike_through = load("/icons/editor_actions/Strike_through.png"); // 16x16
public static final Icon Code_span = load("/icons/editor_actions/Code_span.png"); // 16x16
}
}