mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
replace tag icon with platform one
This commit is contained in:
@@ -17,7 +17,6 @@ public class XpathIcons {
|
||||
public static final Icon Association_small = load("/icons/association_small.png"); // 11x11
|
||||
public static final Icon Function = load("/icons/function.png"); // 18x18
|
||||
public static final Icon Namespace = load("/icons/namespace.png"); // 21x21
|
||||
public static final Icon Tag = load("/icons/tag.png"); // 16x16
|
||||
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
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 127 B |
@@ -17,7 +17,6 @@ package org.intellij.lang.xpath.completion;
|
||||
|
||||
import com.intellij.openapi.util.Iconable;
|
||||
import com.intellij.util.PlatformIcons;
|
||||
import icons.XpathIcons;
|
||||
import org.intellij.lang.xpath.psi.XPathNodeTest;
|
||||
|
||||
import javax.swing.*;
|
||||
@@ -31,6 +30,6 @@ public class NodeLookup extends AbstractLookup implements Lookup, Iconable {
|
||||
}
|
||||
|
||||
public Icon getIcon(int flags) {
|
||||
return principalType == XPathNodeTest.PrincipalType.ATTRIBUTE ? PlatformIcons.ANNOTATION_TYPE_ICON : XpathIcons.Tag;
|
||||
return principalType == XPathNodeTest.PrincipalType.ATTRIBUTE ? PlatformIcons.ANNOTATION_TYPE_ICON : PlatformIcons.XML_TAG_ICON;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user