public void simBegin() { if (panelSimControls.isTraceReplayEnabled()) traceReplay = panelSimControls.getTrace().getEvents(); else { traceReplay = null; if (panelSimControls.isTraceWriteEnabled()) panelSimControls.clearTrace(); } if (sim_thread == null) { sim_thread = new SimThread(); sim_thread.start(); } }
public boolean isUserInteractionEnabled() { if (panelSimControls != null) return panelSimControls.isUserInteractionEnabled(); else return false; }
public void addTraceEvent(String event) { if (panelSimControls != null) { if (panelSimControls.isTraceWriteEnabled()) panelSimControls.addTraceEvent(event); } }