Method Summary |
|
public void | addAssociatedDiagram(String sDiagramXMIID) |
public void | addAssociatedDiagram2(IProxyDiagram pDiagram) |
public void | addAssociatedElement(String sTopLevelElementXMIID, String sModelElementXMIID) |
public void | addAssociatedElement2(IElement pElement) |
public void | centerPresentationElement(IPresentationElement pPresentationElement, boolean bSelectIt, boolean bDeselectAllOthers) Centers the drawing area on the presentation element. |
public void | centerPresentationElement2(String sXMIID, boolean bSelectIt, boolean bDeselectAllOthers) Centers the drawing area on the presentation element. |
public void | clearClipboard() |
public void | copy() |
public void | cut() |
public void | delayedLayoutStyle(int nLayoutStyle, boolean bIgnoreContainment) |
public void | deleteSelected(boolean bAskUser) |
public IETPoint | deviceToLogicalPoint(IETPoint ptDevice) Transforms a point from device coordinates to logical coordinates. |
public IETPoint | deviceToLogicalPoint(int x, int y) Transforms a point from device coordinates to logical coordinates. |
public IETRect | deviceToLogicalRect(IETRect rcDevice) Transforms a rect from device coordinates to logical coordinates. |
public void | enterMode(int nDrawingToolKind) |
public void | enterModeFromButton(String sButtonID) Puts the drawing area into a specific mode based on the sButtonID. |
public void | executeStackingCommand(int nStackingCommand) Execute this stacking command. |
public IPresentationElement | findPresentationElement(String sXMLID) |
public void | fitInWindow() Fit the current diagram to the window. |
public String | getAlias() Get/Set the alias of this drawing. |
public ETList<IPresentationElement> | getAllByType(String bstrType) |
public ETList<IPresentationElement> | getAllItems() Returns a list of all the items. |
public ETList<IPresentationElement> | getAllItems2(IElement pModelElement) Returns a list of all the items that represent the IElement. |
public ETList<IElement> | getAllItems3() Returns a list of all the model elements on the diagram. |
public boolean | getAllowRedraw() |
public boolean | getAreTooltipsEnabled() |
public ETList<IProxyDiagram> | getAssociatedDiagrams() |
public ETList<IElement> | getAssociatedElements() |
public double | getCurrentZoom() What is the current zoom of the diagram. |
public int | getDiagramKind() Get/Set the type of this drawing. |
public String | getDiagramKind2() Get/Set the type of this drawing. |
public ETPairT<Double, Double> | getExtremeZoomValues() Get the extreme values for the zoom. |
public String | getFilename() |
public int | getGridSize() |
public int | getGridType() |
public boolean | getHasSelected(boolean bDeep) |
public boolean | getHasSelectedNodes(boolean bDeep) |
public boolean | getIsDirty() |
public boolean | getIsGraphPreferencesDialogOpen() Is the graph preferences window open. |
public boolean | getIsLayoutPropertiesDialogOpen() Is the layout properties window open. |
public boolean | getIsOverviewWindowOpen() Is the overview window open. |
public int | getLastSelectedButton() Used to set sticky buttons. |
public boolean | getLayoutRunning() Is the diagram currently undergoing layout. |
public int | getLayoutStyle() Set/Get the current layout style. |
public boolean | getModeLocked() Get/Set the locked state for the current mode. |
public String | getName() Get/Set the name of this drawing. |
public String | getNameWithAlias() Sets / Gets the name or alias of this element. |
public INamespace | getNamespace() |
public INamespace | getNamespaceForCreatedElements() Returns the the namespace to use when elements are created on the diagram. |
public Rectangle | getOverviewWindowRect(int pLeft, int pTop, int pWidth, int pHeight) Returns the window rect of the overview window, if it is open. |
public boolean | getPopulating() |
public String | getQualifiedName() Retrieves the fully qualified name of the element. |
public boolean | getReadOnly() |
public ICoreRelationshipDiscovery | getRelationshipDiscovery() |
public ETList<IPresentationElement> | getSelected() Returns a list of the selected items. |
public ETList<IPresentationElement> | getSelectedByType(String bstrType) Returns a list of the selected items that are of the indicated type (ie Class). |
public boolean | getShowGrid() |
public ITwoPhaseCommit | getTwoPhaseCommit() Returns the two phase commit object for the diagram. |
public Frame | getWindowHandle() Returns the HWND to the drawing area. |
public void | graphPreferencesDialog(boolean bShow) Show/Close the graph preferences window. |
public void | hasGraphObjects(boolean bHasObjects) |
public void | immediatelySetLayoutStyle(int nLayoutStyle, boolean bSilent) Immediately sets the layout style. |
public void | initializeNewDiagram(INamespace pNamespace, String sName, int pKind) Initialize a newly created diagram. |
public void | invertSelection() Inverts the selected objects. |
public boolean | isAssociatedDiagram(String sDiagramXMIID) |
public boolean | isAssociatedDiagram2(IProxyDiagram pDiagram) |
public boolean | isAssociatedElement(String sModelElementXMIID) |
public boolean | isAssociatedElement2(IElement pElement) |
public boolean | isSame(IDiagram pDiagram) |
public boolean | isStackingCommandAllowed(int nStackingCommand) Does the stacking command nStackingCommand make sense? Used for update of stacking order buttons. |
public void | itemsOnClipboard(boolean bItemsOnClipboard) |
public void | layoutPropertiesDialog(boolean bShow) Show/Close the layout property window. |
public int | load(String sFilename, boolean fitToZoom) Load this diagram from a .etl file. |
public void | loadPrintSetupDialog() |
public IETPoint | logicalToDevicePoint(IETPoint ptLogical) Transforms a point from logical coordinates to device coordinates. |
public IETRect | logicalToDeviceRect(IETRect rcLogical) Transforms a rect from logical coordinates to device coordinates. |
public void | onCustomZoom() Show the custom zoom dialog. |
public void | overviewWindow(boolean bShowIt) Show/Hide the overview window. |
public void | paste() |
public void | postDelayedAction(IDelayedAction pAction) Posts a delayed action to the diagram. |
public void | preClose() Allows the diagram to perform some cleanup before the diagram is actually
closed. |
public void | printGraph(boolean bShowDialog) |
public void | printPreview(String sTitle, boolean bCanMoveParent) |
public void | pumpMessages(boolean bJustDrawingMessages) |
public void | receiveBroadcast(IBroadcastAction pAction) Receives notification of a broadcast. |
public boolean | reconnectLink(IPresentationElement pLink, IPresentationElement pFromNode, IPresentationElement pToNode) Try to reconnect the link from pOldNode to pNewNode. |
public void | refresh(boolean bPostMessage) |
public void | removeAssociatedDiagram(String sDiagramXMIID) |
public void | removeAssociatedDiagram2(IProxyDiagram pDiagram) |
public void | removeAssociatedElement(String sTopLevelElementXMIID, String sModelElementXMIID) |
public void | removeAssociatedElement2(IElement pElement) |
public void | save() Saves the diagram. |
public void | saveAsGraphic(String sFilename, int nKind) Saves the diagram as a BMP, EMF or JPG file. |
public IGraphicExportDetails | saveAsGraphic2(String sFilename, int nKind) Saves the diagram as a BMP, EMF or JPG file. |
public IGraphicExportDetails | saveAsGraphic2(String sFilename, int nKind, double scale) |
public void | selectAll(boolean bSelect) |
public void | selectAllSimilar() |
public void | setAlias(String value) Get/Set the alias of this drawing. |
public void | setAllowRedraw(boolean allow) |
public void | setAutoUpdateBounds(boolean value) This method sets wheter the graph should be updated automatically or on
request. |
public void | setDiagramKind(int value) Get/Set the type of this drawing. |
public void | setDiagramKind2(String value) Get/Set the type of this drawing. |
public void | setEnableTooltips(boolean bEnable) Enable/Disable tooltips. |
public void | setFocus() Causes the diagram to take focus. |
public void | setGridSize(int value) |
public void | setGridType(int value) |
public void | setIsDirty(boolean value) |
public void | setLastSelectedButton(int value) Used to set sticky buttons. |
public void | setLayoutStyle(int value) Set/Get the current layout style. |
public void | setLayoutStyleSilently(int value) Set/Get the current layout style. |
public void | setModeLocked(boolean value) Get/Set the locked state for the current mode. |
public void | setName(String value) Get/Set the name of this drawing. |
public void | setNameWithAlias(String value) Sets / Gets the name or alias of this element. |
public void | setNamespace(INamespace value) |
public void | setOverviewWindowRect(int nLeft, int nTop, int nWidth, int nHeight) Sets the window rect of the overview window, if it is open. |
public void | setPopulating(boolean busy) |
public void | setReadOnly(boolean value) |
public void | setShowGrid(boolean value) |
public void | showImageDialog() Show/Close the image dialog.. |
public void | sizeToContents(boolean bJustSelectedElements) Resizes the elements (selected or all) to their contents. |
public void | syncElements(boolean bOnlySelectedElements) Sync the selected (or all) elements. |
public IDiagramValidationResult | validateDiagram(boolean bOnlySelectedElements, IDiagramValidation pDiagramValidation) Validates the diagram. |
public void | zoom(double nScaleFactor) Zoom the diagram. |
public void | zoomIn() Zoom in. |
public void | zoomOut() Zoom out. |