Java Doc for ETBaseUI.java in  » IDE-Netbeans » uml » org » netbeans » modules » uml » ui » products » ad » viewfactory » 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.products.ad.viewfactory 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.uml.ui.products.ad.viewfactory.ETBaseUI

ETBaseUI
public class ETBaseUI (Code)

author:
   sumitabhk




Method Summary
public static  voidattach(IElement modEle, String initStr, IETGraphObjectUI ui)
     This routine is called when a node or edge needs to be attached to an existing model element. For example, during a drag and drop operation a model element could be dragged off of the project tree and dropped onto the drawing area.
public static  voidattachAndCreatePresentationElement(IElement pElem, String initStr, boolean bCreateEngine, IETGraphObjectUI ui)
     This routine is called when a node or edge needs to be attached to an existing model element. For example, during a drag and drop operation a model element could be dragged off of the project tree and dropped onto the drawing area.
public static  IElementcreate(INamespace pNamespace, String initStr, IETGraphObjectUI ui)
     This routine is called when a TSENodeView needs to be created from scratch.
public static  voidcreateDrawEngine(String initStr, IETGraphObjectUI ui)
    
public static  voidcreateDrawEngineOneTime(IETGraphObjectUI ui)
    
public static  IETRectgetDeviceBounds(TSTransform transform, IETGraphObjectUI ui)
    
public static  IETRectgetDeviceBounds(TSEGraphics graphics, IETGraphObjectUI ui)
    
public static  IETRectgetDeviceBounds(IETGraphObjectUI ui)
    
public static  IDrawInfogetDrawInfo(TSEGraphics graphics, IETGraphObjectUI ui)
    
public static  IDrawingAreaControlgetDrawingArea(IETGraphObjectUI ui)
    
public static  IDrawingAreaControlgetDrawingArea(TSEGraphWindow graphWindow)
    
public static  TSEGraphWindowgetGraphWindow(IETGraphObjectUI ui)
    
public static  IETRectgetLogicalBounds(IETGraphObjectUI ui)
    
public static  IETRectgetLogicalUIBounds(IETGraphObjectUI ui)
    
public static  StringgetMetaType(IETGraphObjectUI ui)
    
public static  voidinitializeEngine(IPresentationElement pElement, IETGraphObjectUI ui)
    
public static  booleanisLogicalRectOnScreen(TSEGraphWindow graphWindow, TSConstRect rect)
    
public static  booleanisLogicalRectOnScreen(TSEGraph graph, TSConstRect rect)
    
public static  booleanisLogicalRectOnScreen(TSEGraphics g, TSConstRect rect)
    
public static  booleanisOnTheScreen(TSEGraphics g, IETGraphObjectUI ui)
    
public static  booleanonCharTyped(char ch, IETGraphObjectUI ui)
    
public static  voidonContextMenu(IMenuManager manager, IETGraphObjectUI ui)
    
public static  voidonGraphEvent(int nKind, IETGraphObjectUI ui)
    
public static  booleanonKeyDown(int nKeyCode, int nShift, IETGraphObjectUI ui)
    
public static  voidonPostAddLink(IETGraphObject newLink, boolean isFromNode, IETGraphObjectUI ui)
     Called to notify the node that a link has been added.
public static  voidreadFromArchive(IProductArchive prodArch, IProductArchiveElement archEle, IETGraphObjectUI ui)
    
public static  voidreattach(IElement pElement, String sInitializationString, IETGraphObjectUI ui)
    
public static  voidresetDrawEngine(String sInitializationString, IETGraphObjectUI ui)
    
public static  voidsave(IProductArchive prodArch, IETGraphObjectUI ui)
    
public static  voidwriteToArchive(IProductArchive prodArch, IProductArchiveElement archEle, IETGraphObjectUI ui)
    



Method Detail
attach
public static void attach(IElement modEle, String initStr, IETGraphObjectUI ui)(Code)
This routine is called when a node or edge needs to be attached to an existing model element. For example, during a drag and drop operation a model element could be dragged off of the project tree and dropped onto the drawing area. The drawing area activeX control calls attach on the node so that the node can create a presentation element, attach the model element presentation element and then create the appropriate draw engine.
Parameters:
  pElement - [in] The element to attach to
Parameters:
  sInitializationString - [in] A string coming from the presentation types file telling us howto initialize



