sysperfana/perfinvestigator/com.nokia.carbide.cpp.pi/src/com/nokia/carbide/cpp/pi/editors/PIPageEditorContributor.java
equal
deleted
inserted
replaced
57 |
57 |
58 // create a top-level menu manager for PIPageEditor |
58 // create a top-level menu manager for PIPageEditor |
59 if (piManager != null) { |
59 if (piManager != null) { |
60 piManager.dispose(); |
60 piManager.dispose(); |
61 } |
61 } |
62 piManager = new MenuManager(Messages.getString("PIPageEditorContributor.PerformanceInvestigator"), PIPageEditor.menuID); //$NON-NLS-1$ |
62 piManager = new MenuManager(Messages.getString("PIPageEditorContributor.PerformanceInvestigator"), PIPageEditor.MENU_ID); //$NON-NLS-1$ |
63 manager.prependToGroup(IWorkbenchActionConstants.MB_ADDITIONS, piManager); |
63 manager.prependToGroup(IWorkbenchActionConstants.MB_ADDITIONS, piManager); |
64 PIPageEditor.setPIMenuManager(piManager); |
64 PIPageEditor.setPIMenuManager(piManager); |
65 } |
65 } |
66 |
66 |
67 public void contributeToToolBar(IToolBarManager manager) { |
67 public void contributeToToolBar(IToolBarManager manager) { |