From: <mwl...@us...> - 2009-11-30 19:31:04
|
Revision: 985 http://cishell.svn.sourceforge.net/cishell/?rev=985&view=rev Author: mwlinnem Date: 2009-11-30 19:30:56 +0000 (Mon, 30 Nov 2009) Log Message: ----------- Added 'model' data type to CIShell (for EpiC). These should probably belong to their specific projects (in this case EpiC), but oh well (it's not as if networks are specifically part of CIShell either really). Modified Paths: -------------- trunk/clients/gui/org.cishell.reference.gui.datamanager/src/org/cishell/reference/gui/datamanager/DataGUIItem.java trunk/core/org.cishell.framework/src/org/cishell/framework/data/DataProperty.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-11-24 20:05:47 UTC (rev 984) +++ trunk/clients/gui/org.cishell.reference.gui.datamanager/src/org/cishell/reference/gui/datamanager/DataGUIItem.java 2009-11-30 19:30:56 UTC (rev 985) @@ -43,6 +43,7 @@ private Image databaseIcon; private Image rasterImageIcon; private Image vectorImageIcon; + private Image modelIcon; private Map typeToImageMapping; @@ -73,6 +74,7 @@ databaseIcon = getImage("database.jpg", this.brandPluginID); rasterImageIcon = getImage("raster_image.jpg", this.brandPluginID); vectorImageIcon = getImage("vector_image.jpg", this.brandPluginID); + modelIcon = getImage("model.jpg", this.brandPluginID); typeToImageMapping = new HashMap(); registerImage(DataProperty.OTHER_TYPE, unknownIcon); @@ -93,6 +95,7 @@ registerImage(DataProperty.DATABASE_TYPE, databaseIcon); registerImage(DataProperty.RASTER_IMAGE_TYPE, rasterImageIcon); registerImage(DataProperty.VECTOR_IMAGE_TYPE, vectorImageIcon); + registerImage(DataProperty.MODEL_TYPE, modelIcon); } /** Modified: trunk/core/org.cishell.framework/src/org/cishell/framework/data/DataProperty.java =================================================================== --- trunk/core/org.cishell.framework/src/org/cishell/framework/data/DataProperty.java 2009-11-24 20:05:47 UTC (rev 984) +++ trunk/core/org.cishell.framework/src/org/cishell/framework/data/DataProperty.java 2009-11-30 19:30:56 UTC (rev 985) @@ -90,4 +90,7 @@ /** Says this data model is a JPEG object */ public static String RASTER_IMAGE_TYPE = "Raster Image"; + + /** Says this data model is a 'model' object */ + public static String MODEL_TYPE = "Model"; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |