AbstractDebuggerAction

abstract class AbstractDebuggerAction(    val debugger: AvailDebugger,     name: String,     shortcut: AvailDebuggerShortcut? = null) : AbstractWorkbenchAction

An AbstractDebuggerAction is attached to an AvailDebugger, and automatically installs itself into the inputMap and actionMap of the root of the debugger's frame, if an accelerator is provided.

Parameters

debugger

The owning AvailDebugger.

name

The name of the action.

shortcut

The AvailDebuggerShortcut used to invoke the action or null if there is no shortcut for this AbstractDebuggerAction.

Constructors

Link copied to clipboard
fun AbstractDebuggerAction(    debugger: AvailDebugger,     name: String,     shortcut: AvailDebuggerShortcut? = null)

Construct a new AbstractDebuggerAction.

Functions

Link copied to clipboard
open fun accept(p0: Any): Boolean
Link copied to clipboard
abstract fun actionPerformed(p0: ActionEvent)
Link copied to clipboard
open override fun addPropertyChangeListener(p0: PropertyChangeListener)
Link copied to clipboard
open fun getKeys(): Array<Any>
Link copied to clipboard
open fun getPropertyChangeListeners(): Array<PropertyChangeListener>
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
open override fun removePropertyChangeListener(p0: PropertyChangeListener)
Link copied to clipboard
open override fun setEnabled(p0: Boolean)
Link copied to clipboard
abstract fun updateIsEnabled(busy: Boolean)

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

Properties

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

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

Link copied to clipboard
val debugger: AvailDebugger
Link copied to clipboard
open val featureCategory: FeatureCategory? = null
Link copied to clipboard
val workbench: AvailWorkbench

The owning AvailWorkbench.