Changeset 7 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/gui
- Timestamp:
- 07/25/2017 11:16:45 AM (9 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
. (modified) (1 prop)
-
src/scriptbuilder/gui/ScriptBuilderFrame.java (modified) (2 diffs)
-
src/scriptbuilder/gui/drawers/EventIconDrawer.java (modified) (2 diffs)
-
src/scriptbuilder/gui/drawers/TimeSliceDrawer.java (modified) (2 diffs)
-
src/scriptbuilder/gui/panels/IncidentTimelinePanel.java (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property
svn:ignore
set to
build
-
Property
svn:ignore
set to
-
trunk/src/scriptbuilder/gui/ScriptBuilderFrame.java
r1 r7 31 31 import scriptbuilder.structures.SimulationScript; 32 32 import scriptbuilder.structures.TimeSlice; 33 import scriptbuilder.structures.events. ScriptEventInterface;33 import scriptbuilder.structures.events.I_ScriptEvent; 34 34 35 35 /** … … 360 360 361 361 DefaultListModel model = new DefaultListModel(); 362 for ( ScriptEventInterfacee : slice.events)362 for (I_ScriptEvent e : slice.events) 363 363 { 364 364 model.addElement(e); -
trunk/src/scriptbuilder/gui/drawers/EventIconDrawer.java
r1 r7 13 13 import scriptbuilder.structures.ScriptEvent.ScriptEventType; 14 14 import images.*; 15 import scriptbuilder.structures.events. ScriptEventInterface;15 import scriptbuilder.structures.events.I_ScriptEvent; 16 16 17 17 /** … … 138 138 * y) 139 139 */ 140 public static void DrawEventIcon(Graphics2D g2d, ScriptEventInterfaceevent,140 public static void DrawEventIcon(Graphics2D g2d, I_ScriptEvent event, 141 141 int x, int y) 142 142 { -
trunk/src/scriptbuilder/gui/drawers/TimeSliceDrawer.java
r1 r7 12 12 import scriptbuilder.structures.ScriptEvent; 13 13 import scriptbuilder.structures.TimeSlice; 14 import scriptbuilder.structures.events. ScriptEventInterface;14 import scriptbuilder.structures.events.I_ScriptEvent; 15 15 16 16 /** … … 88 88 } 89 89 90 ScriptEventInterfaceevent = slice.events.get(i);90 I_ScriptEvent event = slice.events.get(i); 91 91 EventIconDrawer.DrawEventIcon(g2d, event, slice.getX() 92 92 - ScriptBuilderGuiConstants.EVENT_ICON_WIDTH, -
trunk/src/scriptbuilder/gui/panels/IncidentTimelinePanel.java
r1 r7 20 20 import scriptbuilder.structures.ScriptIncident; 21 21 import scriptbuilder.structures.TimeSlice; 22 import scriptbuilder.structures.events. ScriptEventInterface;22 import scriptbuilder.structures.events.I_ScriptEvent; 23 23 24 24 /** … … 129 129 } 130 130 131 for ( ScriptEventInterfacese : incident.slices.get(newSlice).events)131 for (I_ScriptEvent se : incident.slices.get(newSlice).events) 132 132 { 133 133 ed.addProperty(eventTypeToPropertyMap.get(se.getScriptEventType()), se); … … 141 141 if (f.currentEventType != null) 142 142 { 143 ScriptEventInterfaces = ScriptEvent.factoryByType(f.currentEventType);143 I_ScriptEvent s = ScriptEvent.factoryByType(f.currentEventType); 144 144 ed.addProperty(eventTypeToPropertyMap.get(f.currentEventType), s); 145 145 incident.slices.get(newSlice).addEvent(s);
Note: See TracChangeset
for help on using the changeset viewer.
