Java Doc for IDrawingAreaControl.java in  » IDE-Netbeans » uml » org » netbeans » modules » uml » ui » swing » drawingarea » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » uml » org.netbeans.modules.uml.ui.swing.drawingarea 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.modules.uml.ui.swing.drawingarea.IDrawingAreaControl

All known Subclasses:   org.netbeans.modules.uml.ui.swing.drawingarea.ADDrawingAreaControl,
IDrawingAreaControl
public interface IDrawingAreaControl (Code)


Field Summary
public static  intSOK_MOVEBACKWARD
    
public static  intSOK_MOVEFORWARD
    
public static  intSOK_MOVETOBACK
    
public static  intSOK_MOVETOFRONT
    


Method Summary
public  voidaddAssociatedDiagram(String sDiagramXMIID)
    
public  voidaddAssociatedDiagram2(IProxyDiagram pDiagram)
    
public  voidaddAssociatedElement(String sTopLevelElementXMIID, String sModelElementXMIID)
    
public  voidaddAssociatedElement2(IElement pElement)
    
public  voidaddDrawingAreaToolSelectionSink(IDrawingAreaSelectStateEnteredSink drawingAreaSelectStateEnteredListener)
     Adds listener to listen when drawing area changes to 'select' state.
public  TSEdgeaddEdge(String edgeInitString, TSNode pSourceNode, TSNode pTargetNode, boolean bSelect, boolean bDeselectAllOthers)
     Adds an edge to the diagram.
public  TSEdgeaddEdge(String edgeInitString, TSNode pSourceNode, TSNode pTargetNode, boolean bSelect, boolean bDeselectAllOthers, IElement elementToAssignToEdge)
     Adds an edge to the diagram.
Parameters:
  edgeInitString - The initialization string for the edge.
Parameters:
  pSourceNode - The source for the edge.
Parameters:
  pTargetNode - The target for the edge.
Parameters:
  bSelect - Should we select this new graph object?
Parameters:
  bDeselectAllOthers - Should we deselect all other objects?
Parameters:
  pElementToAssignToEdge - The element to assign to the edge The created edge.
public  ETEdgeaddEdgeForType(String metaType, ETNode sourceNode, ETNode targetNode, boolean bSelected, boolean bDeselectAllOthers)
     Adds an edge to the diagram.
public  ETNodeaddNode(IElement element, IETPoint pt)
     Adds a node to the diagram.
Parameters:
  nodeInitString - The initialization string for the node.
Parameters:
  location - The center location for the node.
Parameters:
  bSelect - Should we select this new graph object?
Parameters:
  bDeselectAllOthers - Should we deselect all other objects?
Parameters:
  pElementToAssignToNode - The element to assign the node to The created node.
public  TSNodeaddNode(String nodeInitString, IETPoint location, boolean bSelect, boolean bDeselectAllOthers)
     Adds a node to the diagram.
public  TSNodeaddNode(String nodeInitString, IETPoint location, boolean bSelect, boolean bDeselectAllOthers, IElement pElementToAssignToNode)
     Adds a node to the diagram and assigns that node to the incoming IElement.
public  ETNodeaddNodeForType(String metaDataType, IETPoint location, boolean bSelect, boolean bDeselectAllOthers)
     Adds a node to the diagram.
public  voidaddPresentationElementToTrackBar(IPresentationElement pElement)
    
public  voidaddReadWriteItem(IETGraphObject pItem)
     Adds an item to the ETL read/write list.
public  booleanalignBottom()
     Align selected elements to the bottom position of the first selected element.
public  booleanalignHorizontalCenter()
     Align selected elements horizontally to the center position of the first selected element.
public  booleanalignLeft()
     Align selected elements to the left position of the first selected element.
public  booleanalignRight()
     Align selected elements to the right position of the first selected element.
public  booleanalignTop()
     Align selected elements to the top position of the first selected element.
public  booleanalignVerticalCenter()
     Align selected elements vertically to the cener position of the first selected element.
public  voidbeginEditContext(ICompartment pCompartment)
    
public  voidbeginOLEDrag(TSGraphObject graphObject)
     Begins dragging all selected elements on the graphObject, or all selected elements on all selected graphObjects if NULL.
public  voidcenterPresentationElement(IPresentationElement pPresentationElement, boolean bSelectIt, boolean bDeselectAllOthers)
     Centers the drawing area on the presentation element.
public  voidcenterPresentationElement2(String sXMIID, boolean bSelectIt, boolean bDeselectAllOthers)
     Centers the drawing area on the presentation element with this XMIID.
public  voidchangeEdgeDescription(String newVal)
     Changes the edge description without changing the current tool.
public  voidclearClipboard()
    
public  voidcopy()
    
public  voidcrossDiagramPaste(java.awt.Point location)
    
public  voidcut()
    
public  voiddelayedLayoutStyle(int nLayoutStyle, boolean bIgnoreContainment)
    
public  voiddeleteChildGraph(TSGraphObject pGraphObject)
    
public  voiddeleteSelected(boolean bAskUser)
    
public  IETPointdeviceToLogicalPoint(IETPoint pDevice)
     Transforms a point from device coordinates to logical coordinates.
public  IETPointdeviceToLogicalPoint(int x, int y)
     Transforms a point from device coordinates to logical coordinates.
public  IETRectdeviceToLogicalRect(IETRect pDevice)
     Transforms a rect from device coordinates to logical coordinates.
public  IETRectdeviceToLogicalRect(double left, double top, double width, double height)
     Transforms a rect from device coordinates to logical coordinates.
public  voidelementDeleted(INotificationTargets pTargets)
     Alerts the nodes attached to this model element of changes.
public  voidelementModified(INotificationTargets pTargets)
     Alerts the nodes attached to this model element of changes.
public  voidelementTransformed(IClassifier classifier)
     Alerts the nodes attached to this model element of the transformation.
public  voidendEditContext()
    
public  voidendOnDrawZoom()
     Tells the drawing area that on draw has ended.
public  voidenterMode(int nDrawingToolKind)
    
public  voidenterModeFromButton(String sButtonID)
     Puts the drawing area into a specific mode based on the sButtonID.
public  voidexecuteRelationshipDiscovery()
     Executes the Relationship Disovery Command.
public  voidexecuteStackingCommand(int pStackingCommand, boolean pRedraw)
     Execute this stacking command.
public  voidexecuteStackingCommand(IPresentationElement pPresentationElement, int pStackingCommand, boolean pRedraw)
     Execute this stacking command on just this object.
public  voidexecuteStackingCommand(ETList<IPresentationElement> pPresentationElements, int pStackingCommand, boolean pRedraw)
     Execute this stacking command on this list of objects.
public  IPresentationElementfindPresentationElement(String sXMLID)
    
public  voidfireDrawingAreaContextMenuSelected(IProductContextMenu contextMenu, IProductContextMenuItem selectedItem)
     Fires an event out the interface saying that a context menu button has been selected.
public  voidfireSelectEvent(TSGraphObject pGraphObject)
     This method just fires the selection notification it doesn't change the state of the graph object.
public  voidfireSelectEvent(List pSelectedGraphObjs)
    
