Class NodeDeleteAction
java.lang.Object
javax.swing.AbstractAction
com.marginallyclever.donatello.actions.undoable.NodeDeleteAction
- All Implemented Interfaces:
com.marginallyclever.donatello.actions.EditorAction,ActionListener,Serializable,Cloneable,EventListener,Action
public class NodeDeleteAction
extends AbstractAction
implements com.marginallyclever.donatello.actions.EditorAction
Deletes the editor's selected
Nodes and sundry.- Since:
- 2022-02-21
- Author:
- Dan Royer
- See Also:
-
Field Summary
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
ConstructorsConstructorDescriptionNodeDeleteAction(String name, Donatello editor) Constructor for subclasses to call. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidCalled by theDonatellowhen the editor believes it is time to confirm enable status.Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
NodeDeleteAction
-
-
Method Details
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
updateEnableStatus
public void updateEnableStatus()Description copied from interface:com.marginallyclever.donatello.actions.EditorActionCalled by theDonatellowhen the editor believes it is time to confirm enable status.- Specified by:
updateEnableStatusin interfacecom.marginallyclever.donatello.actions.EditorAction
-