Package com.nomagic.magicdraw.diff
Interface DiagramData
-
@OpenApi public interface DiagramData
Information 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.Color
getBackground()
Returns background color of the diagram.java.lang.String
getCreatedBy()
java.lang.String
getCreationDate()
java.lang.String
getDiagramElementID()
ID of diagram element.java.lang.String
getDiagramName()
Returns diagram name of the diagram.java.lang.String
getDiagramPresentationElementID()
Returns diagram presentation element's ID.java.lang.String
getDiagramQualifiedName()
java.lang.String
getDiagramType()
Diagram typejava.lang.String
getLabel()
Returns representation text of the diagram.java.lang.String
getModificationDate()
java.lang.String
getModifiedBy()
java.lang.String
getPreviewPath()
java.lang.String
getProjectFileName()
Returns project file name.java.lang.String
getRealDiagramElementID()
java.util.Map<java.lang.String,SymbolData>
getSymbolData()
java.lang.String
getUMLDiagramType()
UML diagramTypedefault boolean
isProxyElement()
boolean
isSymbolDiagram()
-
-
-
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:
true
when 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
-
-