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
Modifier and TypeMethodDescriptionReturns background color of the diagram.ID of diagram element.Returns diagram name of the diagram.Returns diagram presentation element's ID.Diagram typegetLabel()
Returns representation text of the diagram.Returns project file name.UML diagramTypedefault boolean
boolean
-
Method Details
-
getDiagramPresentationElementID
Returns diagram presentation element's ID.- Returns:
- presentation element id.
-
getDiagramElementID
ID of diagram element.- Returns:
- diagram element id.
-
getDiagramType
Diagram type- Returns:
- diagram type
-
getUMLDiagramType
UML diagramType- Returns:
- uml diagram type.
-
getPreviewPath
String getPreviewPath()- Returns:
- absolute path to exported diagram image (png format). Can be null if export could not be done.
-
getProjectFileName
String getProjectFileName()Returns project file name.- Returns:
- project file name.
-
getDiagramName
Returns diagram name of the diagram.- Returns:
- diagram name.
-
getBackground
Color getBackground()Returns background color of the diagram.- Returns:
- background color.
-
getSymbolData
-
getLabel
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
String getRealDiagramElementID()- Returns:
- real diagram's element id
-
getDiagramQualifiedName
String getDiagramQualifiedName()- Returns:
- qualified name of the diagram
-
getModifiedBy
String getModifiedBy()- Returns:
- modified by
-
getModificationDate
String getModificationDate()- Returns:
- modification date
-
getCreatedBy
String getCreatedBy()- Returns:
- created by
-
getCreationDate
String getCreationDate()- Returns:
- creation date
-
isProxyElement
default boolean isProxyElement()- Returns:
- is diagram proxy element
-