Changeset 714 for trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc/guimodel/JFCGUIElement.java
- Timestamp:
- 08/30/12 14:08:12 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc/guimodel/JFCGUIElement.java
r681 r714 69 69 * @return the hashCode 70 70 */ 71 StringgetElementHash() {71 int getElementHash() { 72 72 return specification.getElementHash(); 73 73 } … … 80 80 @Override 81 81 public void updateSpecification(IGUIElementSpec updateSpecification) { 82 if( updateSpecification instanceof JFCGUIElementSpec ) { 83 specification.setName(((JFCGUIElementSpec) updateSpecification).getName()); 84 specification.setElementHash(((JFCGUIElementSpec) updateSpecification).getElementHash()); 82 if (updateSpecification instanceof JFCGUIElementSpec) { 83 specification.update(((JFCGUIElementSpec) updateSpecification)); 85 84 } 86 85 } … … 107 106 @Override 108 107 public String toString() { 109 String str = getElementDescriptor() + "(" + getName() + ", " + getElementHash() + "," + getIcon() + "," + getIndex() +")"; 108 String str = getElementDescriptor() + "(" + getName() + "," + getElementHash() + "," + 109 getIcon() + "," + getIndex() +")"; 110 110 return str; 111 111 }
Note: See TracChangeset
for help on using the changeset viewer.