org.eclipse.jdt.ui.actions
Class ProjectActionGroup
java.lang.Object
org.eclipse.ui.actions.ActionGroup
org.eclipse.jdt.ui.actions.ProjectActionGroup
- public class ProjectActionGroup
- extends org.eclipse.ui.actions.ActionGroup
Adds actions to open and close a project to the global menu bar.
This class may be instantiated; it is not intended to be subclassed.
- Since:
- 2.0
Constructor Summary |
ProjectActionGroup(org.eclipse.ui.IViewPart part)
Creates a new ProjectActionGroup . |
Methods inherited from class org.eclipse.ui.actions.ActionGroup |
getContext, setContext, updateActionBars |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectActionGroup
public ProjectActionGroup(org.eclipse.ui.IViewPart part)
- Creates a new
ProjectActionGroup
. The group requires
that the selection provided by the site's selection provider is of type
org.eclipse.jface.viewers.IStructuredSelection
.
- Parameters:
part
- the view part that owns this action group
fillActionBars
public void fillActionBars(org.eclipse.ui.IActionBars actionBars)
fillContextMenu
public void fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
dispose
public void dispose()
Copyright (c) IBM Corp. and others 2000, 2004. All Rights Reserved.