public  voidfireTooltipEvent(IPresentationElement pPE, IToolTipData pTooltip)
     Let folks know that tooltips are about to be displayed.
public  voidfireUnselectEvent(TSGraphObject pGraphObject)
     This method just fires the deslection notification it doesn't change the state of the graph object.
public  voidfitInWindow()
     Fit the current diagram to the window.
public  StringgetAlias()
     Get/Set the alias of this drawing.
public  ETList<IPresentationElement>getAllByType(String sType)
    
public  ETList<IPresentationElement>getAllEdgesViaRect(IETRect pRect, boolean bTouchingRect)
     Returns all the edge presentation elements contained in or touching the input rectangle.
public  ETList<IPresentationElement>getAllElementsByDrawEngineType(String sType)
    
public  ETList<IElement>getAllElementsByType(String sType)
    
public  ETList<TSObject>getAllGraphObjects()
     Returns all the graph objects.
public  ETList<IPresentationElement>getAllItems()
     Returns a list of all the items.
public  ETList<IPresentationElement>getAllItems(String topLevelId, String meid)
    
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  ETList<IETGraphObject>getAllItems4()
     Returns a list of all the product elements on the diagram.
public  ETList<IETLabel>getAllItems5()
     Returns a list of all the product labels on the diagram.
public  ETList<IETGraphObject>getAllItems6()
     Returns a list of all the product graph objects on the diagram.
public  ETList<IPresentationElement>getAllNodeItems(IElement pModelElement)
     Returns a list of all the node presentation elements that represent the IElement.
public  ETList<IPresentationElement>getAllNodesViaRect(IETRect pRect, boolean bTouchingRect)
     Returns all the node presentation elements contained in or touching the input rectangle.
public  booleangetAreTooltipsEnabled()
    
public  ETList<IProxyDiagram>getAssociatedDiagrams()
    
public  ETList<IElement>getAssociatedElements()
    
public  TSEGraphgetCurrentGraph()
     Returns the current graph.
public  TSGraphManagergetCurrentGraphManager()
     Returns the current graph manager.
public  doublegetCurrentZoom()
     What is the current zoom of the diagram.
public  IDiagramgetDiagram()
    
public  IDiagramEnginegetDiagramEngine()
    
public  intgetDiagramKind()
     Get/Set the type of this drawing.
public  StringgetDiagramKind2()
     Get/Set the type of this drawing.
public  intgetDiagramWindowHandle()
     Returns the HWND to the drawing area.
public  StringgetDocumentation()
     Sets / Gets the documentation for this diagram.
public  IDrawingAreaEventDispatchergetDrawingAreaDispatcher()
    
public  StringgetEdgeDescription()
     Set the view description for edges.
public  ETPairT<Double, Double>getExtremeZoomValues()
     Get the extreme values for the zoom.
public  StringgetFilename()
    
public  TSGraphObjectgetGraphObjectAtMouse(int logicalX, int logicalY)
    
public  ADGraphWindowgetGraphWindow()
    
public  intgetGridSize()
    
public  intgetGridType()
    
public  booleangetHasChildGraph(TSNode pNode)
    
public  booleangetHasParentGraph()
    
public  booleangetHasSelected(boolean bDeep)
    
public  booleangetHasSelectedEdges(boolean bDeep)
    
public  booleangetHasSelectedLabels(boolean bDeep)
    
public  booleangetHasSelectedNodes(boolean bDeep)
    
public  booleangetIsDirty()
    
public  booleangetIsDisplayed(IElement pModelElement)
     Returns true if the model element is displayed in the diagram.
public  booleangetIsGraphPreferencesDialogOpen()
     Is the graph preferences window open.
public  booleangetIsLayoutPropertiesDialogOpen()
     Is the layout properties window open.
public  booleangetIsOverviewWindowOpen()
     Is the overview window open.
public  intgetLastSelectedButton()
     Used to set sticky buttons.
public  booleangetLayoutRunning()
     Is the diagram currently undergoing layout.
public  intgetLayoutStyle()
     Set/Get the current layout style.
public  IETPointgetMidPoint(TSEdge pEdge)
     Gets the mid point of the edge.
public  booleangetModeLocked()
     Get/Set the locked state for the current mode.
public  IElementgetModelElement()
    
public  StringgetName()
     Get/Set the name of this drawing.
public  StringgetNameWithAlias()
     Sets / Gets the name or alias of this element.
public  INamespacegetNamespace()
    
public  INamespacegetNamespaceForCreatedElements()
     Returns the the namespace to use when elements are created on the diagram.
public  StringgetNodeDescription()
     Set the view description.
public  IETRectgetOverviewWindowRect()
     Returns the window rect of the overview window, if it is open.
public  FramegetOwnerFrame()
    
public  booleangetPopulating()
    
public  StringgetPreferenceValue(String sPath, String sName)
     The drawing area can cache up preferences.
public  IPresentationTypesMgrgetPresentationTypesMgr()
    
public  IProductArchivegetProductArchive()
    
public  IProjectgetProject()
    
public  IProxyDiagramgetProxyDiagram()
    
public  StringgetQualifiedName()
     Retrieves the fully qualified name of the element.
public  booleangetReadOnly()
    
public  ICoreRelationshipDiscoverygetRelationshipDiscovery()
    
public  ADDrawingAreaResourceBundlegetResources()
    
public  ETList<IPresentationElement>getSelected()
     Returns a list of the selected items.
public  ETList<IETGraphObject>getSelected2()
     Returns a list of the selected items (nodes and edges).
public  ETList<IETGraphObject>getSelected3()
     Returns a list of the selected items (nodes, edges and labels).
public  ETList<IElement>getSelected4()
     Returns a list of the selected items as IETElements.
public  ETList<IPresentationElement>getSelectedByType(String sType)
     Returns a list of the selected items that are of the indicated type (ie Class).
public  ETList<IETLabel>getSelectedLabels()
     Returns a list of the selected labels.
public  StringgetSelectedPaletteButton()
    
public  booleangetShowGrid()
    
public  JToolBargetToolbar()
    
public  ObjectgetTrackBar()
    
public  intgetWindowHandle()
     Returns the HWND to the GET.
public  voidgoToChildGraph(TSNode pNode)
    
public  voidgoToParentGraph()
    
public  voidgraphPreferencesDialog(boolean bShow)
     Show/Close the graph preferences window.
public  voidhandleDeepSyncBroadcast(IElement[] pElements, boolean bSizeToContents)
    
public  booleanhandleKeyDown(int nKeyCode, int nShift, boolean bAskUserAboutDelete)
     Handles keystrokes, including VK_DELETE which does deletions from the GET.
public  booleanhasChildren(IPresentationElement pPE, boolean bHidden)
    
public  longhasEdges(boolean bHasEdges)
    
public  longhasGraphObjects(boolean bHasObjects)
    
public  longhasLabels(boolean bHasLabels)
    
public  longhasNodes(boolean bHasNodes)
    
public  booleanhasParents(IPresentationElement pPE, boolean bHidden)
    
public  voidhide(IPresentationElement pPE, int numLevels, boolean bChildren)
     Hide 'num' number of children levels for the input node.
public  voidimmediatelySetLayoutStyle(int nLayoutStyle, boolean bSilent)
     Immediately sets the layout style.
