public static final class MainMenuAction.FormatAction extends MainMenuAction
MainMenuAction.CommentAction, MainMenuAction.FindNextAction, MainMenuAction.FindPreviousAction, MainMenuAction.FindSelectionAction, MainMenuAction.FormatAction, MainMenuAction.GoToDeclarationAction, MainMenuAction.GoToSourceAction, MainMenuAction.GoToSuperAction, MainMenuAction.JumpBackAction, MainMenuAction.JumpForwardAction, MainMenuAction.PasteFormattedAction, MainMenuAction.RemoveTrailingSpacesAction, MainMenuAction.SelectAllAction, MainMenuAction.SelectIdentifierAction, MainMenuAction.ShiftLineLeftAction, MainMenuAction.ShiftLineRightAction, MainMenuAction.ShowLineNumbersAction, MainMenuAction.ShowToolBarAction, MainMenuAction.StartMacroRecordingAction, MainMenuAction.StopMacroRecordingAction, MainMenuAction.ToggleCommentAction, MainMenuAction.UncommentAction, MainMenuAction.WordMatchNextAction, MainMenuAction.WordMatchPrevAction
Presenter.Menu, Presenter.Popup, Presenter.Toolbar
BLANK_ICON, menuInitialized
Constructor and Description |
---|
FormatAction() |
Modifier and Type | Method and Description |
---|---|
protected String |
getActionName()
Get the action name
|
protected KeyStroke |
getDefaultAccelerator()
Get default accelerator
|
protected Action |
getGlobalKitAction()
If there is no kit sensitive action, some global kit action can be returned
by subclasses.
|
protected String |
getMenuItemText()
Get the text of the menu item
|
addAccelerators, getActionByName, getContextActionMap, getHelpCtx, getMenuPresenter, getName, isEnabled, postSetMenu, resultChanged, setMenu, stateChanged
protected String getMenuItemText()
MainMenuAction
getMenuItemText
in class MainMenuAction
protected String getActionName()
MainMenuAction
getActionName
in class MainMenuAction
protected Action getGlobalKitAction()
MainMenuAction
getGlobalKitAction
in class MainMenuAction
protected KeyStroke getDefaultAccelerator()
MainMenuAction
getDefaultAccelerator
in class MainMenuAction