Example #1
0
  private void reloadSceneByIndex(int index) {
    ITraceElement te = loadNextTraceElement(index);
    traceElements = featureModel.getAllTraceElements(te.getTraceId());
    selectTrace(te.getTraceId());

    resetScene();
    jumpToEvent(te.getTraceId(), te.getEoi());
  }
Example #2
0
  private void selectTrace(long traceId) {
    traceElements = featureModel.getAllTraceElements(traceId);
    if (null == traceElements) {
      throw new IllegalArgumentException("The trace (" + traceId + ") does not exist");
    }

    currentTraceId = traceId;
    logger.info("CHANGED trace to id = " + traceId);
  }
Example #3
0
  @Override
  public void update(Object caller, Class<? extends IObserver> clazz, Object arg) {
    resetState();

    LINE_TIME = featureModel.getTraceEvents();
    Collections.sort(LINE_TIME, compaTin);
    logger.info("Events sorted by tin. " + LINE_TIME.size());

    loadNavigationMode();
  }