|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.actions.ActionGroup
org.eclipse.cdt.ui.actions.OpenViewActionGroup
public class OpenViewActionGroup
Action group that adds actions to open a new CDT view part or an external viewer to a context menu and the global menu bar.
This class may be instantiated; it is not intended to be subclassed.
Constructor Summary | |
---|---|
OpenViewActionGroup(org.eclipse.ui.texteditor.ITextEditor part)
Note: This constructor is for internal use only. |
|
OpenViewActionGroup(org.eclipse.ui.IWorkbenchPart part)
Creates a new OpenActionGroup . |
|
OpenViewActionGroup(org.eclipse.ui.part.Page page)
Creates a new OpenActionGroup . |
Method Summary | |
---|---|
static boolean |
canActionBeAdded(org.eclipse.jface.viewers.ISelection selection)
|
void |
dispose()
|
void |
fillActionBars(org.eclipse.ui.IActionBars actionBar)
|
void |
fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
|
void |
setAppendToGroup(java.lang.String groupName)
|
void |
setEnableIncludeBrowser(boolean enableIncludeBrowser)
|
void |
setSuppressCallHierarchy(boolean suppressCallHierarchy)
|
void |
setSuppressProperties(boolean suppressProperties)
|
void |
setSuppressTypeHierarchy(boolean suppressTypeHierarchy)
|
Methods inherited from class org.eclipse.ui.actions.ActionGroup |
---|
getContext, setContext, updateActionBars |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OpenViewActionGroup(org.eclipse.ui.part.Page page)
OpenActionGroup
. The group requires
that the selection provided by the page's selection provider is of type
org.eclipse.jface.viewers.IStructuredSelection
.
page
- the page that owns this action grouppublic OpenViewActionGroup(org.eclipse.ui.IWorkbenchPart part)
OpenActionGroup
. The group requires
that the selection provided by the part's selection provider is of type
org.eclipse.jface.viewers.IStructuredSelection
.
part
- the view part that owns this action grouppublic OpenViewActionGroup(org.eclipse.ui.texteditor.ITextEditor part)
Method Detail |
---|
public void fillActionBars(org.eclipse.ui.IActionBars actionBar)
fillActionBars
in class org.eclipse.ui.actions.ActionGroup
public void fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
fillContextMenu
in class org.eclipse.ui.actions.ActionGroup
public void dispose()
dispose
in class org.eclipse.ui.actions.ActionGroup
public static boolean canActionBeAdded(org.eclipse.jface.viewers.ISelection selection)
public void setAppendToGroup(java.lang.String groupName)
public void setSuppressTypeHierarchy(boolean suppressTypeHierarchy)
public void setSuppressCallHierarchy(boolean suppressCallHierarchy)
public void setSuppressProperties(boolean suppressProperties)
public void setEnableIncludeBrowser(boolean enableIncludeBrowser)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |