org.eclipse.cdt.internal.ui.cview
Class RefactorActionGroup
java.lang.Object
org.eclipse.ui.actions.ActionGroup
org.eclipse.cdt.internal.ui.cview.CViewActionGroup
org.eclipse.cdt.internal.ui.cview.RefactorActionGroup
public class RefactorActionGroup
- extends CViewActionGroup
This is the action group for refactor actions,
including global action handlers for copy, paste and delete.
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. |
void |
handleKeyPressed(org.eclipse.swt.events.KeyEvent event)
Handles a key pressed event by invoking the appropriate action. |
void |
updateActionBars()
|
Methods inherited from class org.eclipse.ui.actions.ActionGroup |
getContext, setContext |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RefactorActionGroup
public RefactorActionGroup(CView cview)
dispose
public void dispose()
- Overrides:
dispose
in class org.eclipse.ui.actions.ActionGroup
fillContextMenu
public void fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
- Description copied from class:
CViewActionGroup
- Called when the context menu is about to open.
Override to add your own context dependent menu contributions.
- Specified by:
fillContextMenu
in class CViewActionGroup
fillActionBars
public void fillActionBars(org.eclipse.ui.IActionBars actionBars)
- Specified by:
fillActionBars
in class CViewActionGroup
handleKeyPressed
public void handleKeyPressed(org.eclipse.swt.events.KeyEvent event)
- Handles a key pressed event by invoking the appropriate action.
- Overrides:
handleKeyPressed
in class CViewActionGroup
updateActionBars
public void updateActionBars()
- Specified by:
updateActionBars
in class CViewActionGroup