diff --git a/src/org/ntlab/traceDebugger/BreakPointView.java b/src/org/ntlab/traceDebugger/BreakPointView.java index c67e21f..925cb5b 100644 --- a/src/org/ntlab/traceDebugger/BreakPointView.java +++ b/src/org/ntlab/traceDebugger/BreakPointView.java @@ -50,7 +50,7 @@ protected IAction resumeAction; protected IAction importBreakpointAction; protected Shell shell; - protected TraceBreakPoints traceBreakPoints; +// protected TraceBreakPoints traceBreakPoints; protected DebuggingController debuggingController = DebuggingController.getInstance(); public static final String ID = "org.ntlab.traceDebugger.breakPointView"; public static final String DEBUG_ELCL = "Debug_elcl"; @@ -124,6 +124,7 @@ createToolBar(); createMenuBar(); createPopupMenu(); + updateImagesForBreakPoint(DebuggingController.getInstance().hasLoadedTraceFileStatus()); TraceDebuggerPlugin.setActiveView(ID, this); } @@ -145,6 +146,7 @@ @Override public void dispose() { + DebuggingController.getInstance().resetExcludingForLoadingStatusOfTheTrace(); TraceDebuggerPlugin.removeView(ID, this); } @@ -322,9 +324,9 @@ getSite().registerContextMenu(menuMgr, viewer); } - public TraceBreakPoints getTraceBreakPoints() { - return traceBreakPoints; - } +// public TraceBreakPoints getTraceBreakPoints() { +// return traceBreakPoints; +// } public void reset() { viewer.setInput(new ArrayList()); @@ -334,7 +336,7 @@ } public void updateTraceBreakPoints(TraceBreakPoints traceBreakPoints) { - this.traceBreakPoints = traceBreakPoints; +// this.traceBreakPoints = traceBreakPoints; viewer.setInput(traceBreakPoints.getAllTraceBreakPoints()); final Table table = viewer.getTable(); for (TableItem item : table.getItems()) {