Java Doc for IDiagram.java in  » IDE-Netbeans » uml » org » netbeans » modules » uml » core » metamodel » diagrams » 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.core.metamodel.diagrams 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.modules.uml.core.metamodel.diagrams.IDiagram

All known Subclasses:   org.netbeans.modules.uml.core.metamodel.diagrams.Diagram,
IDiagram
public interface IDiagram extends IPresentationElement(Code)


Field Summary
final public static  intDK_ACTIVITY_DIAGRAM
    
final public static  intDK_ALL
    
final public static  intDK_CLASS_DIAGRAM
    
final public static  intDK_COLLABORATION_DIAGRAM
    
final public static  intDK_COMPONENT_DIAGRAM
    
final public static  intDK_DEPLOYMENT_DIAGRAM
    
final public static  intDK_DIAGRAM
    
final public static  intDK_SEQUENCE_DIAGRAM
    
final public static  intDK_STATE_DIAGRAM
    
final public static  intDK_UNKNOWN
    
final public static  intDK_USECASE_DIAGRAM
    


Method Summary
public  voidaddAssociatedDiagram(String sDiagramXMIID)
    
public  voidaddAssociatedDiagram2(IProxyDiagram pDiagram)
    
public  voidaddAssociatedElement(String sTopLevelElementXMIID, String sModelElementXMIID)
    
public  voidaddAssociatedElement2(IElement pElement)
    
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.
public  voidclearClipboard()
    
public  voidcopy()
    
public  voidcut()
    
public  voiddelayedLayoutStyle(int nLayoutStyle, boolean bIgnoreContainment)
    
public  voiddeleteSelected(boolean bAskUser)
    
public  IETPointdeviceToLogicalPoint(IETPoint ptDevice)
     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 rcDevice)
     Transforms a rect from device coordinates to logical coordinates.
public  voidenterMode(int nDrawingToolKind)
    
public  voidenterModeFromButton(String sButtonID)
     Puts the drawing area into a specific mode based on the sButtonID.
public  voidexecuteStackingCommand(int nStackingCommand)
     Execute this stacking command.
public  IPresentationElementfindPresentationElement(String sXMLID)
    
public  voidfitInWindow()
     Fit the current diagram to the window.
public  StringgetAlias()
     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  booleangetAllowRedraw()
    
public  booleangetAreTooltipsEnabled()
    
public  ETList<IProxyDiagram>getAssociatedDiagrams()
    
public  ETList<IElement>getAssociatedElements()
    
public  doublegetCurrentZoom()
     What is the current zoom of the diagram.
public  intgetDiagramKind()
     Get/Set the type of this drawing.
public  StringgetDiagramKind2()
     Get/Set the type of this drawing.
public  ETPairT<Double, Double>getExtremeZoomValues()
     Get the extreme values for the zoom.
public  StringgetFilename()
    
public  intgetGridSize()
    
public  intgetGridType()
    
public  booleangetHasSelected(boolean bDeep)
    
public  booleangetHasSelectedNodes(boolean bDeep)
    
public  booleangetIsDirty()
    
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  booleangetModeLocked()
     Get/Set the locked state for the current mode.
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  RectanglegetOverviewWindowRect(int pLeft, int pTop, int pWidth, int pHeight)
     Returns the window rect of the overview window, if it is open.
public  booleangetPopulating()
    
public  StringgetQualifiedName()
     Retrieves the fully qualified name of the element.
public  booleangetReadOnly()
    
public  ICoreRelationshipDiscoverygetRelationshipDiscovery()
    
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  booleangetShowGrid()
    
public  ITwoPhaseCommitgetTwoPhaseCommit()
     Returns the two phase commit object for the diagram.
public  FramegetWindowHandle()
     Returns the HWND to the drawing area.
public  voidgraphPreferencesDialog(boolean bShow)
     Show/Close the graph preferences window.
public  voidhasGraphObjects(boolean bHasObjects)
    
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  booleanisAssociatedDiagram(String sDiagramXMIID)
    
public  booleanisAssociatedDiagram2(IProxyDiagram pDiagram)
    
public  booleanisAssociatedElement(String sModelElementXMIID)
    
public  booleanisAssociatedElement2(IElement pElement)
    
public  booleanisSame(IDiagram pDiagram)
    
public  booleanisStackingCommandAllowed(int nStackingCommand)
     Does the stacking command nStackingCommand make sense? Used for update of stacking order buttons.
public  voiditemsOnClipboard(boolean bItemsOnClipboard)
    
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 ptLogical)
     Transforms a point from logical coordinates to device coordinates.
public  IETRectlogicalToDeviceRect(IETRect rcLogical)
     Transforms a rect from logical coordinates to device coordinates.
public  voidonCustomZoom()
     Show the custom zoom dialog.
public  voidoverviewWindow(boolean bShowIt)
     Show/Hide the overview window.
public  voidpaste()
    
public  voidpostDelayedAction(IDelayedAction pAction)
     Posts a delayed action to the diagram.
public  voidpreClose()
     Allows the diagram to perform some cleanup before the diagram is actually closed.
public  voidprintGraph(boolean bShowDialog)
    
public  voidprintPreview(String sTitle, boolean bCanMoveParent)
    
public  voidpumpMessages(boolean bJustDrawingMessages)
    
