Package com.marginallyclever.donatello.actions
-
Class Summary Class Description ActionAddNode Launches the "Add Node" dialog.ActionCopyGraph Copies the editor's selectedNodes and their sharedNodeConnections to the copy buffer.ActionCutGraph Performs anActionCopyGraphand then anActionDeleteGraph.ActionDeleteGraph Deletes the editor's selectedNodes and sundry.ActionEditNodes Launches the "edit node" dialog.ActionFoldGraph Collapses the editor's selectedNodes into a new sub-graph.ActionForciblyUpdateNodes ActionLoadGraph Launches a "select file to open" dialog and attempts to load theNodeGraphfrom 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 aBufferedImageand then saves that to a default path.ActionSaveGraph Launches a "select file to save" dialog and attempts to save theNodeGraphto disk.ActionStraightenGraph Straightens the editor'sNodes by rounding their top-left corner x and y values to the nearestActionStraightenGraph.SNAP_SIZE.ActionUnfoldGraph Uncollapses all the editor's selected items that areSubgraphs.ActionUpdateGraph Updates all dirtyNodes in the editor's graph.