public  voidinitializeNewDiagram(INamespace pNamespace, String sName, int pKind)
     Initialize a newly created diagram.
public  voidinvertSelection()
     Inverts the selected objects.
public  booleanisAllowedOnDiagram(IElement pElement)
    
public  booleanisAssociatedDiagram(String sDiagramXMIID)
    
public  booleanisAssociatedDiagram2(IProxyDiagram pDiagram)
    
public  booleanisAssociatedElement(String sModelElementXMIID)
    
public  booleanisAssociatedElement2(IElement pElement)
    
public  booleanisAutoFitInWindow()
    
public  booleanisFocused()
     Returns true if the diagram is the focus owner; false otherwise.
public  booleanisSame(IDiagram pDiagram)
    
public  booleanisStackingCommandAllowed(int pStackingCommand)
     Does the stacking command nStackingCommand make sense? Used for update of stacking order buttons.
public  booleanitemsOnClipboard()
    
public  voidkillTooltip()
     Kills the tooltip if it happens to be up.
public  voidlayoutPropertiesDialog(boolean bShow)
     Show/Close the layout property window.
public  intload(String sFilename, boolean fitToZoom)
     Load this diagram from a .etl file.
public  voidloadPrintSetupDialog()
    
public  IETPointlogicalToDevicePoint(IETPoint pLogical)
     Transforms a point from logical coordinates to device coordinates.
public  IETPointlogicalToDevicePoint(double x, double y)
     Transforms a point from logical coordinates to device coordinates.
public  IETRectlogicalToDeviceRect(IETRect pLogical)
     Transforms a rect from logical coordinates to device coordinates.
public  IETRectlogicalToDeviceRect(double left, double top, double right, double bottom)
     Transforms a rect from logical coordinates to device coordinates.
public  voidonCustomZoom()
    
public  voidonDrop(DropTargetDropEvent event, TSEObject graphObject)
    
public  voidonGraphEvent(int pGraphEventKind, IETPoint pStartPoint, IETPoint pEndPoint, ETList<IETGraphObject> affectedObjects)
    
public  voidonInteractiveObjCreated(TSEObjectUI ui)
    
public  voidonMoveBackward()
    
public  voidonMoveForward()
    
public  voidonMoveToBack()
    
public  voidonMoveToFront()
    
public  voidoverviewWindow(boolean bShowIt)
     Show/Hide the overview window.
public  voidpaste()
    
public  voidpostAddObject(ITSGraphObject graphObj, boolean resize)
    
public  voidpostDelayedAction(IDelayedAction pAction)
     Posts a delayed action to the diagram.
public  voidpostDeletePresentationElement(IPresentationElement pPE)
     Posts a message to delete this IPresentationElement.
public  voidpostDeletePresentationElement(TSGraphObject pGraphObject)
     Posts a message to delete this graph object.
public  voidpostEditLabel(ILabelPresentation pPE)
    
public  voidpostInvalidate(IPresentationElement pPresentationElement)
    
public  voidpostSelectEvent()
    
public  voidpostSimpleDelayedAction(int nKind)
    
public  voidpostSimplePresentationDelayedAction(IPresentationElement pPE, int nKind)
    
public  voidpostSimplePresentationDelayedAction(ETList<IPresentationElement> pPEs, int nKind)
    
public  voidpreClose()
     Allows the drawing area control to perform some cleanup before the diagram is actually closed.
public  booleanpreferencesChanged(IPropertyElement[] pProperties)
     One or more drawing preferences has been changed, update the diagram with the new preference values.
public  voidprintGraph(boolean bShowDialog)
    
public  voidprintPreview(String sTitle, boolean bCanMoveParent)
    
public  IElementprocessOnDropElement(IElement pElementBeingDropped)
    
public  voidpumpMessages(boolean bJustDrawingMessages)
    
public  voidquestionUserAboutNameCollision(ICompartment pCompartmentBeingEdited, INamedElement pElement, String sProposedName, ETList<INamedElement> pCollidingElements, IResultCell pCell)
    
public  voidreceiveBroadcast(IBroadcastAction pAction)
     Receives notification of a broadcast.
public  booleanreconnectLink(IPresentationElement pLink, IPresentationElement pOldNode, IPresentationElement pNewNode)
     Try to reconnect the link from pOldNode to pNewNode.
public  voidrefresh(boolean bPostMessage)
    
public  voidrefreshRect(IETRect pRefreshRect)
    
public  voidremoveAssociatedDiagram(String sDiagramXMIID)
    
public  voidremoveAssociatedDiagram2(IProxyDiagram pDiagram)
    
public  voidremoveAssociatedElement(String sTopLevelElementXMIID, String sModelElementXMIID)
    
public  voidremoveAssociatedElement2(IElement pElement)
    
public  voidremoveElements(ETList<IPresentationElement> pItemsToRemove)
     Removes these presentation elements.
public  voidresetDrawEngine(IETGraphObject pETElement, String sNewInitString)
     Tells the product element to reinitialize the draw engine based on the init string.
public  voidresetDrawEngine2(IETGraphObject pETElement)
     Tells the product element to reinitialize the draw engine.
public  booleanresizeDimensions()
     Resizes elements with custom dimensions.
public  voidsave()
     Save this diagram.
public  booleansaveAsGraphic(String sFilename, int nKind)
     Saves the diagram as a BMP, EMF or JPG file.
public  IGraphicExportDetailssaveAsGraphic2(String sFilename, int nKind)
     Saves the diagram as a BMP, EMF or JPG file.
public  IGraphicExportDetailssaveAsGraphic2(String sFilename, int nKind, double scale)
    
public  voidselectAll(boolean bSelect)
    
public  voidselectAllSimilar()
    
public  voidselectAndFireEvents(TSGraphObject pGraphObject, boolean bSelect, boolean bDeselectAllOthers)
     Selects the graph object and fires the events.
public  voidsetAlias(String value)
     Get/Set the alias of this drawing.
public  voidsetDiagramKind(int value)
     Get/Set the type of this drawing.
public  voidsetDiagramKind2(String value)
     Get/Set the type of this drawing.
public  voidsetDocumentation(String value)
     Sets / Gets the documentation for this diagram.
public  voidsetEdgeDescription(String value)
     Set the view description for edges.
public  voidsetEditCompartment(ETCompartment editCtrl)
    
public  voidsetEnableTooltips(boolean bEnable)
     Enable/Disable tooltips.
public  voidsetFocus()
     Causes the diagram to take focus.
public  voidsetGridSize(int value)
    
public  voidsetGridType(int value)
    
public  voidsetIsDirty(boolean value)
    
public  voidsetLastSelectedButton(int value)
     Used to set sticky buttons.
public  voidsetLayoutStyle(int value)
     Set/Get the current layout style.
public  voidsetLayoutStyleSilently(int value)
     Set/Get the current layout style - this one does the layout without asking the user if its ok.
public  voidsetModeLocked(boolean value)
     Get/Set the locked state for the current mode.
public  voidsetModelElement(IElement value)
    
public  voidsetName(String value)
     Get/Set the name of this drawing.
