Package com.nomagic.magicdraw.ui
Class DiagramWindow
- java.lang.Object
 - 
- com.nomagic.magicdraw.ui.editorwindows.EditorWindow
 - 
- com.nomagic.magicdraw.ui.DiagramWindow
 
 
 
- 
- All Implemented Interfaces:
 com.jidesoft.document.DocumentComponentListener,com.nomagic.magicdraw.ui.Activatable,DiagramPresentationElementGetter,com.nomagic.ui.CursorOwner,HiDPIScalableComponent,java.awt.event.FocusListener,java.awt.event.WindowListener,java.util.EventListener
@OpenApi public class DiagramWindow extends com.nomagic.magicdraw.ui.editorwindows.EditorWindow implements DiagramPresentationElementGetter
This class is base class for diagram specific windows. 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AbstractDiagramPresentationElementgetAbstractDiagramPresentationElement()Returns the diagram of this window.DiagramPresentationElementgetDiagramPresentationElement()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, renameDocumentComponent, requestFocus, setHiDPIScaled, setLocation, setMoveListener, windowClosing 
 - 
 
 - 
 
- 
- 
Method Detail
- 
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:
 getDiagramPresentationElementin 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
 
 
 - 
 
 -