|
||||||||||
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.internal.ui.cview.CViewActionGroup
public abstract class CViewActionGroup
This is the action group for all the view actions. It delegates to several subgroups for most of the actions.
GotoActionGroup
,
OpenFileGroup
,
RefactorActionGroup
,
SortAndFilterActionGroup
,
WorkspaceActionGroup
Constructor Summary | |
---|---|
CViewActionGroup(CView cview)
Constructs a new navigator action group and creates its actions. |
Method Summary | |
---|---|
abstract void |
fillActionBars(org.eclipse.ui.IActionBars actionBars)
|
abstract void |
fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
Called when the context menu is about to open. |
CView |
getCView()
Returns the resource navigator. |
void |
handleKeyPressed(org.eclipse.swt.events.KeyEvent event)
Handles a key pressed event by invoking the appropriate action. |
void |
handleKeyReleased(org.eclipse.swt.events.KeyEvent event)
Handles a key released event by invoking the appropriate action. |
void |
restoreFilterAndSorterState(org.eclipse.ui.IMemento memento)
|
void |
runDefaultAction(org.eclipse.jface.viewers.IStructuredSelection selection)
Runs the default action in the group. |
void |
saveFilterAndSorterState(org.eclipse.ui.IMemento memento)
|
abstract void |
updateActionBars()
|
Methods inherited from class org.eclipse.ui.actions.ActionGroup |
---|
dispose, getContext, setContext |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CViewActionGroup(CView cview)
cview
- the CViewMethod Detail |
---|
public CView getCView()
public void handleKeyPressed(org.eclipse.swt.events.KeyEvent event)
public void handleKeyReleased(org.eclipse.swt.events.KeyEvent event)
public abstract void fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
fillContextMenu
in class org.eclipse.ui.actions.ActionGroup
public abstract void fillActionBars(org.eclipse.ui.IActionBars actionBars)
fillActionBars
in class org.eclipse.ui.actions.ActionGroup
public abstract void updateActionBars()
updateActionBars
in class org.eclipse.ui.actions.ActionGroup
public void runDefaultAction(org.eclipse.jface.viewers.IStructuredSelection selection)
selection
- the current selectionpublic void restoreFilterAndSorterState(org.eclipse.ui.IMemento memento)
public void saveFilterAndSorterState(org.eclipse.ui.IMemento memento)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |