1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-02 22:55:26 +02:00

Fix for 193559, NPE in DOMAST View.

This commit is contained in:
Markus Schorn 2007-06-21 13:02:19 +00:00
parent 6d31000503
commit bc30ad342a

View file

@ -138,8 +138,6 @@ public class DOMAST extends ViewPart {
private static final String DISPLAY_PROBLEMS = "Display Problems"; //$NON-NLS-1$
TreeViewer viewer;
private DrillDownAdapter drillDownAdapter;
private Action openDeclarationsAction;
private Action openReferencesAction;
private Action displayProblemsAction;
private Action displayNodeTypeAction;
private Action displayNodeSignatureAction;
@ -385,7 +383,7 @@ public class DOMAST extends ViewPart {
System.out.println(DOM_AST_VIEW_DONE + GENERATING_INITIAL_TREE + COLON_SPACE + (System.currentTimeMillis()- start) );
// display roots
root = new DOMASTNodeParent(null); //$NON-NLS-1$
root = new DOMASTNodeParent(null);
if (monitor.isCanceled()) return Status.CANCEL_STATUS;
monitor.subTask(RETRIEVING_PREPROCESSOR_STATEMENTS);
@ -776,8 +774,6 @@ public class DOMAST extends ViewPart {
}
void fillContextMenu(IMenuManager manager) {
manager.add(openDeclarationsAction);
manager.add(openReferencesAction);
manager.add(new Separator());
// ASTUtil#... menu
MenuManager astMenu = new MenuManager(ASTUTIL_MENU_LABEL);