Java Doc for EventManager.java in  » IDE-Netbeans » uml » org » netbeans » modules » uml » integration » ide » events » 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.integration.ide.events 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.uml.integration.ide.events.EventManager

EventManager
public class EventManager (Code)
The EventManages manages the communication between an IDE integration and Describe. The event mangaer is a singleton. Therefore, all communication to and from Describe can only occur in one direction at a time. If the EventManager is handling a RoundTrip event any attemp to communciate with Describe will be ignored.
In order to initiate communication with Describe a GDSymbolTransaction must first be created. Once a transaction has been initated communciation may begin. When Methods and Members are being changed GDMemberTransaction and GDMethodTransactions must be created. Revision History No. Date Who What --- ---- --- ---- 1 2002-05-27 Darshan Removed call to set attribute native. 2 2002-06-12 Darshan Uncommented call to setIsAbstract().
See Also:   GDSymbolTransaction
See Also:   GDMethodTransaction
See Also:   GDMemberTransaction
See Also:   EventManager.beginClassTransaction(ClassInfo info,IGDSystem system)
See Also:   EventManager.beginMethodTransaction(GDSymbolTransaction trans,ConstructorInfo method)
See Also:   EventManager.beginMemberTransaction(GDSymbolTransaction trans,MemberInfo member)

Inner Class :public class GDProRTEvents


Constructor Summary
protected  EventManager()
     Constructor a EventManager object.

Method Summary
public  voidaddInterface(SymbolTransaction state, String pName, String name)
     Issue a command to Describe add an interface implementation to a class symbol.
final protected synchronized  voidblockTransactions(boolean turnOn)
     When GDPro issues round trip events and we update the IDE we do not want to execute event back to GDPro.
public  voidconnectGDPro()
     Initializes the event processor to be used to communicate with Descibe.
public  voiddeleteClass(SymbolTransaction state)
     Issue a command to Describe to delete a class symbol.
public  voiddeleteMethod(MethodTransaction state)
     Issue a command to Describe to delete a method from a class symbol.
public  voiddisconnectGDPro()
     Disconnects the communication from the integrated environment to Describe.
public static  IAttributeChangeFacilitygetAttributeFacility()
    
public  EventFiltergetEventFilter()
    
public static synchronized  EventManagergetEventManager()
     The singleton implementation used to retrieve an instance of the EventManager.
protected  EventProcessorgetGDProProcessor()
     Retrieves the Event Process that is used to communicate to Describe.
public static  IMethodChangeFacilitygetMethodFacility()
    
final protected synchronized  booleanisBlocked()
    
public static synchronized  booleanisRoundTripActive()
    
public  voidremoveInterface(SymbolTransaction state, String pName, String name)
     Issue a command to Describe remvoe an interface implementation from a class symbol.
public  voidsetAsEnumeration(SymbolTransaction state, boolean isEnumeration)
     Issue a command to Describe make a class symbol an interface.
public  voidsetAsInterface(SymbolTransaction state, boolean isInterface)
     Issue a command to Describe make a class symbol an interface.
public  voidsetExceptions(MethodTransaction state, String[] value)
     Issue a command to Describe add a collection of exceptions to a class symbol.
public static synchronized  voidsetRoundTripActive(boolean active)
    
public  voidupdateClassModifers(SymbolTransaction state, int value)
     Issue a command to Describe update the modifiers of a class symbols.
public  voidupdateMemberModifers(MemberTransaction state, int value)
     Issue a command to Describe update the modifiers of a class's data member.
public  voidupdateMemberType(MemberTransaction state, String fullName, String sourceName)
     Issue a command to Describe update type of a data membere.
public  voidupdateMethodModifers(MethodTransaction state, int value)
     Issue a command to Describe update the modifiers of a class's method.
public  voidupdateMethodType(MethodTransaction state, String type)
     Issue a command to Describe update return type of a method.
public  voidupdatePackage(SymbolTransaction state, String value)
     Issue a command to Describe update the package that contains the class symbol.


Constructor Detail
EventManager
protected EventManager()(Code)
Constructor a EventManager object. Upon creation the round trip connection is establish with Describe.




Method Detail
addInterface
public void addInterface(SymbolTransaction state, String pName, String name)(Code)
Issue a command to Describe add an interface implementation to a class symbol.
Parameters:
  state - The transaction to act upon.
Parameters:
  pName - The name of the package that contains the interface.
