Changeset 681 for trunk/quest-plugin-mfc


Ignore:
Timestamp:
08/29/12 10:05:50 (12 years ago)
Author:
sherbold
Message:
  • added getStringIdentifier() to interface IEventTarget
  • all event types and targets now implement equals and hashCode
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/quest-plugin-mfc/src/main/java/de/ugoe/cs/quest/plugin/mfc/guimodel/MFCGUIElement.java

    r655 r681  
    7878        ((MFCGUIElementSpec) super.getSpecification()).update(furtherSpec); 
    7979    } 
     80     
     81    @Override 
     82    public String getStringIdentifier() { 
     83        String str = this.toString(); 
     84        if( getParent()!=null ) { 
     85            return getParent().getStringIdentifier() + "->" + str; 
     86        } 
     87        return str; 
     88    } 
    8089 
    8190    /* (non-Javadoc) 
Note: See TracChangeset for help on using the changeset viewer.