public static class MainMenuAction.ShowLineNumbersAction 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 |
---|
ShowLineNumbersAction() |
Modifier and Type | Method and Description |
---|---|
protected String |
getActionName()
Get the action name
|
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
|
JMenuItem |
getMenuPresenter() |
String |
getName() |
protected void |
setMenu()
Sets the state of JMenuItem.
|
addAccelerators, getActionByName, getContextActionMap, getDefaultAccelerator, getHelpCtx, isEnabled, postSetMenu, resultChanged, stateChanged
protected void setMenu()
MainMenuAction
setMenu
in class MainMenuAction
protected String getMenuItemText()
MainMenuAction
getMenuItemText
in class MainMenuAction
public String getName()
getName
in class MainMenuAction
public JMenuItem getMenuPresenter()
getMenuPresenter
in interface Presenter.Menu
getMenuPresenter
in class MainMenuAction
protected String getActionName()
MainMenuAction
getActionName
in class MainMenuAction
protected Action getGlobalKitAction()
MainMenuAction
getGlobalKitAction
in class MainMenuAction