|
Module Simantics/DrawingTemplateThis module is undocumented. This is a list of its definitions. assignTemplateToDiagram :: Resource -> Resource -> <WriteGraph> () Assigns the given Drawing Template to a single Diagram. Same as
assignTemplateToDiagrams :: [Resource] -> Resource -> <WriteGraph> () Assigns the given Drawing Template to the given Diagram instance bindFlagToTable :: Resource -> Resource -> Double -> Double -> <WriteGraph> Boolean
If no row covers the position, a flag that was bound has its binding cleared
and is moved to createDrawingTemplate :: Resource -> <WriteGraph> Resource Creates new Drawing Template under the given Drawing Template library instance. Returns the created Drawing Template. createFilter :: Resource -> <WriteGraph> Resource Creates new Filter under the given Flag Table instance. Returns the created Filter. createFlagTable :: Resource -> <WriteGraph> Resource Creates new Flag Table under the given Drawing Template instance. Returns the created Flag Table. createFlagTypeVisual :: Resource -> <WriteGraph> Resource Creates new FlagTypeVisual under the given Flag Table instance. Returns the created FlagTypeVisual createImageInComposite :: Resource -> <WriteGraph> Resource Creates new SVG image under the given Visual Composite instance. Returns the created SVG Image. createImageInTable :: Resource -> <WriteGraph> Resource Creates new SVG image under the given Flag Table instance. Returns the created SVG Image. createLibraryInTemplate :: Resource -> <Proc> Resource Creates a new Library under the given Drawing Template parameter. Returns the created Library. createMonitor :: Resource -> <WriteGraph> Resource Creates new Monitor under the given Flag Table instance. Returns the created Monitor. createMonitorInComposite :: Resource -> <WriteGraph> Resource Creates new Monitor under the given Visual Composite instance. Returns the created Monitor. createVisualComposite :: Resource -> <WriteGraph> Resource Creates new Visual Composite under the given Drawing Template instance. Returns the created Visual Composite. drawingTemplateLibraryOf :: Resource -> <ReadGraph> Resource Returns the Drawing Template library folder of the given Model instance. exportDrawingTemplate :: File -> Resource -> <Proc> () Exports the given Drawing Template to the given File location importDrawingTemplate :: Resource -> File -> <Proc> Resource
A failed import is only logged, not raised, and the result is then a Java
setFlagTablePropertyValue :: Resource -> String -> String -> <WriteGraph> ()
setMonitorPropertyValue :: Resource -> String -> String -> <WriteGraph> ()
templateComposite :: Variable -> <ReadGraph> Variable The composite that corresponds to the diagram the drawing template is
currently drawn on. templateDiagram :: Variable -> <ReadGraph> Variable The diagram the drawing template is currently drawn on. templateModel :: Variable -> <ReadGraph> Variable The model containing the diagram the drawing template is currently drawn on.
|