mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
Use correct path to resources.
The 'best practices' recommends putting in subdirectory of resources, and the image actually shows the items in /resources/icons.
This commit is contained in:
parent
a6d7b0204f
commit
54a1f7ab22
@ -14,9 +14,9 @@ The `getIcon()` method of [`com.intellij.openapi.util.IconLoader`](upsource:///p
|
||||
|
||||
```java
|
||||
public interface DemoPluginIcons {
|
||||
Icon STRUCTURE_TOOL_WINDOW = IconLoader.getIcon("/toolWindowStructure.png");
|
||||
Icon MY_LANG_FILE_TYPE = IconLoader.getIcon("/myLangFileType.png");
|
||||
Icon DEMO_ACTION = IconLoader.getIcon("/demoAction.png");
|
||||
Icon STRUCTURE_TOOL_WINDOW = IconLoader.getIcon("/icons/toolWindowStructure.png");
|
||||
Icon MY_LANG_FILE_TYPE = IconLoader.getIcon("/icons/myLangFileType.png");
|
||||
Icon DEMO_ACTION = IconLoader.getIcon("/icons/demoAction.png");
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user