move xpath resources to resources root

This commit is contained in:
Vladimir Krivosheev
2018-09-26 10:27:22 +02:00
parent 4901d8d783
commit 9a2b142e88
27 changed files with 3 additions and 4 deletions
@@ -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) {