Parameters:
  name - The name of the interface.



blockTransactions
final protected synchronized void blockTransactions(boolean turnOn)(Code)
When GDPro issues round trip events and we update the IDE we do not want to execute event back to GDPro. To pervent this from occuring I will set a flag to prevent events from firing. This is like the batch trigger flag in GDPro.
Parameters:
  turnOn - True if the events are blocked.



connectGDPro
public void connectGDPro()(Code)
Initializes the event processor to be used to communicate with Descibe.



deleteClass
public void deleteClass(SymbolTransaction state)(Code)
Issue a command to Describe to delete a class symbol.
Parameters:
  state - The transaction to act upon.



deleteMethod
public void deleteMethod(MethodTransaction state)(Code)
Issue a command to Describe to delete a method from a class symbol.
Parameters:
  state - The transaction to act upon.



disconnectGDPro
public void disconnectGDPro()(Code)
Disconnects the communication from the integrated environment to Describe. After calling this routine communication to Describe will be broken.



getAttributeFacility
public static IAttributeChangeFacility getAttributeFacility()(Code)



getEventFilter
public EventFilter getEventFilter()(Code)



getEventManager
public static synchronized EventManager getEventManager()(Code)
The singleton implementation used to retrieve an instance of the EventManager. A event manager instance.



getGDProProcessor
protected EventProcessor getGDProProcessor()(Code)
Retrieves the Event Process that is used to communicate to Describe. New event processor can be created to communicate with different processes or different Describe methodologies. The event process to use when communicating with Describe, or nullif the event proesses has not been initialized.



getMethodFacility
public static IMethodChangeFacility getMethodFacility()(Code)



isBlocked
final protected synchronized boolean isBlocked()(Code)



isRoundTripActive
public static synchronized boolean isRoundTripActive()(Code)



removeInterface
public void removeInterface(SymbolTransaction state, String pName, String name)(Code)
Issue a command to Describe remvoe an interface implementation from a class symbol.
Parameters:
  state - The transaction to act upon.
Parameters:
  pName - The name of the package that contains the interface.
Parameters:
  name - The name of the interface.



setAsEnumeration
public void setAsEnumeration(SymbolTransaction state, boolean isEnumeration)(Code)
Issue a command to Describe make a class symbol an interface.
Parameters:
  state - The transaction to act upon.
Parameters:
  isInterface - if true then the class is an inteface otherwise it is a class.



setAsInterface
public void setAsInterface(SymbolTransaction state, boolean isInterface)(Code)
Issue a command to Describe make a class symbol an interface.
Parameters:
  state - The transaction to act upon.
Parameters:
  isInterface - if true then the class is an inteface otherwise it is a class.



setExceptions
public void setExceptions(MethodTransaction state, String[] value)(Code)
Issue a command to Describe add a collection of exceptions to a class symbol.
Parameters:
  state - The transaction to act upon.
Parameters:
  value - The exceptions to add.



setRoundTripActive
public static synchronized void setRoundTripActive(boolean active)(Code)



updateClassModifers
public void updateClassModifers(SymbolTransaction state, int value)(Code)
Issue a command to Describe update the modifiers of a class symbols.
Parameters:
  state - The transaction to act upon.
Parameters:
  value - The java modifiers that have been changed.



updateMemberModifers
public void updateMemberModifers(MemberTransaction state, int value)(Code)
Issue a command to Describe update the modifiers of a class's data member.
Parameters:
  state - The transaction to act upon.
Parameters:
  value - The java modifiers that have been changed.



updateMemberType
public void updateMemberType(MemberTransaction state, String fullName, String sourceName)(Code)
Issue a command to Describe update type of a data membere.
Parameters:
  state - The transaction to act upon.
Parameters:
  value - The type.



updateMethodModifers
public void updateMethodModifers(MethodTransaction state, int value)(Code)
Issue a command to Describe update the modifiers of a class's method.
Parameters:
  state - The transaction to act upon.
Parameters:
  value - The java modifiers that have been changed.



updateMethodType
public void updateMethodType(MethodTransaction state, String type)(Code)
Issue a command to Describe update return type of a method.
Parameters:
  state - The transaction to act upon.
Parameters:
  value - The return type.



updatePackage
public void updatePackage(SymbolTransaction state, String value)(Code)
Issue a command to Describe update the package that contains the class symbol.
Parameters:
  state - The transaction to act upon.
Parameters:
  value - The name of the pacakge.



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.