public  voidsetNameWithAlias(String value)
     Sets / Gets the name or alias of this element.
public  voidsetNamespace(INamespace value)
    
public  voidsetNodeDescription(String value)
     Set the view description.
public  voidsetOnDrawZoom(double nOnDrawZoom)
     During draw the edges/links override the zoom - this happens during print preview and the overview window.
public  voidsetOverviewWindowRect(int nLeft, int nTop, int nWidth, int nHeight)
     Sets the window rect of the overview window, if it is open.
public  voidsetPopulating(boolean busy)
    
public  voidsetReadOnly(boolean value)
    
public  voidsetSelectedPaletteButton(String buttonId)
    
public  voidsetShowDefaultToolbar(boolean bShow)
    
public  voidsetShowGrid(boolean value)
    
public  voidshowImageDialog()
     Show/Close the image dialog..
public  voidsizeToContents(boolean bJustSelectedElements)
     Resizes the elements (selected or all) to their contents.
public  voidsizeToContentsWithTrackBar(IPresentationElement pElement)
    
public  ETList<IPresentationElement>sortNodesLeftToRight(ETList<IPresentationElement> pUnsortedList)
     Sorts the nodes left to right.
public  voidswitchToDefaultState()
    
public  voidsyncElements(boolean bOnlySelectedElements)
     Sync the selected (or all) elements.
public  voidtransform(IETGraphObject pETElement, String sToElement)
     Transforms the IETElement.
public  voidunfoldNode(TSNode pCurrentNode)
    
public  voidunhide(IPresentationElement pPE, int numLevels, boolean bChildren)
     Unhide 'num' number of parent levels for the input node.
public  voidupdateSecondaryWindows()
    
public  IDiagramValidationResultvalidateDiagram(boolean bOnlySelectedElements, IDiagramValidation pDiagramValidation)
     Validates the diagram.
public  voidzoom(double nScaleFactor)
     Zoom the diagram.
public  voidzoomIn()
     Zoom in.
public  voidzoomOut()
     Zoom out.

Field Detail
SOK_MOVEBACKWARD
public static int SOK_MOVEBACKWARD(Code)



SOK_MOVEFORWARD
public static int SOK_MOVEFORWARD(Code)



SOK_MOVETOBACK
public static int SOK_MOVETOBACK(Code)



SOK_MOVETOFRONT
public static int SOK_MOVETOFRONT(Code)





Method Detail
addAssociatedDiagram
public void addAssociatedDiagram(String sDiagramXMIID)(Code)
Adds an associated diagram



addAssociatedDiagram2
public void addAssociatedDiagram2(IProxyDiagram pDiagram)(Code)
Adds an associated diagram



addAssociatedElement
public void addAssociatedElement(String sTopLevelElementXMIID, String sModelElementXMIID)(Code)
Adds an associated model element



addAssociatedElement2
public void addAssociatedElement2(IElement pElement)(Code)
Adds an associated model element



addDrawingAreaToolSelectionSink
public void addDrawingAreaToolSelectionSink(IDrawingAreaSelectStateEnteredSink drawingAreaSelectStateEnteredListener)(Code)
Adds listener to listen when drawing area changes to 'select' state.



addEdge
public TSEdge addEdge(String edgeInitString, TSNode pSourceNode, TSNode pTargetNode, boolean bSelect, boolean bDeselectAllOthers) throws ETException(Code)
Adds an edge to the diagram.



addEdge
public TSEdge addEdge(String edgeInitString, TSNode pSourceNode, TSNode pTargetNode, boolean bSelect, boolean bDeselectAllOthers, IElement elementToAssignToEdge) throws ETException(Code)
Adds an edge to the diagram.
Parameters:
  edgeInitString - The initialization string for the edge.
Parameters:
  pSourceNode - The source for the edge.
Parameters:
  pTargetNode - The target for the edge.
Parameters:
  bSelect - Should we select this new graph object?
Parameters:
  bDeselectAllOthers - Should we deselect all other objects?
Parameters:
  pElementToAssignToEdge - The element to assign to the edge The created edge. null if no edge is created.



addEdgeForType
public ETEdge addEdgeForType(String metaType, ETNode sourceNode, ETNode targetNode, boolean bSelected, boolean bDeselectAllOthers) throws ETException(Code)
Adds an edge to the diagram. The type of the edge is specified by the metatype name.
Parameters:
  metaType - The type of node to create.
Parameters:
  sourceNode - The node that starts the edge.
Parameters:
  targetNode - The node that ends the edge.
Parameters:
  bSelect - true if the diagram is to be selected.
Parameters:
  bDeselectAllOthers - true if all selected nodes are tobe deselected. The new node.



addNode
public ETNode addNode(IElement element, IETPoint pt) throws ETException(Code)
Adds a node to the diagram.
Parameters:
  nodeInitString - The initialization string for the node.
Parameters:
  location - The center location for the node.
Parameters:
  bSelect - Should we select this new graph object?
Parameters:
  bDeselectAllOthers - Should we deselect all other objects?
Parameters:
  pElementToAssignToNode - The element to assign the node to The created node. NULL if no node is created.



addNode
public TSNode addNode(String nodeInitString, IETPoint location, boolean bSelect, boolean bDeselectAllOthers) throws ETException(Code)
Adds a node to the diagram.



addNode
public TSNode addNode(String nodeInitString, IETPoint location, boolean bSelect, boolean bDeselectAllOthers, IElement pElementToAssignToNode) throws ETException(Code)
Adds a node to the diagram and assigns that node to the incoming IElement.



addNodeForType
public ETNode addNodeForType(String metaDataType, IETPoint location, boolean bSelect, boolean bDeselectAllOthers) throws ETException(Code)
Adds a node to the diagram. The type of the node is specified by the metatype name.
Parameters:
  metaDataType - The type of node to create.
Parameters:
  location - The location of the new node.
Parameters:
  bSelect - true if the diagram is to be selected.
Parameters:
  bDeselectAllOthers - true if all selected nodes are tobe deselected. The new node.



addPresentationElementToTrackBar
public void addPresentationElementToTrackBar(IPresentationElement pElement)(Code)
Adds a presentation element to the track bar



addReadWriteItem
public void addReadWriteItem(IETGraphObject pItem)(Code)
Adds an item to the ETL read/write list.



alignBottom
public boolean alignBottom()(Code)
Align selected elements to the bottom position of the first selected element.



alignHorizontalCenter
public boolean alignHorizontalCenter()(Code)
Align selected elements horizontally to the center position of the first selected element.



alignLeft
public boolean alignLeft()(Code)
Align selected elements to the left position of the first selected element.



alignRight
public boolean alignRight()(Code)
Align selected elements to the right position of the first selected element.



alignTop
public boolean alignTop()(Code)
Align selected elements to the top position of the first selected element.



alignVerticalCenter
public boolean alignVerticalCenter()(Code)
Align selected elements vertically to the cener position of the first selected element.



beginEditContext
public void beginEditContext(ICompartment pCompartment)(Code)
Begin edit context



beginOLEDrag
public void beginOLEDrag(TSGraphObject graphObject)(Code)
Begins dragging all selected elements on the graphObject, or all selected elements on all selected graphObjects if NULL.



