| org.eclipse.jdt.internal.ui.actions.FoldingActionGroup
FoldingActionGroup | public class FoldingActionGroup extends ActionGroup (Code) | | Groups the JDT folding actions.
since: 3.0 |
Constructor Summary | |
public | FoldingActionGroup(ITextEditor editor, ITextViewer viewer) Creates a new projection action group for editor . |
Method Summary | |
public void | dispose() | public void | fillMenu(IMenuManager manager) Fills the menu with all folding actions. | protected boolean | isEnabled() Returns true if the group is enabled. | protected void | update() Updates the actions. | public void | updateActionBars() |
FoldingActionGroup | public FoldingActionGroup(ITextEditor editor, ITextViewer viewer)(Code) | | 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 on Parameters: viewer - the viewer of the editor |
dispose | public void dispose()(Code) | | |
fillMenu | public void fillMenu(IMenuManager manager)(Code) | | Fills the menu with all folding actions.
Parameters: manager - the menu manager for the folding submenu |
isEnabled | protected boolean isEnabled()(Code) | | Returns true if the group is enabled.
Invariant: isEnabled() <=> fViewer and all actions are != null.
true if the group is enabled |
update | protected void update()(Code) | | Updates the actions.
|
updateActionBars | public void updateActionBars()(Code) | | |
|
|