|
Module Simantics/ClipboardThis module is undocumented. This is a list of its definitions. copyNode :: Resource -> <Proc> () Copies the given resource to the Simantics clipboard, as the copy command of the model browser does. A failure is logged rather than raised. copyNodes :: [Resource] -> <Proc> () Copies the given resources to the Simantics clipboard, as the copy command of the model browser does. A failure is logged rather than raised. copyPasteDiagramContents :: ICanvasContext -> ICanvasContext -> [Resource] -> Boolean
copyPasteNode :: Resource -> Resource -> <Proc> ()
cutNode :: Resource -> <Proc> () Cuts the given resource to the Simantics clipboard, as the cut command of the model browser does. A failure is logged rather than raised. cutNodes :: [Resource] -> <Proc> () Cuts the given resources to the Simantics clipboard, as the cut command of the model browser does. A failure is logged rather than raised. delete :: ICanvasContext -> [Resource] -> <Proc> Boolean
pasteNode :: Resource -> <Proc> () Pastes the contents of the Simantics clipboard under the given target resource, using the paste handler the target adapts to. |