centerPresentationElement
public void centerPresentationElement(IPresentationElement pPresentationElement, boolean bSelectIt, boolean bDeselectAllOthers)(Code)
Centers the drawing area on the presentation element.



centerPresentationElement2
public void centerPresentationElement2(String sXMIID, boolean bSelectIt, boolean bDeselectAllOthers)(Code)
Centers the drawing area on the presentation element with this XMIID.



changeEdgeDescription
public void changeEdgeDescription(String newVal)(Code)
Changes the edge description without changing the current tool.



clearClipboard
public void clearClipboard()(Code)
Clears the clipboard of selected objects



copy
public void copy()(Code)
Copy the selected objects



crossDiagramPaste
public void crossDiagramPaste(java.awt.Point location)(Code)
Do a cross diagram paste



cut
public void cut()(Code)
Cut the selected objects



delayedLayoutStyle
public void delayedLayoutStyle(int nLayoutStyle, boolean bIgnoreContainment)(Code)
Use a delayed action to perform the layout style, possibly ignoring containment



deleteChildGraph
public void deleteChildGraph(TSGraphObject pGraphObject)(Code)
Go to the child graph



deleteSelected
public void deleteSelected(boolean bAskUser)(Code)
Deletes the selected objects



deviceToLogicalPoint
public IETPoint deviceToLogicalPoint(IETPoint pDevice)(Code)
Transforms a point from device coordinates to logical coordinates.



deviceToLogicalPoint
public IETPoint deviceToLogicalPoint(int x, int y)(Code)
Transforms a point from device coordinates to logical coordinates.



deviceToLogicalRect
public IETRect deviceToLogicalRect(IETRect pDevice)(Code)
Transforms a rect from device coordinates to logical coordinates.



deviceToLogicalRect
public IETRect deviceToLogicalRect(double left, double top, double width, double height)(Code)
Transforms a rect from device coordinates to logical coordinates.



elementDeleted
public void elementDeleted(INotificationTargets pTargets)(Code)
Alerts the nodes attached to this model element of changes.



elementModified
public void elementModified(INotificationTargets pTargets)(Code)
Alerts the nodes attached to this model element of changes.



elementTransformed
public void elementTransformed(IClassifier classifier)(Code)
Alerts the nodes attached to this model element of the transformation.



endEditContext
public void endEditContext()(Code)
End edit context



endOnDrawZoom
public void endOnDrawZoom()(Code)
Tells the drawing area that on draw has ended.



enterMode
public void enterMode(int nDrawingToolKind)(Code)
Puts the drawing area into a certain mouse mode



enterModeFromButton
public void enterModeFromButton(String sButtonID)(Code)
Puts the drawing area into a specific mode based on the sButtonID. sButtonID is a key in the PresentationTypes.etc file.



executeRelationshipDiscovery
public void executeRelationshipDiscovery()(Code)
Executes the Relationship Disovery Command.



executeStackingCommand
public void executeStackingCommand(int pStackingCommand, boolean pRedraw)(Code)
Execute this stacking command.



executeStackingCommand
public void executeStackingCommand(IPresentationElement pPresentationElement, int pStackingCommand, boolean pRedraw)(Code)
Execute this stacking command on just this object.



executeStackingCommand
public void executeStackingCommand(ETList<IPresentationElement> pPresentationElements, int pStackingCommand, boolean pRedraw)(Code)
Execute this stacking command on this list of objects.



findPresentationElement
public IPresentationElement findPresentationElement(String sXMLID)(Code)
Returns the presentation element on the drawing area control with the specified xml id



fireDrawingAreaContextMenuSelected
public void fireDrawingAreaContextMenuSelected(IProductContextMenu contextMenu, IProductContextMenuItem selectedItem)(Code)
Fires an event out the interface saying that a context menu button has been selected.



fireSelectEvent
public void fireSelectEvent(TSGraphObject pGraphObject)(Code)
This method just fires the selection notification it doesn't change the state of the graph object.



fireSelectEvent
public void fireSelectEvent(List pSelectedGraphObjs)(Code)



fireTooltipEvent
public void fireTooltipEvent(IPresentationElement pPE, IToolTipData pTooltip)(Code)
Let folks know that tooltips are about to be displayed.



fireUnselectEvent
public void fireUnselectEvent(TSGraphObject pGraphObject)(Code)
This method just fires the deslection notification it doesn't change the state of the graph object.



fitInWindow
public void fitInWindow()(Code)
Fit the current diagram to the window.



getAlias
public String getAlias()(Code)
Get/Set the alias of this drawing.



getAllByType
public ETList<IPresentationElement> getAllByType(String sType)(Code)
Select all the objects on the diagram that are of the indicated type (ie Class)



getAllEdgesViaRect
public ETList<IPresentationElement> getAllEdgesViaRect(IETRect pRect, boolean bTouchingRect)(Code)
Returns all the edge presentation elements contained in or touching the input rectangle.



getAllElementsByDrawEngineType
public ETList<IPresentationElement> getAllElementsByDrawEngineType(String sType)(Code)
Select all the objects on the diagram that are of the indicated draw engine type (ie ClassDrawEngine)



getAllElementsByType
public ETList<IElement> getAllElementsByType(String sType)(Code)
Select all the objects on the diagram that are of the indicated type (ie Class)



getAllGraphObjects
public ETList<TSObject> getAllGraphObjects()(Code)
Returns all the graph objects.



getAllItems
public ETList<IPresentationElement> getAllItems()(Code)
Returns a list of all the items.



getAllItems
public ETList<IPresentationElement> getAllItems(String topLevelId, String meid)(Code)



getAllItems2
public ETList<IPresentationElement> getAllItems2(IElement pModelElement)(Code)
Returns a list of all the items that represent the IElement.



getAllItems3
public ETList<IElement> getAllItems3()(Code)
Returns a list of all the model elements on the diagram.



getAllItems4
public ETList<IETGraphObject> getAllItems4()(Code)
Returns a list of all the product elements on the diagram.



getAllItems5
public ETList<IETLabel> getAllItems5()(Code)
Returns a list of all the product labels on the diagram.



getAllItems6
public ETList<IETGraphObject> getAllItems6()(Code)
Returns a list of all the product graph objects on the diagram.



getAllNodeItems
public ETList<IPresentationElement> getAllNodeItems(IElement pModelElement)(Code)
Returns a list of all the node presentation elements that represent the IElement.



getAllNodesViaRect
public ETList<IPresentationElement> getAllNodesViaRect(IETRect pRect, boolean bTouchingRect)(Code)
Returns all the node presentation elements contained in or touching the input rectangle.



getAreTooltipsEnabled
public boolean getAreTooltipsEnabled()(Code)
Are the tooltips enabled?



getAssociatedDiagrams
public ETList<IProxyDiagram> getAssociatedDiagrams()(Code)
Returns the associated diagrams



getAssociatedElements
public ETList<IElement> getAssociatedElements()(Code)
Returns the associated model elements



getCurrentGraph
public TSEGraph getCurrentGraph()(Code)
Returns the current graph.



getCurrentGraphManager
public TSGraphManager getCurrentGraphManager()(Code)
Returns the current graph manager.



