Changeset 7 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/gui


Ignore:
Timestamp:
07/25/2017 11:16:45 AM (9 years ago)
Author:
bmcguffin
Message:

Renamed Interfaces in structures.events package from "*Interface" to "I_*"

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore set to
      build
  • trunk/src/scriptbuilder/gui/ScriptBuilderFrame.java

    r1 r7  
    3131import scriptbuilder.structures.SimulationScript; 
    3232import scriptbuilder.structures.TimeSlice; 
    33 import scriptbuilder.structures.events.ScriptEventInterface; 
     33import scriptbuilder.structures.events.I_ScriptEvent; 
    3434 
    3535/** 
     
    360360 
    361361            DefaultListModel model = new DefaultListModel(); 
    362             for (ScriptEventInterface e : slice.events) 
     362            for (I_ScriptEvent e : slice.events) 
    363363            { 
    364364                model.addElement(e); 
  • trunk/src/scriptbuilder/gui/drawers/EventIconDrawer.java

    r1 r7  
    1313import scriptbuilder.structures.ScriptEvent.ScriptEventType; 
    1414import images.*; 
    15 import scriptbuilder.structures.events.ScriptEventInterface; 
     15import scriptbuilder.structures.events.I_ScriptEvent; 
    1616 
    1717/** 
     
    138138     * y) 
    139139     */ 
    140     public static void DrawEventIcon(Graphics2D g2d, ScriptEventInterface event, 
     140    public static void DrawEventIcon(Graphics2D g2d, I_ScriptEvent event, 
    141141            int x, int y) 
    142142    { 
  • trunk/src/scriptbuilder/gui/drawers/TimeSliceDrawer.java

    r1 r7  
    1212import scriptbuilder.structures.ScriptEvent; 
    1313import scriptbuilder.structures.TimeSlice; 
    14 import scriptbuilder.structures.events.ScriptEventInterface; 
     14import scriptbuilder.structures.events.I_ScriptEvent; 
    1515 
    1616/** 
     
    8888                } 
    8989 
    90                 ScriptEventInterface event = slice.events.get(i); 
     90                I_ScriptEvent event = slice.events.get(i); 
    9191                EventIconDrawer.DrawEventIcon(g2d, event, slice.getX() 
    9292                        - ScriptBuilderGuiConstants.EVENT_ICON_WIDTH, 
  • trunk/src/scriptbuilder/gui/panels/IncidentTimelinePanel.java

    r1 r7  
    2020import scriptbuilder.structures.ScriptIncident; 
    2121import scriptbuilder.structures.TimeSlice; 
    22 import scriptbuilder.structures.events.ScriptEventInterface; 
     22import scriptbuilder.structures.events.I_ScriptEvent; 
    2323 
    2424/** 
     
    129129            } 
    130130 
    131             for (ScriptEventInterface se : incident.slices.get(newSlice).events) 
     131            for (I_ScriptEvent se : incident.slices.get(newSlice).events) 
    132132            { 
    133133                ed.addProperty(eventTypeToPropertyMap.get(se.getScriptEventType()), se); 
     
    141141                if (f.currentEventType != null) 
    142142                { 
    143                     ScriptEventInterface s = ScriptEvent.factoryByType(f.currentEventType); 
     143                    I_ScriptEvent s = ScriptEvent.factoryByType(f.currentEventType); 
    144144                    ed.addProperty(eventTypeToPropertyMap.get(f.currentEventType), s); 
    145145                    incident.slices.get(newSlice).addEvent(s); 
Note: See TracChangeset for help on using the changeset viewer.