Example #1
0
  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();
    }
  }
Example #2
0
 public boolean isUserInteractionEnabled() {
   if (panelSimControls != null) return panelSimControls.isUserInteractionEnabled();
   else return false;
 }
Example #3
0
 public void addTraceEvent(String event) {
   if (panelSimControls != null) {
     if (panelSimControls.isTraceWriteEnabled()) panelSimControls.addTraceEvent(event);
   }
 }