getCurrentZoom
public double getCurrentZoom()(Code)
What is the current zoom of the diagram.



getDiagram
public IDiagram getDiagram()(Code)
Returns the IDiagram that represents this ActiveX control



getDiagramEngine
public IDiagramEngine getDiagramEngine()(Code)
Returns the DiagramEngine that controls this diagram



getDiagramKind
public int getDiagramKind()(Code)
Get/Set the type of this drawing.



getDiagramKind2
public String getDiagramKind2()(Code)
Get/Set the type of this drawing.



getDiagramWindowHandle
public int getDiagramWindowHandle()(Code)
Returns the HWND to the drawing area.



getDocumentation
public String getDocumentation()(Code)
Sets / Gets the documentation for this diagram.



getDrawingAreaDispatcher
public IDrawingAreaEventDispatcher getDrawingAreaDispatcher()(Code)



getEdgeDescription
public String getEdgeDescription()(Code)
Set the view description for edges. This will determine the type of node that gets created.



getExtremeZoomValues
public ETPairT<Double, Double> getExtremeZoomValues()(Code)
Get the extreme values for the zoom.



getFilename
public String getFilename()(Code)
Get the filename that this view is saved to



getGraphObjectAtMouse
public TSGraphObject getGraphObjectAtMouse(int logicalX, int logicalY)(Code)
Get the current graph object at the mouse location



getGraphWindow
public ADGraphWindow getGraphWindow()(Code)



getGridSize
public int getGridSize()(Code)
Sets/Gets the current grid size



getGridType
public int getGridType()(Code)
Sets/Gets the type of grid this is being displayed



getHasChildGraph
public boolean getHasChildGraph(TSNode pNode)(Code)
Do we have a child graph?



getHasParentGraph
public boolean getHasParentGraph()(Code)
Do we have a parent graph?



getHasSelected
public boolean getHasSelected(boolean bDeep)(Code)
Does this diagram have selected nodes?



getHasSelectedEdges
public boolean getHasSelectedEdges(boolean bDeep)(Code)
Does this diagram have selected edges?



getHasSelectedLabels
public boolean getHasSelectedLabels(boolean bDeep)(Code)
Does this diagram have selected labels?



getHasSelectedNodes
public boolean getHasSelectedNodes(boolean bDeep)(Code)
Does this diagram have selected nodes?



getIsDirty
public boolean getIsDirty()(Code)
IsDirty is true when there is data that needs to be saved



getIsDisplayed
public boolean getIsDisplayed(IElement pModelElement)(Code)
Returns true if the model element is displayed in the diagram.



getIsGraphPreferencesDialogOpen
public boolean getIsGraphPreferencesDialogOpen()(Code)
Is the graph preferences window open.



getIsLayoutPropertiesDialogOpen
public boolean getIsLayoutPropertiesDialogOpen()(Code)
Is the layout properties window open.



getIsOverviewWindowOpen
public boolean getIsOverviewWindowOpen()(Code)
Is the overview window open.



getLastSelectedButton
public int getLastSelectedButton()(Code)
Used to set sticky buttons. The user of the diagram can set/get this to determine when to lock/unlock the current tool.



getLayoutRunning
public boolean getLayoutRunning()(Code)
Is the diagram currently undergoing layout.



getLayoutStyle
public int getLayoutStyle()(Code)
Set/Get the current layout style.



getMidPoint
public IETPoint getMidPoint(TSEdge pEdge)(Code)
Gets the mid point of the edge.



getModeLocked
public boolean getModeLocked()(Code)
Get/Set the locked state for the current mode.



getModelElement
public IElement getModelElement()(Code)
Sets the ModelElement member responsible for hooking up a newly created node/edge to the meta data



getName
public String getName()(Code)
Get/Set the name of this drawing.



getNameWithAlias
public String getNameWithAlias()(Code)
Sets / Gets the name or alias of this element.



getNamespace
public INamespace getNamespace()(Code)
Gets the drawing area namespace



getNamespaceForCreatedElements
public INamespace getNamespaceForCreatedElements()(Code)
Returns the the namespace to use when elements are created on the diagram. Usually this is the same as the namespace of the diagram



getNodeDescription
public String getNodeDescription()(Code)
Set the view description. This will determine the type of node that gets created.



getOverviewWindowRect
public IETRect getOverviewWindowRect()(Code)
Returns the window rect of the overview window, if it is open.



getOwnerFrame
public Frame getOwnerFrame()(Code)



getPopulating
public boolean getPopulating()(Code)



getPreferenceValue
public String getPreferenceValue(String sPath, String sName)(Code)
The drawing area can cache up preferences. Call this to get a cached value (fast) or hit the preference manager if not cached(slower).



getPresentationTypesMgr
public IPresentationTypesMgr getPresentationTypesMgr()(Code)
Returns the presentation types mgr



getProductArchive
public IProductArchive getProductArchive()(Code)



getProject
public IProject getProject()(Code)
Gets the drawing area toplevel project



getProxyDiagram
public IProxyDiagram getProxyDiagram()(Code)
Returns the IProxyDiagram that represents this ActiveX control



getQualifiedName
public String getQualifiedName()(Code)
Retrieves the fully qualified name of the element. This will be in the form 'A::B::C'.



getReadOnly
public boolean getReadOnly()(Code)
Is this diagram readonly?



getRelationshipDiscovery
public ICoreRelationshipDiscovery getRelationshipDiscovery()(Code)
Returns the relationship discovery object that's appropriate for this diagram



getResources
public ADDrawingAreaResourceBundle getResources()(Code)



getSelected
public ETList<IPresentationElement> getSelected()(Code)
Returns a list of the selected items.



getSelected2
public ETList<IETGraphObject> getSelected2()(Code)
Returns a list of the selected items (nodes and edges).



getSelected3
public ETList<IETGraphObject> getSelected3()(Code)
Returns a list of the selected items (nodes, edges and labels).



getSelected4
public ETList<IElement> getSelected4()(Code)
Returns a list of the selected items as IETElements.



getSelectedByType
public ETList<IPresentationElement> getSelectedByType(String sType)(Code)
Returns a list of the selected items that are of the indicated type (ie Class).



getSelectedLabels
public ETList<IETLabel> getSelectedLabels()(Code)
Returns a list of the selected labels.



getSelectedPaletteButton
public String getSelectedPaletteButton()(Code)



getShowGrid
public boolean getShowGrid()(Code)
Hide/Show the grid



getToolbar
public JToolBar getToolbar()(Code)



getTrackBar
public Object getTrackBar()(Code)
Returns the IAxTrackBar, if this diagram has one



getWindowHandle
public int getWindowHandle()(Code)
Returns the HWND to the GET.



goToChildGraph
public void goToChildGraph(TSNode pNode)(Code)
Go to the child graph



goToParentGraph
public void goToParentGraph()(Code)
Go to the parent graph



graphPreferencesDialog
public void graphPreferencesDialog(boolean bShow)(Code)
Show/Close the graph preferences window.



handleDeepSyncBroadcast
public void handleDeepSyncBroadcast(IElement[] pElements, boolean bSizeToContents)(Code)
Forces a deep sync on these elements



