From: <hu...@us...> - 2008-09-23 17:51:22
|
Revision: 815 http://cishell.svn.sourceforge.net/cishell/?rev=815&view=rev Author: huangb Date: 2008-09-23 17:50:15 +0000 (Tue, 23 Sep 2008) Log Message: ----------- Map both MATRIX_TYPE and TABLE_TYPE to tableIcon. See annotation inside the code 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 2008-09-23 17:38:09 UTC (rev 814) +++ trunk/clients/gui/org.cishell.reference.gui.datamanager/src/org/cishell/reference/gui/datamanager/DataGUIItem.java 2008-09-23 17:50:15 UTC (rev 815) @@ -69,7 +69,15 @@ typeToImageMapping = new HashMap(); registerImage(DataProperty.OTHER_TYPE, unknownIcon); - registerImage(DataProperty.MATRIX_TYPE, matrixIcon); + + /******************************************** + * This is a temporary work around solution. + * Since many algs claims the output data type is MATRIX_TYPE, + * but in fact it should be TABLE_TYPE. + * Should associate MATRIX_TYPE with matrixIcon and clean up + * related algs. + * ******************************************/ + registerImage(DataProperty.MATRIX_TYPE, tableIcon); registerImage(DataProperty.NETWORK_TYPE, networkIcon); registerImage(DataProperty.TREE_TYPE, treeIcon); registerImage(DataProperty.TEXT_TYPE, textIcon); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |