mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fix PR 56650
This commit is contained in:
parent
36e409eaa3
commit
f76fe15b92
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-03-30 Alain Magloire
|
||||
|
||||
Show the import/export menu even when no selection.
|
||||
PR 56650
|
||||
* src/org/eclipse/cdt/internal/cview/MainActiongroup.java
|
||||
|
||||
2004-03-30 Alain Magloire
|
||||
|
||||
Change the filter implementation of the CView to match
|
||||
|
|
|
@ -183,6 +183,11 @@ public class MainActionGroup extends CViewActionGroup {
|
|||
new NewWizardMenu(menu, getCView().getSite().getWorkbenchWindow(), false);
|
||||
menu.add(new Separator(IContextMenuConstants.GROUP_REORGANIZE));
|
||||
refactoringActionGroup.fillContextMenu(menu);
|
||||
menu.add(new Separator());
|
||||
importAction.selectionChanged(resources);
|
||||
menu.add(importAction);
|
||||
exportAction.selectionChanged(resources);
|
||||
menu.add(exportAction);
|
||||
menu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
|
||||
menu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS + "-end")); //$NON-NLS-1$
|
||||
menu.add(new Separator());
|
||||
|
@ -360,6 +365,8 @@ public class MainActionGroup extends CViewActionGroup {
|
|||
|
||||
public void dispose() {
|
||||
IWorkspace workspace = CUIPlugin.getWorkspace();
|
||||
importAction.dispose();
|
||||
exportAction.dispose();
|
||||
refactorGroup.dispose();
|
||||
openFileGroup.dispose();
|
||||
openProjectGroup.dispose();
|
||||
|
|
Loading…
Add table
Reference in a new issue