Abstract Workbench Action
abstract class AbstractWorkbenchAction(val workbench: AvailWorkbench, name: String, shortcut: KeyboardShortcut? = null, rootPane: JRootPane = workbench.rootPane) : AbstractAction
An abstraction for all the workbench's actions.
Parameters
workbench
The owning AvailWorkbench.
name
The action's name.
shortcut
The KeyboardShortcut used to invoke the action or null if there is no shortcut for this AbstractWorkbenchAction.
root Pane
The JRootPane for the
Inheritors
Constructors
Link copied to clipboard
constructor(workbench: AvailWorkbench, name: String, shortcut: KeyboardShortcut? = null, rootPane: JRootPane = workbench.rootPane)
Construct a new AbstractWorkbenchAction.
Properties
Link copied to clipboard
The lambda that indicates whether or not this should be enabled.
Link copied to clipboard
The FeatureCategory this AbstractWorkbenchAction belongs to.
Link copied to clipboard
The owning AvailWorkbench.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Update isEnabled to reflect whether or not this AbstractWorkbenchAction should be be enabled at the time of calling this function.