Changeset 185 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/structures/events/CADEvent.java


Ignore:
Timestamp:
01/12/2020 04:37:56 PM (6 years ago)
Author:
jdalbey
Message:

CADEvent.java added a toString() method with text that will appear in tooltip and Script Event panel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/scriptbuilder/structures/events/CADEvent.java

    r76 r185  
    5050        return output; 
    5151    } 
     52    /**  
     53     * @return a string representation of this event. Used for example in 
     54     * Script Events Panel of Incident Editor window. 
     55     */ 
     56    @Override 
     57    public String toString() 
     58    { 
     59        return getScriptEventType().toString() + " " + detail;  
     60    } 
    5261} 
Note: See TracChangeset for help on using the changeset viewer.