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