Class NodeIsolateAction
java.lang.Object
javax.swing.AbstractAction
com.marginallyclever.donatello.actions.undoable.NodeIsolateAction
- All Implemented Interfaces:
com.marginallyclever.donatello.actions.EditorAction
,ActionListener
,Serializable
,Cloneable
,EventListener
,Action
public class NodeIsolateAction
extends AbstractAction
implements com.marginallyclever.donatello.actions.EditorAction
Disconnects the selected
Node
s from any non-selected Node
s of a Graph
.- Since:
- 2022-03-10
- 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
ConstructorsConstructorDescriptionNodeIsolateAction
(String name, Donatello editor) Constructor for subclasses to call. -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Called by theDonatello
when 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
-
NodeIsolateAction
-
-
Method Details
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
updateEnableStatus
public void updateEnableStatus()Description copied from interface:com.marginallyclever.donatello.actions.EditorAction
Called by theDonatello
when the editor believes it is time to confirm enable status.- Specified by:
updateEnableStatus
in interfacecom.marginallyclever.donatello.actions.EditorAction
-