- Timestamp:
- 08/23/12 09:08:47 (12 years ago)
- Location:
- trunk/quest-plugin-jfc
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-plugin-jfc/data/guimappings/guimapping-argouml.txt
r585 r588 18 18 org.argouml.core.propertypanels.ui.UMLTextField = de.ugoe.cs.quest.plugin.jfc.guimodel.JFCTextField 19 19 org.argouml.core.propertypanels.ui.UMLComboBox = de.ugoe.cs.quest.plugin.jfc.guimodel.JFCGUIElement 20 org.argouml.ui.explorer.DnDExplorerTree = de.ugoe.cs.quest.plugin.jfc.guimodel.JFCGUIElement 21 org.argouml.ui.NavigatorPane = de.ugoe.cs.quest.plugin.jfc.guimodel.JFCGUIElement 22 org.argouml.ui.explorer.PerspectiveComboBox = de.ugoe.cs.quest.plugin.jfc.guimodel.JFCGUIElement -
trunk/quest-plugin-jfc/data/guimappings/guimapping-swing.txt
r587 r588 15 15 sun.swing.FilePane = de.ugoe.cs.quest.plugin.jfc.guimodel.JFCGUIElement 16 16 sun.swing.FilePane$3 = de.ugoe.cs.quest.plugin.jfc.guimodel.JFCGUIElement 17 javax.swing.plaf.metal.MetalComboBoxButton = de.ugoe.cs.quest.plugin.jfc.guimodel.JFCGUIElement 18 javax.swing.JButton = de.ugoe.cs.quest.plugin.jfc.guimodel.JFCButton -
trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc/JFCLogParser.java
r585 r588 347 347 } 348 348 else if ("hash".equals(atts.getValue("name"))) { 349 currentGuiElementSpec.setElementHash 350 (Integer.parseInt(atts.getValue("value"), 16)); 349 currentGuiElementSpec.setElementHash(atts.getValue("value")); 351 350 } 352 351 } … … 654 653 currentGuiElementSpec.setIcon("unknown"); 655 654 currentGuiElementSpec.setIndex(-1); 656 currentGuiElementSpec.setElementHash( -1);655 currentGuiElementSpec.setElementHash("-1"); 657 656 } 658 657 catch (Exception e) -
trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc/guimodel/JFCGUIElement.java
r573 r588 75 75 * @return the hashCode 76 76 */ 77 intgetElementHash() {77 String getElementHash() { 78 78 return specification.getElementHash(); 79 79 } -
trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc/guimodel/JFCGUIElementSpec.java
r573 r588 19 19 20 20 /** */ 21 private String name ;21 private String name = null; 22 22 23 23 /** */ 24 private String type ;24 private String type = null; 25 25 26 26 /** */ 27 private String icon ;27 private String icon = null; 28 28 29 29 /** */ 30 private int index ;30 private int index = -1; 31 31 32 32 /** */ 33 private int elementHash;33 private String elementHash = null; 34 34 35 35 /* (non-Javadoc) … … 67 67 } 68 68 69 if (elementHash == otherSpec.elementHash ) {69 if (elementHash == otherSpec.elementHash || ((elementHash!=null) && elementHash.equals(otherSpec.elementHash))) { 70 70 result += 15; 71 71 } … … 129 129 * @return the elementHash 130 130 */ 131 public intgetElementHash() {131 public String getElementHash() { 132 132 return elementHash; 133 133 } … … 164 164 * @param elementHash the elementHash to set 165 165 */ 166 public void setElementHash( intelementHash) {166 public void setElementHash(String elementHash) { 167 167 this.elementHash = elementHash; 168 168 }
Note: See TracChangeset
for help on using the changeset viewer.