Package com.nomagic.magicdraw.diff
Interface DiagramData
-
@OpenApi public interface DiagramDataInformation used to create new diagram presentation element with all inner elements.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.awt.ColorgetBackground()Returns background color of the diagram.java.lang.StringgetCreatedBy()java.lang.StringgetCreationDate()java.lang.StringgetDiagramElementID()ID of diagram element.java.lang.StringgetDiagramName()Returns diagram name of the diagram.java.lang.StringgetDiagramPresentationElementID()Returns diagram presentation element's ID.java.lang.StringgetDiagramQualifiedName()java.lang.StringgetDiagramType()Diagram typejava.lang.StringgetLabel()Returns representation text of the diagram.java.lang.StringgetModificationDate()java.lang.StringgetModifiedBy()java.lang.StringgetPreviewPath()java.lang.StringgetProjectFileName()Returns project file name.java.lang.StringgetRealDiagramElementID()java.util.Map<java.lang.String,SymbolData>getSymbolData()java.lang.StringgetUMLDiagramType()UML diagramTypedefault booleanisProxyElement()booleanisSymbolDiagram()
-
-
-
Method Detail
-
getDiagramPresentationElementID
@OpenApi java.lang.String getDiagramPresentationElementID()
Returns diagram presentation element's ID.- Returns:
- presentation element id.
-
getDiagramElementID
@OpenApi java.lang.String getDiagramElementID()
ID of diagram element.- Returns:
- diagram element id.
-
getDiagramType
@OpenApi java.lang.String getDiagramType()
Diagram type- Returns:
- diagram type
-
getUMLDiagramType
@OpenApi java.lang.String getUMLDiagramType()
UML diagramType- Returns:
- uml diagram type.
-
getPreviewPath
java.lang.String getPreviewPath()
- Returns:
- absolute path to exported diagram image (png format). Can be null if export could not be done.
-
getProjectFileName
java.lang.String getProjectFileName()
Returns project file name.- Returns:
- project file name.
-
getDiagramName
@OpenApi java.lang.String getDiagramName()
Returns diagram name of the diagram.- Returns:
- diagram name.
-
getBackground
java.awt.Color getBackground()
Returns background color of the diagram.- Returns:
- background color.
-
getSymbolData
@OpenApi java.util.Map<java.lang.String,SymbolData> getSymbolData()
-
getLabel
java.lang.String getLabel()
Returns representation text of the diagram.- Returns:
- representation text
-
isSymbolDiagram
boolean isSymbolDiagram()
- Returns:
truewhen current diagram is symbol diagram (symbols can be drawn in it), otherwise -false
-
getRealDiagramElementID
java.lang.String getRealDiagramElementID()
- Returns:
- real diagram's element id
-
getDiagramQualifiedName
java.lang.String getDiagramQualifiedName()
- Returns:
- qualified name of the diagram
-
getModifiedBy
java.lang.String getModifiedBy()
- Returns:
- modified by
-
getModificationDate
java.lang.String getModificationDate()
- Returns:
- modification date
-
getCreatedBy
java.lang.String getCreatedBy()
- Returns:
- created by
-
getCreationDate
java.lang.String getCreationDate()
- Returns:
- creation date
-
isProxyElement
default boolean isProxyElement()
- Returns:
- is diagram proxy element
-
-