Class Options
- java.lang.Object
-
- com.sodius.mdw.metamodel.uml21.io.ea.Options
-
public class Options extends java.lang.Object
Provides options available when reading or writing Enterprise Architect data:Map options = new HashMap(); options.put(MagicDrawOptions.OPTION_XMI_READ_EXTENSIONS, Boolean.TRUE); Model umlModel =... umlModel.read("Enterprise Architect Application", "", options);
Options might also be set as a Java System property.
For example, for an option named "xyz", setting a value as a Java Virtual Machine argument is done this way:-Dxyz=myValue
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
OPTION_APP_DIAGRAM_IMAGE_FORMAT
Determines the format of diagram images to export.static java.lang.String
OPTION_APP_DIAGRAM_XML_EXPORT
Determines the way the diagram information are exported.static java.lang.String
OPTION_APP_PACKAGE_SELECTION
Determines the package to read from or to write into.static java.lang.String
OPTION_APP_XMI_DTD
Determines whether a DTD should be generated along the temporary XMI file.static java.lang.String
OPTION_APP_XMI_FORMATTED
Determines whether the XMI temporary file is formatted.static java.lang.String
OPTION_APP_XMI_VERSION
Determines the UML and XMI versions used when Enterprise Architect exports the temporary XMI file.static java.lang.String
OPTION_FIX_CONSTRAINT_POSITION
Determines whether Constraints in Packages should be moved in a more convenient Namespace owner.static java.lang.String
OPTION_FIX_ILLEGAL_LIFELINES
Determines whether Lifelines representing InterfaceRealization or Usage should instead represent a Port that Provided or Required those Interfaces.static java.lang.String
OPTION_FIX_ILLEGAL_TRANSITIONS
Determines whether the illegal Transitions should be fixed.static java.lang.String
OPTION_GRAPH_NODES_HIERARCHY
Determines whether the hierarchy of Graph Nodes should be created.static java.lang.String
OPTION_IMPROVE_CONNECTORS
Enable fixing connectors : - ConnectorEnds partWithPort from Diagram drawing.static java.lang.String
OPTION_IMPROVE_WAYPOINTS
Determines whether the waypoints coordinates have to be improved.static java.lang.String
OPTION_XMI_READ_DIAGRAM_ZOOM
Determines the zoom value to apply when reading Enterprise Architect.static java.lang.String
OPTION_XMI_READ_EXTENSIONS
Determines whether Enterprise Architect specific extensions in the XMI file must be parsed.static java.lang.String
OPTION_XMI_READ_EXTENSIONS_SUBSET
Determines whether Enterprise Architect specific extensions in the XMI file must be parsed.
Only listed properties will be extracted.static java.lang.String
OPTION_XMI_READ_PROFILES_STANDARDIZED
Determines whether Enterprise Architect profiles are replaced by the standard ones during reading.
-
-
-
Field Detail
-
OPTION_XMI_READ_EXTENSIONS
public static final java.lang.String OPTION_XMI_READ_EXTENSIONS
Determines whether Enterprise Architect specific extensions in the XMI file must be parsed. Default: false.- See Also:
- Constant Field Values
-
OPTION_XMI_READ_PROFILES_STANDARDIZED
public static final java.lang.String OPTION_XMI_READ_PROFILES_STANDARDIZED
Determines whether Enterprise Architect profiles are replaced by the standard ones during reading. The available standard profile is SysML 1.3.
If true, all native profiles detected at reading are replaced by the standard ones. The native Enterprise Architect SysML 1.3 is replaced by a reference to the standard OMG SysML 1.3 Profile. Default: true.- See Also:
- Constant Field Values
-
OPTION_XMI_READ_DIAGRAM_ZOOM
public static final java.lang.String OPTION_XMI_READ_DIAGRAM_ZOOM
Determines the zoom value to apply when reading Enterprise Architect. Default: 1.0f- See Also:
- Constant Field Values
-
OPTION_XMI_READ_EXTENSIONS_SUBSET
public static final java.lang.String OPTION_XMI_READ_EXTENSIONS_SUBSET
Determines whether Enterprise Architect specific extensions in the XMI file must be parsed.
Only listed properties will be extracted. Properties should be described by a qualifiedName category.propertyKey.
The value could be a Collection of String, or a String containing all qualified names separated by a comma.
Default: null.- See Also:
- Constant Field Values
-
OPTION_APP_XMI_VERSION
public static final java.lang.String OPTION_APP_XMI_VERSION
Determines the UML and XMI versions used when Enterprise Architect exports the temporary XMI file. Default:EA241
- See Also:
- Constant Field Values
-
OPTION_APP_XMI_FORMATTED
public static final java.lang.String OPTION_APP_XMI_FORMATTED
Determines whether the XMI temporary file is formatted. If false, the entire content is on one line only. Default: true- See Also:
- Constant Field Values
-
OPTION_APP_XMI_DTD
public static final java.lang.String OPTION_APP_XMI_DTD
Determines whether a DTD should be generated along the temporary XMI file.- See Also:
- Constant Field Values
-
OPTION_APP_DIAGRAM_XML_EXPORT
public static final java.lang.String OPTION_APP_DIAGRAM_XML_EXPORT
Determines the way the diagram information are exported. Default:EXPORT
- See Also:
- Constant Field Values
-
OPTION_APP_DIAGRAM_IMAGE_FORMAT
public static final java.lang.String OPTION_APP_DIAGRAM_IMAGE_FORMAT
Determines the format of diagram images to export. The OptionOPTION_APP_DIAGRAM_XML_EXPORT
must be set toEXPORT_ALONG_ALTERNATE_IMAGES
.- See Also:
- Constant Field Values
-
OPTION_APP_PACKAGE_SELECTION
public static final java.lang.String OPTION_APP_PACKAGE_SELECTION
Determines the package to read from or to write into. The value should be the GUID of the Package. Default: empty string- See Also:
- Constant Field Values
-
OPTION_GRAPH_NODES_HIERARCHY
public static final java.lang.String OPTION_GRAPH_NODES_HIERARCHY
Determines whether the hierarchy of Graph Nodes should be created. Default: true- See Also:
- Constant Field Values
-
OPTION_IMPROVE_WAYPOINTS
public static final java.lang.String OPTION_IMPROVE_WAYPOINTS
Determines whether the waypoints coordinates have to be improved. Default: false- See Also:
- Constant Field Values
-
OPTION_IMPROVE_CONNECTORS
public static final java.lang.String OPTION_IMPROVE_CONNECTORS
Enable fixing connectors : - ConnectorEnds partWithPort from Diagram drawing. - Connector not contained in good owner. Default: true- See Also:
- Constant Field Values
-
OPTION_FIX_ILLEGAL_TRANSITIONS
public static final java.lang.String OPTION_FIX_ILLEGAL_TRANSITIONS
Determines whether the illegal Transitions should be fixed. Default: true- See Also:
- Constant Field Values
-
OPTION_FIX_CONSTRAINT_POSITION
public static final java.lang.String OPTION_FIX_CONSTRAINT_POSITION
Determines whether Constraints in Packages should be moved in a more convenient Namespace owner. Default: true- See Also:
- Constant Field Values
-
OPTION_FIX_ILLEGAL_LIFELINES
public static final java.lang.String OPTION_FIX_ILLEGAL_LIFELINES
Determines whether Lifelines representing InterfaceRealization or Usage should instead represent a Port that Provided or Required those Interfaces. Default: true- See Also:
- Constant Field Values
-
-