private void reloadSceneByIndex(int index) { ITraceElement te = loadNextTraceElement(index); traceElements = featureModel.getAllTraceElements(te.getTraceId()); selectTrace(te.getTraceId()); resetScene(); jumpToEvent(te.getTraceId(), te.getEoi()); }
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); }
@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(); }