Skip to main content
summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAlain Magloire2004-03-30 01:08:56 -0500
committerAlain Magloire2004-03-30 01:08:56 -0500
commitf76fe15b92b4ccd8b33d06dfaa2149caf59d45b8 (patch)
tree3e3090007166cdfe1be120ad051d1f0f7b17b0b5 /core
parent36e409eaa343a37040894c70e68afab451d64a08 (diff)
downloadorg.eclipse.cdt-f76fe15b92b4ccd8b33d06dfaa2149caf59d45b8.tar.gz
org.eclipse.cdt-f76fe15b92b4ccd8b33d06dfaa2149caf59d45b8.tar.xz
org.eclipse.cdt-f76fe15b92b4ccd8b33d06dfaa2149caf59d45b8.zip
Fix PR 56650
Diffstat (limited to 'core')
-rw-r--r--core/org.eclipse.cdt.ui/ChangeLog6
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/MainActionGroup.java7
2 files changed, 13 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.ui/ChangeLog b/core/org.eclipse.cdt.ui/ChangeLog
index 0242ea82b3..01500764c6 100644
--- a/core/org.eclipse.cdt.ui/ChangeLog
+++ b/core/org.eclipse.cdt.ui/ChangeLog
@@ -1,5 +1,11 @@
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
the PackageExplorer functionnality.
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/MainActionGroup.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/MainActionGroup.java
index 31646db11a..b39c6198cf 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/MainActionGroup.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/MainActionGroup.java
@@ -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();

Back to the top