org.eclipse.cdt.internal.ui.actions
Class FoldingActionGroup
java.lang.Object
org.eclipse.ui.actions.ActionGroup
org.eclipse.cdt.internal.ui.actions.FoldingActionGroup
public class FoldingActionGroup
- extends org.eclipse.ui.actions.ActionGroup
Groups the CDT folding actions.
- Since:
- 3.0
Constructor Summary |
FoldingActionGroup(org.eclipse.ui.texteditor.ITextEditor editor,
org.eclipse.jface.text.ITextViewer viewer)
Creates a new projection action group for editor . |
Method Summary |
void |
dispose()
|
void |
fillMenu(org.eclipse.jface.action.IMenuManager manager)
Fills the menu with all folding actions. |
void |
updateActionBars()
|
Methods inherited from class org.eclipse.ui.actions.ActionGroup |
fillActionBars, fillContextMenu, getContext, setContext |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FoldingActionGroup
public FoldingActionGroup(org.eclipse.ui.texteditor.ITextEditor editor,
org.eclipse.jface.text.ITextViewer viewer)
- Creates a new projection action group for
editor
. If the
supplied viewer is not an instance of ProjectionViewer
, the
action group is disabled.
- Parameters:
editor
- the text editor to operate onviewer
- the viewer of the editor
dispose
public void dispose()
- Overrides:
dispose
in class org.eclipse.ui.actions.ActionGroup
fillMenu
public void fillMenu(org.eclipse.jface.action.IMenuManager manager)
- Fills the menu with all folding actions.
- Parameters:
manager
- the menu manager for the folding submenu
updateActionBars
public void updateActionBars()
- Overrides:
updateActionBars
in class org.eclipse.ui.actions.ActionGroup