Package org.eclipse.jdt.ui.actions
Class ImportActionGroup
java.lang.Object
org.eclipse.ui.actions.ActionGroup
org.eclipse.jdt.ui.actions.ImportActionGroup
public class ImportActionGroup
extends org.eclipse.ui.actions.ActionGroup
Action group to add the Import and Export action to a view part's
context menu.
This class may be instantiated; it is not intended to be subclassed.
- Since:
- 2.0
- Restriction:
- This class is not intended to be subclassed by clients.
-
Constructor Summary
ConstructorDescriptionImportActionGroup
(org.eclipse.ui.IViewPart part) Creates a newImportActionGroup
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
void
fillContextMenu
(org.eclipse.jface.action.IMenuManager menu) Methods inherited from class org.eclipse.ui.actions.ActionGroup
fillActionBars, getContext, setContext, updateActionBars
-
Constructor Details
-
ImportActionGroup
public ImportActionGroup(org.eclipse.ui.IViewPart part) Creates a newImportActionGroup
. The group requires that the selection provided by the part's selection provider is of typeorg.eclipse.jface.viewers.IStructuredSelection
.- Parameters:
part
- the view part that owns this action group
-
-
Method Details
-
fillContextMenu
public void fillContextMenu(org.eclipse.jface.action.IMenuManager menu) - Overrides:
fillContextMenu
in classorg.eclipse.ui.actions.ActionGroup
-
dispose
public void dispose()- Overrides:
dispose
in classorg.eclipse.ui.actions.ActionGroup
-