attachAndCreatePresentationElement
public static void attachAndCreatePresentationElement(IElement pElem, String initStr, boolean bCreateEngine, IETGraphObjectUI ui)(Code)
This routine is called when a node or edge needs to be attached to an existing model element. For example, during a drag and drop operation a model element could be dragged off of the project tree and dropped onto the drawing area. The drawing area activeX control calls attach on the node so that the node can create a presentation element, attach the model element presentation element and then create the appropriate draw engine. This version allows you to specify if the draw engine should be created. Right now you only specify false when reloading from a file because the .etld file is read in first and then the .etlp. We don't want the .etld file to create an engine only to destroy it when we re-created one based on the .etlp file.
Parameters:
  pElement - [in] The element to attach to
Parameters:
  sInitializationString - [in] A string coming from the presentation types file telling us howto initialize
Parameters:
  bCreateEngine - [in] true to create the draw engine.



create
public static IElement create(INamespace pNamespace, String initStr, IETGraphObjectUI ui)(Code)
This routine is called when a TSENodeView needs to be created from scratch. The user has dropped a TS node on the tree and we need to create the appropriate model element and presentation elements and tie them together. After all that is done look at the initialization string and create the correct engine.



createDrawEngine
public static void createDrawEngine(String initStr, IETGraphObjectUI ui)(Code)
Creates a drawing engine based on the initialization string
Parameters:
  szInitializationString - [in] The initialization string used to create the engine



createDrawEngineOneTime
public static void createDrawEngineOneTime(IETGraphObjectUI ui)(Code)



getDeviceBounds
public static IETRect getDeviceBounds(TSTransform transform, IETGraphObjectUI ui)(Code)



getDeviceBounds
public static IETRect getDeviceBounds(TSEGraphics graphics, IETGraphObjectUI ui)(Code)



getDeviceBounds
public static IETRect getDeviceBounds(IETGraphObjectUI ui)(Code)



getDrawInfo
public static IDrawInfo getDrawInfo(TSEGraphics graphics, IETGraphObjectUI ui)(Code)



getDrawingArea
public static IDrawingAreaControl getDrawingArea(IETGraphObjectUI ui)(Code)



getDrawingArea
public static IDrawingAreaControl getDrawingArea(TSEGraphWindow graphWindow)(Code)



getGraphWindow
public static TSEGraphWindow getGraphWindow(IETGraphObjectUI ui)(Code)



getLogicalBounds
public static IETRect getLogicalBounds(IETGraphObjectUI ui)(Code)



getLogicalUIBounds
public static IETRect getLogicalUIBounds(IETGraphObjectUI ui)(Code)



getMetaType
public static String getMetaType(IETGraphObjectUI ui)(Code)
Returns the type of model element to create based on the initialization string The metatype that should be created when this graph object is created.



initializeEngine
public static void initializeEngine(IPresentationElement pElement, IETGraphObjectUI ui)(Code)
Initializes the draw engine and resource user



isLogicalRectOnScreen
public static boolean isLogicalRectOnScreen(TSEGraphWindow graphWindow, TSConstRect rect)(Code)



isLogicalRectOnScreen
public static boolean isLogicalRectOnScreen(TSEGraph graph, TSConstRect rect)(Code)



isLogicalRectOnScreen
public static boolean isLogicalRectOnScreen(TSEGraphics g, TSConstRect rect)(Code)



isOnTheScreen
public static boolean isOnTheScreen(TSEGraphics g, IETGraphObjectUI ui)(Code)



onCharTyped
public static boolean onCharTyped(char ch, IETGraphObjectUI ui)(Code)



onContextMenu
public static void onContextMenu(IMenuManager manager, IETGraphObjectUI ui)(Code)



onGraphEvent
public static void onGraphEvent(int nKind, IETGraphObjectUI ui)(Code)



onKeyDown
public static boolean onKeyDown(int nKeyCode, int nShift, IETGraphObjectUI ui)(Code)



onPostAddLink
public static void onPostAddLink(IETGraphObject newLink, boolean isFromNode, IETGraphObjectUI ui)(Code)
Called to notify the node that a link has been added.
Parameters:
  pNewLink - [in] The link about to be added
Parameters:
  bIsFromNode - [in] true if this is the from node.



readFromArchive
public static void readFromArchive(IProductArchive prodArch, IProductArchiveElement archEle, IETGraphObjectUI ui)(Code)



reattach
public static void reattach(IElement pElement, String sInitializationString, IETGraphObjectUI ui)(Code)



resetDrawEngine
public static void resetDrawEngine(String sInitializationString, IETGraphObjectUI ui)(Code)



save
public static void save(IProductArchive prodArch, IETGraphObjectUI ui)(Code)



writeToArchive
public static void writeToArchive(IProductArchive prodArch, IProductArchiveElement archEle, IETGraphObjectUI ui)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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