Package editor
Class CommonMenus.RunToCursorActionHandler
java.lang.Object
javax.swing.AbstractAction
editor.CommonMenus.RunToCursorActionHandler
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
- Enclosing class:
- CommonMenus
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Supplier<BreakpointManager>
private final Supplier<GosuEditor>
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
Constructor Summary
ConstructorsConstructorDescriptionRunToCursorActionHandler
(Supplier<Debugger> debugger, Supplier<BreakpointManager> bpm, Supplier<GosuEditor> editor) -
Method Summary
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
_debugger
-
_bpm
-
_editor
-
-
Constructor Details
-
RunToCursorActionHandler
public RunToCursorActionHandler(Supplier<Debugger> debugger, Supplier<BreakpointManager> bpm, Supplier<GosuEditor> editor)
-
-
Method Details
-
actionPerformed
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceAction
- Overrides:
isEnabled
in classAbstractAction
-