mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
move xpath resources to resources root
This commit is contained in:
@@ -19,6 +19,7 @@ public class XpathIcons {
|
||||
public static final Icon Function = load("/icons/function.png"); // 18x18
|
||||
public static final Icon Namespace = load("/icons/namespace.png"); // 21x21
|
||||
public static final Icon Template = load("/icons/template.png"); // 18x18
|
||||
public static final Icon Xml = load("/icons/xml.png"); // 16x16
|
||||
public static final Icon Xpath = load("/icons/xpath.png"); // 12x16
|
||||
public static final Icon Xslt_filetype_overlay = load("/icons/xslt-filetype-overlay.png"); // 11x16
|
||||
public static final Icon Xslt = load("/icons/xslt.png"); // 16x16
|
||||
|
||||
|
Before Width: | Height: | Size: 274 B After Width: | Height: | Size: 274 B |
|
Before Width: | Height: | Size: 274 B After Width: | Height: | Size: 274 B |
@@ -124,10 +124,8 @@ public class XPathEvalAction extends XPathAction {
|
||||
@Override
|
||||
protected void updateToolbar(AnActionEvent event) {
|
||||
super.updateToolbar(event);
|
||||
if (XpathIcons.Xml != null) {
|
||||
event.getPresentation().setIcon(XpathIcons.Xml);
|
||||
}
|
||||
}
|
||||
event.getPresentation().setIcon(XpathIcons.Xml);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean isEnabledAt(XmlFile xmlFile, int offset) {
|
||||
|
||||
Reference in New Issue
Block a user