public  voidreceiveBroadcast(IBroadcastAction pAction)
     Receives notification of a broadcast.
public  booleanreconnectLink(IPresentationElement pLink, IPresentationElement pFromNode, IPresentationElement pToNode)
     Try to reconnect the link from pOldNode to pNewNode.
public  voidrefresh(boolean bPostMessage)
    
public  voidremoveAssociatedDiagram(String sDiagramXMIID)
    
public  voidremoveAssociatedDiagram2(IProxyDiagram pDiagram)
    
public  voidremoveAssociatedElement(String sTopLevelElementXMIID, String sModelElementXMIID)
    
public  voidremoveAssociatedElement2(IElement pElement)
    
public  voidsave()
     Saves the diagram.
public  voidsaveAsGraphic(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  voidsetAlias(String value)
     Get/Set the alias of this drawing.
public  voidsetAllowRedraw(boolean allow)
    
public  voidsetAutoUpdateBounds(boolean value)
     This method sets wheter the graph should be updated automatically or on request.
public  voidsetDiagramKind(int value)
     Get/Set the type of this drawing.
public  voidsetDiagramKind2(String value)
     Get/Set the type of this drawing.
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.
public  voidsetModeLocked(boolean value)
     Get/Set the locked state for the current mode.
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  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  voidsetShowGrid(boolean value)
    
public  voidshowImageDialog()
     Show/Close the image dialog..
public  voidsizeToContents(boolean bJustSelectedElements)
     Resizes the elements (selected or all) to their contents.
public  voidsyncElements(boolean bOnlySelectedElements)
     Sync the selected (or all) elements.
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
DK_ACTIVITY_DIAGRAM
final public static int DK_ACTIVITY_DIAGRAM(Code)



DK_ALL
final public static int DK_ALL(Code)



DK_CLASS_DIAGRAM
final public static int DK_CLASS_DIAGRAM(Code)



DK_COLLABORATION_DIAGRAM
final public static int DK_COLLABORATION_DIAGRAM(Code)



DK_COMPONENT_DIAGRAM
final public static int DK_COMPONENT_DIAGRAM(Code)



DK_DEPLOYMENT_DIAGRAM
final public static int DK_DEPLOYMENT_DIAGRAM(Code)



DK_DIAGRAM
final public static int DK_DIAGRAM(Code)



DK_SEQUENCE_DIAGRAM
final public static int DK_SEQUENCE_DIAGRAM(Code)



DK_STATE_DIAGRAM
final public static int DK_STATE_DIAGRAM(Code)



DK_UNKNOWN
final public static int DK_UNKNOWN(Code)



DK_USECASE_DIAGRAM
final public static int DK_USECASE_DIAGRAM(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



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.



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



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



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



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



deviceToLogicalPoint
public IETPoint deviceToLogicalPoint(IETPoint ptDevice)(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 rcDevice)(Code)
Transforms a rect from device coordinates to logical coordinates.



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.



executeStackingCommand
public void executeStackingCommand(int nStackingCommand)(Code)
Execute this stacking command.



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



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 bstrType)(Code)
Select all the objects on the diagram that are of the indicated type



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



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.



getAllowRedraw
public boolean getAllowRedraw()(Code)



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



getCurrentZoom
public double getCurrentZoom()(Code)
What is the current zoom of the 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.



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



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



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



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



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.



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



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



getOverviewWindowRect
public Rectangle getOverviewWindowRect(int pLeft, int pTop, int pWidth, int pHeight)(Code)
Returns the window rect of the overview window, if it is open.



getPopulating
public boolean getPopulating()(Code)



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



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



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



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



getTwoPhaseCommit
public ITwoPhaseCommit getTwoPhaseCommit()(Code)
Returns the two phase commit object for the diagram.



getWindowHandle
public Frame getWindowHandle()(Code)
Returns the HWND to the drawing area.



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



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



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.



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?



isSame
public boolean isSame(IDiagram pDiagram)(Code)
Is this diagram the same diagram as the one passed in?



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



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



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 ptLogical)(Code)
Transforms a point from logical coordinates to device coordinates.



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



onCustomZoom
public void onCustomZoom()(Code)
Show the custom zoom dialog.



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



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



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



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



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



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



pumpMessages
public void pumpMessages(boolean bJustDrawingMessages)(Code)
Processes all the diagram messages



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 pFromNode, IPresentationElement pToNode)(Code)
Try to reconnect the link from pOldNode to pNewNode.



refresh
public void refresh(boolean bPostMessage)(Code)
Invalidates 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



save
public void save()(Code)
Saves the diagram.



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



saveAsGraphic2
public IGraphicExportDetails saveAsGraphic2(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, double scale)(Code)



selectAll
public void selectAll(boolean bSelect)(Code)
Select all presentation elements



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



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



setAllowRedraw
public void setAllowRedraw(boolean allow)(Code)



setAutoUpdateBounds
public void setAutoUpdateBounds(boolean value)(Code)
This method sets wheter the graph should be updated automatically or on request.
Parameters:
  value - true if the boudns should update automatcially.



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.



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.



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



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



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?



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.



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



validateDiagram
public IDiagramValidationResult validateDiagram(boolean bOnlySelectedElements, IDiagramValidation pDiagramValidation)(Code)
Validates the diagram.



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.