Revision 728 org.gvsig.topology/trunk/org.gvsig.topology/org.gvsig.topology.swing/org.gvsig.topology.swing.impl/src/main/java/org/gvsig/topology/swing/impl/TopologySwingImplLibrary.java
TopologySwingImplLibrary.java | ||
---|---|---|
61 | 61 |
String[][] iconNames = new String[][] { |
62 | 62 |
new String[] { "layertypes", "layer-type-point" }, |
63 | 63 |
new String[] { "layertypes", "layer-type-line" }, |
64 |
new String[] { "layertypes", "layer-type-polygon" } |
|
64 |
new String[] { "layertypes", "layer-type-polygon" }, |
|
65 |
new String[] { "layertypes", "layer-type-multipoint" }, |
|
66 |
new String[] { "layertypes", "layer-type-multiline" }, |
|
67 |
new String[] { "layertypes", "layer-type-multipolygon" } |
|
65 | 68 |
}; |
66 | 69 |
IconTheme theme = ToolsSwingLocator.getIconThemeManager().getCurrent(); |
67 | 70 |
for (String[] icon : iconNames) { |
68 |
URL url = this.getClass().getResource("images/layertypes"+icon[1]+".png"); |
|
71 |
URL url = this.getClass().getResource("images/layertypes/"+icon[1]+".png");
|
|
69 | 72 |
theme.registerDefault("topology", icon[0], icon[1], null, url); |
70 | 73 |
} |
71 | 74 |
} |
Also available in: Unified diff