public class ModelTransformation
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<java.lang.String> |
get_open_diagrams_filename()
Return the file names of all currently open Xcos diagrams.
|
static java.util.List<java.lang.String> |
get_open_diagrams_titles()
Return the names of all currently open Xcos diagrams.
|
static java.util.List<org.scilab.modules.xcos.graph.XcosDiagram> |
get_open_diagrams()
Return references to all currently open Xcos diagrams.
|
static X2cAdapter_Model |
transform_diagamWTitle(java.lang.String xcos_diagram_title)
Transform the Xcos diagrams with the given title to a X2C model.
|
static java.util.List<X2cAdapter_Model> |
transform_open_diagrams()
Transform all currently open Xcos diagrams to X2C models.
|
static X2cAdapter_Model |
transform(com.mxgraph.model.mxGraphModel xcos_model) |
static X2cAdapter_Model |
transform(com.mxgraph.model.mxGraphModel xcos_model,
java.lang.String modelIdentification)
Transform the given Xcos model to a X2C model.
|
static X2cAdapter_Model |
transform(java.lang.String xcos_diagram_filename)
Transform the Xcos diagrams with the given filename to a X2C model.
|
static X2cAdapter_Model |
transform(org.scilab.modules.xcos.graph.XcosDiagram xcos_diagram) |
static X2cAdapter_Model |
transform(org.scilab.modules.xcos.graph.XcosDiagram xcos_diagram,
java.lang.String modelIdentification)
Transform the given Xcos diagrams to X2C a model.
|
public static java.util.List<java.lang.String> get_open_diagrams_titles()
throws java.lang.Exception
java.lang.Exceptionpublic static java.util.List<java.lang.String> get_open_diagrams_filename()
throws java.lang.Exception
java.lang.Exceptionpublic static java.util.List<org.scilab.modules.xcos.graph.XcosDiagram> get_open_diagrams()
throws java.lang.Exception
java.lang.Exceptionpublic static java.util.List<X2cAdapter_Model> transform_open_diagrams() throws java.lang.Exception
java.lang.Exceptionpublic static X2cAdapter_Model transform(org.scilab.modules.xcos.graph.XcosDiagram xcos_diagram) throws java.lang.Exception
java.lang.Exceptionpublic static X2cAdapter_Model transform(org.scilab.modules.xcos.graph.XcosDiagram xcos_diagram, java.lang.String modelIdentification) throws java.lang.Exception
xcos_diagram - Xcos diagramjava.lang.Exceptionpublic static X2cAdapter_Model transform(java.lang.String xcos_diagram_filename) throws java.lang.Exception
xcos_diagram_filename - Xcos diagram file namejava.lang.Exceptionpublic static X2cAdapter_Model transform_diagamWTitle(java.lang.String xcos_diagram_title) throws java.lang.Exception
xcos_diagram_title - Xcos diagram titlejava.lang.Exceptionpublic static X2cAdapter_Model transform(com.mxgraph.model.mxGraphModel xcos_model) throws java.lang.Exception
java.lang.Exceptionpublic static X2cAdapter_Model transform(com.mxgraph.model.mxGraphModel xcos_model, java.lang.String modelIdentification) throws java.lang.Exception
xcos_model - Xcos Modeljava.lang.ExceptionCopyright 2019 LCM. All rights reserved.