Java Doc for EditorContext.java in  » Database-DBMS » db4o-6.4 » EDU » purdue » cs » bloat » editor » 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 » Database DBMS » db4o 6.4 » EDU.purdue.cs.bloat.editor 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


EDU.purdue.cs.bloat.editor.EditorContext

EditorContext
public interface EditorContext (Code)
An EditorContext supplies a means of loading and editing classes. Note that a number of these methods are identical to methods in Editor. It is expected that an EditorContext will have a different caching (of ClassEditors, etc.) policy than Editor does. Hence, the methods in EditorContext should be used to edit classes, etc.




Method Summary
public  voidcommit(ClassInfo info)
     Commits the changes made to a class.
public  voidcommit(MethodInfo info)
     Commits the changes made to a method.
public  voidcommit(FieldInfo info)
     Commits the changes made to a field.
public  voidcommit()
     Commits all changes made to classes, methods, and fields.
public  ClassEditoreditClass(String className)
     Returns a ClassEditor used to edit a class of a given name.
public  ClassEditoreditClass(Type classType)
     Returns a ClassEditor used to edit a class described by a given Type.
public  ClassEditoreditClass(ClassInfo info)
     Returns a ClassEditor used to edit a class described by a given ClassInfo.
public  FieldEditoreditField(FieldInfo info)
     Returns a FieldEditor for editing a FieldInfo.
public  FieldEditoreditField(MemberRef field)
     Returns a FieldEditor for editing a field.
public  MethodEditoreditMethod(MethodInfo info)
     Returns a MethodEditor for editing a method.
public  MethodEditoreditMethod(MemberRef method)
     Returns a MethodEditor for editing a method.
public  ClassHierarchygetHierarchy()
     Returns the ClassHierarchy of all classes and interfaces known to BLOAT.
public  ClassInfoloadClass(String className)
    
public  ClassEditornewClass(int modifiers, String className, Type superType, Type[] interfaces)
     Returns a ClassEditor for editing a new class with the given name.
public  ClassInfonewClassInfo(int modifiers, int classIndex, int superClassIndex, int[] interfaceIndexes, java.util.List constants)
    
public  voidrelease(MethodInfo info)
     Signals that we are done editing a method.
public  voidrelease(FieldInfo info)
     Signals that we are done editing a field.
public  voidrelease(ClassInfo info)
     Signals that we are done editing a class.



Method Detail
commit
public void commit(ClassInfo info)(Code)
Commits the changes made to a class.



commit
public void commit(MethodInfo info)(Code)
Commits the changes made to a method.



commit
public void commit(FieldInfo info)(Code)
Commits the changes made to a field.



commit
public void commit()(Code)
Commits all changes made to classes, methods, and fields.



editClass
public ClassEditor editClass(String className) throws ClassNotFoundException, ClassFormatException(Code)
Returns a ClassEditor used to edit a class of a given name.



editClass
public ClassEditor editClass(Type classType) throws ClassNotFoundException, ClassFormatException(Code)
Returns a ClassEditor used to edit a class described by a given Type.



editClass
public ClassEditor editClass(ClassInfo info)(Code)
Returns a ClassEditor used to edit a class described by a given ClassInfo.



editField
public FieldEditor editField(FieldInfo info)(Code)
Returns a FieldEditor for editing a FieldInfo.



editField
public FieldEditor editField(MemberRef field) throws NoSuchFieldException(Code)
Returns a FieldEditor for editing a field.



editMethod
public MethodEditor editMethod(MethodInfo info)(Code)
Returns a MethodEditor for editing a method.



editMethod
public MethodEditor editMethod(MemberRef method) throws NoSuchMethodException(Code)
Returns a MethodEditor for editing a method.



getHierarchy
public ClassHierarchy getHierarchy()(Code)
Returns the ClassHierarchy of all classes and interfaces known to BLOAT.



loadClass
public ClassInfo loadClass(String className) throws ClassNotFoundException(Code)
Loads a class into BLOAT



newClass
public ClassEditor newClass(int modifiers, String className, Type superType, Type[] interfaces)(Code)
Returns a ClassEditor for editing a new class with the given name. It will override any class with the given name that is already being edited.



newClassInfo
public ClassInfo newClassInfo(int modifiers, int classIndex, int superClassIndex, int[] interfaceIndexes, java.util.List constants)(Code)
Creates a new ClassInfo
Parameters:
  modifiers - The modifiers describing the newly-created class
Parameters:
  classIndex - The index of the name of the newly-created class in itsconstant pool
Parameters:
  superClassIndex - The index of the name of the newly-created class's superclassin its constant pool
Parameters:
  interfaceIndexes - The indexes of the names of the interfaces that thenewly-created class implements
Parameters:
  constants - The constant pool for the newly created class (a list ofConstants).



release
public void release(MethodInfo info)(Code)
Signals that we are done editing a method. The object used to model it may be reclaimed.



release
public void release(FieldInfo info)(Code)
Signals that we are done editing a field. The object used to model it may be reclaimed.



release
public void release(ClassInfo info)(Code)
Signals that we are done editing a class. The object used to model it may be reclaimed.



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