|
||||||||||
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
org.eclipse.cdt.internal.ui.cview.MainActionGroup
public class MainActionGroup
The main action group for the cview. This contains a few actions and several subgroups.
Constructor Summary | |
---|---|
MainActionGroup(CView cview)
|
Method Summary | |
---|---|
void |
dispose()
|
void |
fillActionBars(org.eclipse.ui.IActionBars actionBars)
|
void |
fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
Called when the context menu is about to open. |
CustomFiltersActionGroup |
getCustomFilterActionGroup()
|
void |
handleKeyPressed(org.eclipse.swt.events.KeyEvent event)
Handles key events in viewer. |
void |
handleKeyReleased(org.eclipse.swt.events.KeyEvent event)
Handles key events in viewer. |
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)
|
void |
setContext(org.eclipse.ui.actions.ActionContext context)
Extends the superclass implementation to set the context in the subgroups. |
void |
updateActionBars()
Updates all actions with the given selection. |
Methods inherited from class org.eclipse.cdt.internal.ui.cview.CViewActionGroup |
---|
getCView |
Methods inherited from class org.eclipse.ui.actions.ActionGroup |
---|
getContext |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MainActionGroup(CView cview)
Method Detail |
---|
public void handleKeyPressed(org.eclipse.swt.events.KeyEvent event)
handleKeyPressed
in class CViewActionGroup
public void handleKeyReleased(org.eclipse.swt.events.KeyEvent event)
handleKeyReleased
in class CViewActionGroup
public void fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
fillContextMenu
in class CViewActionGroup
public void setContext(org.eclipse.ui.actions.ActionContext context)
setContext
in class org.eclipse.ui.actions.ActionGroup
public void runDefaultAction(org.eclipse.jface.viewers.IStructuredSelection selection)
CViewActionGroup
runDefaultAction
in class CViewActionGroup
selection
- the current selectionpublic void updateActionBars()
updateActionBars
in class CViewActionGroup
public void fillActionBars(org.eclipse.ui.IActionBars actionBars)
fillActionBars
in class CViewActionGroup
public void restoreFilterAndSorterState(org.eclipse.ui.IMemento memento)
restoreFilterAndSorterState
in class CViewActionGroup
public void saveFilterAndSorterState(org.eclipse.ui.IMemento memento)
saveFilterAndSorterState
in class CViewActionGroup
public CustomFiltersActionGroup getCustomFilterActionGroup()
public void dispose()
dispose
in class org.eclipse.ui.actions.ActionGroup
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |