|
From: <mwl...@us...> - 2009-01-26 20:40:24
|
Revision: 859
http://cishell.svn.sourceforge.net/cishell/?rev=859&view=rev
Author: mwlinnem
Date: 2009-01-26 20:40:11 +0000 (Mon, 26 Jan 2009)
Log Message:
-----------
Added new icons for database, vector image, and raster image.
Modified Paths:
--------------
trunk/clients/gui/org.cishell.reference.gui.datamanager/src/org/cishell/reference/gui/datamanager/DataGUIItem.java
Modified: trunk/clients/gui/org.cishell.reference.gui.datamanager/src/org/cishell/reference/gui/datamanager/DataGUIItem.java
===================================================================
--- trunk/clients/gui/org.cishell.reference.gui.datamanager/src/org/cishell/reference/gui/datamanager/DataGUIItem.java 2009-01-26 20:39:46 UTC (rev 858)
+++ trunk/clients/gui/org.cishell.reference.gui.datamanager/src/org/cishell/reference/gui/datamanager/DataGUIItem.java 2009-01-26 20:40:11 UTC (rev 859)
@@ -39,6 +39,9 @@
private Image textIcon;
private Image plotIcon;
private Image tableIcon;
+ private Image databaseIcon;
+ private Image rasterImageIcon;
+ private Image vectorImageIcon;
private Map typeToImageMapping;
@@ -59,13 +62,16 @@
children = new ArrayList();
this.brandPluginID = brandPluginID;
- matrixIcon = createImage("matrix.png", this.brandPluginID);
- treeIcon = createImage("tree.png", this.brandPluginID);
- networkIcon = createImage("network.png", this.brandPluginID);
- unknownIcon = createImage("unknown.png", this.brandPluginID);
- textIcon = createImage("text.png", this.brandPluginID);
- plotIcon = createImage("plot.png", this.brandPluginID);
- tableIcon = createImage("table.png", this.brandPluginID);
+ matrixIcon = createImage("matrix.png", this.brandPluginID);
+ treeIcon = createImage("tree.png", this.brandPluginID);
+ networkIcon = createImage("network.png", this.brandPluginID);
+ unknownIcon = createImage("unknown.png", this.brandPluginID);
+ textIcon = createImage("text.png", this.brandPluginID);
+ plotIcon = createImage("plot.png", this.brandPluginID);
+ tableIcon = createImage("table.png", this.brandPluginID);
+ databaseIcon = createImage("database.jpg", this.brandPluginID);
+ rasterImageIcon = createImage("raster_image.jpg", this.brandPluginID);
+ vectorImageIcon = createImage("vector_image.jpg", this.brandPluginID);
typeToImageMapping = new HashMap();
registerImage(DataProperty.OTHER_TYPE, unknownIcon);
@@ -83,6 +89,9 @@
registerImage(DataProperty.TEXT_TYPE, textIcon);
registerImage(DataProperty.PLOT_TYPE, plotIcon);
registerImage(DataProperty.TABLE_TYPE, tableIcon);
+ registerImage(DataProperty.DATABASE_TYPE, databaseIcon);
+ registerImage(DataProperty.RASTER_IMAGE_TYPE, rasterImageIcon);
+ registerImage(DataProperty.VECTOR_IMAGE_TYPE, vectorImageIcon);
}
/**
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|