Package com.nomagic.magicdraw.ui
Class DiagramWindow
java.lang.Object
com.nomagic.magicdraw.ui.editorwindows.EditorWindow<AbstractDiagramPresentationElement>
com.nomagic.magicdraw.ui.DiagramWindow
- All Implemented Interfaces:
com.jidesoft.document.DocumentComponentListener
,com.nomagic.magicdraw.ui.Activatable
,DiagramPresentationElementGetter
,com.nomagic.ui.CursorOwner
,HiDPIScalableComponent
,FocusListener
,WindowListener
,EventListener
@OpenApi
public class DiagramWindow
extends com.nomagic.magicdraw.ui.editorwindows.EditorWindow<AbstractDiagramPresentationElement>
implements DiagramPresentationElementGetter
This class is base class for diagram specific windows.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the diagram of this window.Deprecated.Methods inherited from class com.nomagic.magicdraw.ui.editorwindows.EditorWindow
createToolbarsForAllWindows, documentComponentActivated, documentComponentClosed, documentComponentClosing, documentComponentDeactivated, documentComponentDocked, documentComponentFloated, documentComponentMoved, documentComponentMoving, documentComponentOpened, executeWithoutEventFiring, firePropertyChange, focusGained, focusLost, getDocument, getID, getLocation, getLocationOnScreen, isFloating, isHiDPIScaled, isWindowClosed, renameDocumentComponent, requestFocus, setHiDPIScaled, setLocation, setMoveListener, setWindowClosed, windowClosing
-
Method Details
-
getDiagramPresentationElement
@CheckForNull @OpenApi @Deprecated public DiagramPresentationElement getDiagramPresentationElement()Deprecated.Returns the diagram view of this window. This method returns the diagram view from DiagramWindowPanel.- Specified by:
getDiagramPresentationElement
in interfaceDiagramPresentationElementGetter
- Returns:
- current diagram view.
-
getAbstractDiagramPresentationElement
@OpenApi @CheckForNull public AbstractDiagramPresentationElement getAbstractDiagramPresentationElement()Returns the diagram of this window. This method returns the diagram from DiagramWindowPanel.- Returns:
- diagram
-
getAbstractDiagramPresentationElement()