Package com.marginallyclever.donatello.actions
-
Class Summary Class Description ActionAddNode Launches the "Add Node" dialog.ActionCopyGraph Copies the editor's selectedNode
s and their sharedNodeConnection
s to the copy buffer.ActionCutGraph Performs anActionCopyGraph
and then anActionDeleteGraph
.ActionDeleteGraph Deletes the editor's selectedNode
s and sundry.ActionEditNodes Launches the "edit node" dialog.ActionFoldGraph Collapses the editor's selectedNode
s into a new sub-graph.ActionForciblyUpdateNodes ActionLoadGraph Launches a "select file to open" dialog and attempts to load theNodeGraph
from disk.ActionNewGraph Clears the editor's currentNodeGraph
.ActionPasteGraph Duplicates the editor's copy buffer, inserts the contents into the editor's currentNodeGraph
, and sets the new content as the editor's selected items.ActionPrintGraph Uses theJComponent.printAll(Graphics)
to generate aBufferedImage
and then saves that to a default path.ActionSaveGraph Launches a "select file to save" dialog and attempts to save theNodeGraph
to disk.ActionStraightenGraph Straightens the editor'sNode
s by rounding their top-left corner x and y values to the nearestActionStraightenGraph.SNAP_SIZE
.ActionUnfoldGraph Uncollapses all the editor's selected items that areSubgraph
s.ActionUpdateGraph Updates all dirtyNode
s in the editor's graph.