/* * (non-Javadoc) * @see org.overture.ide.plugins.rttraceviewer.viewer.IViewCallback#updateOverviewPage () */ public void updateOverviewPage() { try { theOverview.disposeFigures(); traceRunner.drawOverview(theOverview, new Long(currentTime)); for (Long cpu : cpuTabs.keySet()) { GenericTabItem tab = cpuTabs.get(cpu); tab.disposeFigures(); traceRunner.drawCpu(tab, cpu, new Long(currentTime)); } } catch (Exception e) { TracefileViewerPlugin.log(e); } }
private void createTabPages() { try { traceRunner.drawArchitecture(theArch); traceRunner.drawOverview(theOverview, new Long(currentTime)); canExportJpg = true; canMoveHorizontal = true; canOpenValidation = true; Vector<Long> theCpus = traceRunner.getCpuIds(); cpuTabs.clear(); for (Long cpu : theCpus) { String cpuName = traceRunner.getCpuName(cpu); GenericTabItem theDetail = new GenericTabItem(cpuName, folder, AllowedOverrunDirection.Horizontal); traceRunner.drawCpu(theDetail, cpu, new Long(currentTime)); cpuTabs.put(cpu, theDetail); } } catch (Exception e) { TracefileViewerPlugin.log(e); } }