RetrievePreviousCommand

Retrieve the most recently executed command, or if this action has been performed already, retrieve the command before the one most recently shown. If the earliest command is passed, clear the command line and wrap around on the next retrieval.

Parameters

workbench

The owning AvailWorkbench.

Constructors

Link copied to clipboard
constructor(workbench: AvailWorkbench)

Construct a new RetrievePreviousCommand.

Properties

Link copied to clipboard
open var checkEnabled: () -> Boolean

The lambda that indicates whether or not this should be enabled.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun accept(p0: Any): Boolean
Link copied to clipboard
open override fun actionPerformed(e: ActionEvent)
Link copied to clipboard
Link copied to clipboard
open fun getKeys(): Array<Any>
Link copied to clipboard
open override fun getValue(p0: String): Any
Link copied to clipboard
open override fun isEnabled(): Boolean
Link copied to clipboard
fun name(): String
Link copied to clipboard
open override fun putValue(p0: String, p1: Any)
Link copied to clipboard
Link copied to clipboard
open override fun setEnabled(p0: Boolean)
Link copied to clipboard
open override fun updateIsEnabled(busy: Boolean)

Update isEnabled to reflect whether or not this AbstractWorkbenchAction should be be enabled at the time of calling this function.