handleKeyDown
public boolean handleKeyDown(int nKeyCode, int nShift, boolean bAskUserAboutDelete)(Code)
Handles keystrokes, including VK_DELETE which does deletions from the GET.



hasChildren
public boolean hasChildren(IPresentationElement pPE, boolean bHidden)(Code)
Does this node have children?



hasEdges
public long hasEdges(boolean bHasEdges)(Code)
Does this graph have edges?



hasGraphObjects
public long hasGraphObjects(boolean bHasObjects)(Code)
Does this graph have edges, labels or nodes?



hasLabels
public long hasLabels(boolean bHasLabels)(Code)
Does this graph have labels?



hasNodes
public long hasNodes(boolean bHasNodes)(Code)
Does this graph have nodes?



hasParents
public boolean hasParents(IPresentationElement pPE, boolean bHidden)(Code)
Does this node have parents?



hide
public void hide(IPresentationElement pPE, int numLevels, boolean bChildren)(Code)
Hide 'num' number of children levels for the input node. If -1 then we ask the user.



immediatelySetLayoutStyle
public void immediatelySetLayoutStyle(int nLayoutStyle, boolean bSilent)(Code)
Immediately sets the layout style. It bypasses the delayed actions.



initializeNewDiagram
public void initializeNewDiagram(INamespace pNamespace, String sName, int pKind)(Code)
Initialize a newly created diagram. This adds the diagram to the current IWorkspace.



invertSelection
public void invertSelection()(Code)
Inverts the selected objects.



isAllowedOnDiagram
public boolean isAllowedOnDiagram(IElement pElement)(Code)
Is this element type allowed on this diagram?



isAssociatedDiagram
public boolean isAssociatedDiagram(String sDiagramXMIID)(Code)
Is this an associated diagram?



isAssociatedDiagram2
public boolean isAssociatedDiagram2(IProxyDiagram pDiagram)(Code)
Is this an associated diagram?



isAssociatedElement
public boolean isAssociatedElement(String sModelElementXMIID)(Code)
Is this an associated element?



isAssociatedElement2
public boolean isAssociatedElement2(IElement pElement)(Code)
Is this an associated element?



isAutoFitInWindow
public boolean isAutoFitInWindow()(Code)



isFocused
public boolean isFocused()(Code)
Returns true if the diagram is the focus owner; false otherwise.



isSame
public boolean isSame(IDiagram pDiagram)(Code)
Is this IDiagram representing this IAxDrawingAreaControl?



isStackingCommandAllowed
public boolean isStackingCommandAllowed(int pStackingCommand)(Code)
Does the stacking command nStackingCommand make sense? Used for update of stacking order buttons.



itemsOnClipboard
public boolean itemsOnClipboard()(Code)
Are there items on the clipbaord



killTooltip
public void killTooltip()(Code)
Kills the tooltip if it happens to be up. Used during the edit control.



layoutPropertiesDialog
public void layoutPropertiesDialog(boolean bShow)(Code)
Show/Close the layout property window.



load
public int load(String sFilename, boolean fitToZoom)(Code)
Load this diagram from a .etl file.



loadPrintSetupDialog
public void loadPrintSetupDialog()(Code)
Shows the print setup dialog



logicalToDevicePoint
public IETPoint logicalToDevicePoint(IETPoint pLogical)(Code)
Transforms a point from logical coordinates to device coordinates.



logicalToDevicePoint
public IETPoint logicalToDevicePoint(double x, double y)(Code)
Transforms a point from logical coordinates to device coordinates.



logicalToDeviceRect
public IETRect logicalToDeviceRect(IETRect pLogical)(Code)
Transforms a rect from logical coordinates to device coordinates.



logicalToDeviceRect
public IETRect logicalToDeviceRect(double left, double top, double right, double bottom)(Code)
Transforms a rect from logical coordinates to device coordinates.



onCustomZoom
public void onCustomZoom()(Code)
Bring up the custom zoom dialog



onDrop
public void onDrop(DropTargetDropEvent event, TSEObject graphObject)(Code)



onGraphEvent
public void onGraphEvent(int pGraphEventKind, IETPoint pStartPoint, IETPoint pEndPoint, ETList<IETGraphObject> affectedObjects)(Code)



onInteractiveObjCreated
public void onInteractiveObjCreated(TSEObjectUI ui)(Code)



onMoveBackward
public void onMoveBackward()(Code)



onMoveForward
public void onMoveForward()(Code)



onMoveToBack
public void onMoveToBack()(Code)



onMoveToFront
public void onMoveToFront()(Code)



overviewWindow
public void overviewWindow(boolean bShowIt)(Code)
Show/Hide the overview window.



paste
public void paste()(Code)
Paste the selected objects



postAddObject
public void postAddObject(ITSGraphObject graphObj, boolean resize)(Code)



postDelayedAction
public void postDelayedAction(IDelayedAction pAction)(Code)
Posts a delayed action to the diagram. Use when you may be in a dangerous callstack to perform the necessary action



postDeletePresentationElement
public void postDeletePresentationElement(IPresentationElement pPE)(Code)
Posts a message to delete this IPresentationElement.



postDeletePresentationElement
public void postDeletePresentationElement(TSGraphObject pGraphObject)(Code)
Posts a message to delete this graph object.



postEditLabel
public void postEditLabel(ILabelPresentation pPE)(Code)
Begins edit on a specific label



postInvalidate
public void postInvalidate(IPresentationElement pPresentationElement)(Code)
Posts an invalidate event on the drawing area



postSelectEvent
public void postSelectEvent()(Code)
Posts the select event



postSimpleDelayedAction
public void postSimpleDelayedAction(int nKind)(Code)
Posts a simple action type



postSimplePresentationDelayedAction
public void postSimplePresentationDelayedAction(IPresentationElement pPE, int nKind)(Code)
Posts a simple presentation action type



postSimplePresentationDelayedAction
public void postSimplePresentationDelayedAction(ETList<IPresentationElement> pPEs, int nKind)(Code)
Posts a simple presentation action type



preClose
public void preClose()(Code)
Allows the drawing area control to perform some cleanup before the diagram is actually closed.



preferencesChanged
public boolean preferencesChanged(IPropertyElement[] pProperties)(Code)
One or more drawing preferences has been changed, update the diagram with the new preference values.



printGraph
public void printGraph(boolean bShowDialog)(Code)
Prints this control



printPreview
public void printPreview(String sTitle, boolean bCanMoveParent)(Code)
Print preview this window



processOnDropElement
public IElement processOnDropElement(IElement pElementBeingDropped)(Code)
Allows the diagram engines the ability to change the element being dropped or created



pumpMessages
public void pumpMessages(boolean bJustDrawingMessages)(Code)
Begins edit on a specific label



questionUserAboutNameCollision
public void questionUserAboutNameCollision(ICompartment pCompartmentBeingEdited, INamedElement pElement, String sProposedName, ETList<INamedElement> pCollidingElements, IResultCell pCell)(Code)
Ask the user what to do about a name collision



receiveBroadcast
public void receiveBroadcast(IBroadcastAction pAction)(Code)
Receives notification of a broadcast. Used by the IProxyDiagramManager to broadcast functions to all open views.



