Ignore:
Timestamp:
08/16/12 16:08:48 (12 years ago)
Author:
sherbold
Message:
  • countless adaptations throughout nearly all components to remove errors introduced due to the refactoring of the event core
  • added StringEventType? as a simple-to-use event type instead of DummyEventType?
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/quest-core-events/src/main/java/de/ugoe/cs/quest/eventcore/Event.java

    r551 r553  
    3030     * </p> 
    3131     */ 
    32     public static final Event STARTEVENT = new Event(new DummyEventType()); 
     32    public static final Event STARTEVENT = new Event(new StringEventType("START")); 
    3333 
    3434    /** 
     
    3636     * Global end event that can be used to indicate the end of a sequence. 
    3737     */ 
    38     public static final Event ENDEVENT = new Event(new DummyEventType()); 
     38    public static final Event ENDEVENT = new Event(new StringEventType("END")); 
    3939 
    4040    /** 
     
    160160     */ 
    161161    public String getId() { 
    162         return "(" + type.toString() + ";" + target.toString() + ")"; 
     162        String id = type.toString(); 
     163        if( target!=null ) { 
     164            id += "." + target.toString(); 
     165        } 
     166        return id; 
    163167    } 
    164168 
Note: See TracChangeset for help on using the changeset viewer.