reconnectLink
public boolean reconnectLink(IPresentationElement pLink, IPresentationElement pOldNode, IPresentationElement pNewNode)(Code)
Try to reconnect the link from pOldNode to pNewNode.



refresh
public void refresh(boolean bPostMessage)(Code)
Invalidates the drawing area



refreshRect
public void refreshRect(IETRect pRefreshRect)(Code)
Invalidates a portion of the drawing area



removeAssociatedDiagram
public void removeAssociatedDiagram(String sDiagramXMIID)(Code)
Removes an associated diagram



removeAssociatedDiagram2
public void removeAssociatedDiagram2(IProxyDiagram pDiagram)(Code)
Removes an associated diagram



removeAssociatedElement
public void removeAssociatedElement(String sTopLevelElementXMIID, String sModelElementXMIID)(Code)
Removes an associated model element



removeAssociatedElement2
public void removeAssociatedElement2(IElement pElement)(Code)
Removes an associated model element



removeElements
public void removeElements(ETList<IPresentationElement> pItemsToRemove)(Code)
Removes these presentation elements.



resetDrawEngine
public void resetDrawEngine(IETGraphObject pETElement, String sNewInitString)(Code)
Tells the product element to reinitialize the draw engine based on the init string. Used for IInterface going from lollypop to class.



resetDrawEngine2
public void resetDrawEngine2(IETGraphObject pETElement)(Code)
Tells the product element to reinitialize the draw engine. The init string is pulled from the presentationtypesmgr



resizeDimensions
public boolean resizeDimensions()(Code)
Resizes elements with custom dimensions.



save
public void save()(Code)
Save this diagram.



saveAsGraphic
public boolean saveAsGraphic(String sFilename, int nKind)(Code)
Saves the diagram as a BMP, EMF or JPG file. Use pMap to get the details of the graphic.



saveAsGraphic2
public IGraphicExportDetails saveAsGraphic2(String sFilename, int nKind)(Code)
Saves the diagram as a BMP, EMF or JPG file.



saveAsGraphic2
public IGraphicExportDetails saveAsGraphic2(String sFilename, int nKind, double scale)(Code)



selectAll
public void selectAll(boolean bSelect)(Code)
Select all nodes,labels and edges



selectAllSimilar
public void selectAllSimilar()(Code)
Select all similar presentation elements



selectAndFireEvents
public void selectAndFireEvents(TSGraphObject pGraphObject, boolean bSelect, boolean bDeselectAllOthers)(Code)
Selects the graph object and fires the events. Normal select routines don't fire the events.



setAlias
public void setAlias(String value)(Code)
Get/Set the alias of this drawing.



setDiagramKind
public void setDiagramKind(int value)(Code)
Get/Set the type of this drawing.



setDiagramKind2
public void setDiagramKind2(String value)(Code)
Get/Set the type of this drawing.



setDocumentation
public void setDocumentation(String value)(Code)
Sets / Gets the documentation for this diagram.



setEdgeDescription
public void setEdgeDescription(String value)(Code)
Set the view description for edges. This will determine the type of node that gets created.



setEditCompartment
public void setEditCompartment(ETCompartment editCtrl)(Code)



setEnableTooltips
public void setEnableTooltips(boolean bEnable)(Code)
Enable/Disable tooltips.



setFocus
public void setFocus()(Code)
Causes the diagram to take focus.



setGridSize
public void setGridSize(int value)(Code)
Sets/Gets the current grid size



setGridType
public void setGridType(int value)(Code)
Sets/Gets the type of grid this is being displayed



setIsDirty
public void setIsDirty(boolean value)(Code)
IsDirty is true when there is data that needs to be saved



setLastSelectedButton
public void setLastSelectedButton(int value)(Code)
Used to set sticky buttons. The user of the diagram can set/get this to determine when to lock/unlock the current tool.



setLayoutStyle
public void setLayoutStyle(int value)(Code)
Set/Get the current layout style.



setLayoutStyleSilently
public void setLayoutStyleSilently(int value)(Code)
Set/Get the current layout style - this one does the layout without asking the user if its ok.



setModeLocked
public void setModeLocked(boolean value)(Code)
Get/Set the locked state for the current mode.



setModelElement
public void setModelElement(IElement value)(Code)
Sets the ModelElement member responsible for hooking up a newly created node/edge to the meta data



setName
public void setName(String value)(Code)
Get/Set the name of this drawing.



setNameWithAlias
public void setNameWithAlias(String value)(Code)
Sets / Gets the name or alias of this element.



setNamespace
public void setNamespace(INamespace value)(Code)
Gets the drawing area namespace



setNodeDescription
public void setNodeDescription(String value)(Code)
Set the view description. This will determine the type of node that gets created.



setOnDrawZoom
public void setOnDrawZoom(double nOnDrawZoom)(Code)
During draw the edges/links override the zoom - this happens during print preview and the overview window.



setOverviewWindowRect
public void setOverviewWindowRect(int nLeft, int nTop, int nWidth, int nHeight)(Code)
Sets the window rect of the overview window, if it is open.



setPopulating
public void setPopulating(boolean busy)(Code)



setReadOnly
public void setReadOnly(boolean value)(Code)
Is this diagram readonly?



setSelectedPaletteButton
public void setSelectedPaletteButton(String buttonId)(Code)



setShowDefaultToolbar
public void setShowDefaultToolbar(boolean bShow)(Code)



setShowGrid
public void setShowGrid(boolean value)(Code)
Hide/Show the grid



showImageDialog
public void showImageDialog()(Code)
Show/Close the image dialog..



sizeToContents
public void sizeToContents(boolean bJustSelectedElements)(Code)
Resizes the elements (selected or all) to their contents.



sizeToContentsWithTrackBar
public void sizeToContentsWithTrackBar(IPresentationElement pElement)(Code)
Sizes the presentation element, and its track bar car



sortNodesLeftToRight
public ETList<IPresentationElement> sortNodesLeftToRight(ETList<IPresentationElement> pUnsortedList)(Code)
Sorts the nodes left to right. Edges are ignored.



switchToDefaultState
public void switchToDefaultState()(Code)



syncElements
public void syncElements(boolean bOnlySelectedElements)(Code)
Sync the selected (or all) elements.



transform
public void transform(IETGraphObject pETElement, String sToElement)(Code)
Transforms the IETElement. Use this call to post the event if you happen to be on the IETElement that is to be transformed.



unfoldNode
public void unfoldNode(TSNode pCurrentNode)(Code)
Unfolds the specified node



unhide
public void unhide(IPresentationElement pPE, int numLevels, boolean bChildren)(Code)
Unhide 'num' number of parent levels for the input node. If -1 then we ask the user.



updateSecondaryWindows
public void updateSecondaryWindows()(Code)



validateDiagram
public IDiagramValidationResult validateDiagram(boolean bOnlySelectedElements, IDiagramValidation pDiagramValidation)(Code)
Validates the diagram. If pDiagramValidation is null then a default will get created. pResult may also be null if no results are wanted.



zoom
public void zoom(double nScaleFactor)(Code)
Zoom the diagram.



zoomIn
public void zoomIn()(Code)
Zoom in.



zoomOut
public void zoomOut()(Code)
Zoom out.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.