Java Doc for DocumentDebugAction.java in  » IDE » DrJava » edu » rice » cs » drjava » model » debug » jpda » 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 » DrJava » edu.rice.cs.drjava.model.debug.jpda 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


edu.rice.cs.drjava.model.debug.jpda.DocumentDebugAction

DocumentDebugAction
abstract public class DocumentDebugAction extends DebugAction (Code)
Superclasses all DebugActions that are associated with specific OpenDefinitionsDocuments.
version:
   $Id: DocumentDebugAction.java 4255 2007-08-28 19:17:37Z mgricken $


Field Summary
final public  intSHORT_DOC_MAX_LENGTH
    
protected volatile  String_className
    
protected volatile  OpenDefinitionsDocument_doc
    
protected volatile  String_exactClassName
    
protected volatile  File_file
    
protected  int_offset
    

Constructor Summary
public  DocumentDebugAction(JPDADebugger manager, OpenDefinitionsDocument doc, int offset)
     Creates a new DocumentDebugAction.

Method Summary
abstract protected  void_createRequests(Vector<ReferenceType> refTypes)
     Creates appropriate EventRequests from the EventRequestManager and stores them in the _requests field.
Parameters:
  refTypes - All (identical) ReferenceTypes to which this action applies.
protected  void_initializeRequests(Vector<ReferenceType> refTypes)
     This should always be called from the constructor of the subclass.
protected  void_prepareRequest(T request)
     Prepares this EventRequest with the current stored values.
public  booleancreateRequests(Vector<ReferenceType> refTypes)
     Creates EventRequests corresponding to this DebugAction, using the given ReferenceTypes.
public  StringgetClassName()
     Returns the class name this DebugAction occurs in.
public  OpenDefinitionsDocumentgetDocument()
     Returns the document this DebugAction occurs in.
public  StringgetExactClassName()
     exact class name, or null if not available.
public  FilegetFile()
     Returns the file this DebugAction occurs in.
public  intgetOffset()
     offset of this debug action.

Field Detail
SHORT_DOC_MAX_LENGTH
final public int SHORT_DOC_MAX_LENGTH(Code)



_className
protected volatile String _className(Code)



_doc
protected volatile OpenDefinitionsDocument _doc(Code)



_exactClassName
protected volatile String _exactClassName(Code)



_file
protected volatile File _file(Code)



_offset
protected int _offset(Code)




Constructor Detail
DocumentDebugAction
public DocumentDebugAction(JPDADebugger manager, OpenDefinitionsDocument doc, int offset) throws DebugException(Code)
Creates a new DocumentDebugAction. Automatically tries to create the EventRequest if a ReferenceType can be found, or else adds this object to the PendingRequestManager. Any subclass should automatically call _initializeRequest in its constructor.
Parameters:
  manager - JPDADebugger in charge
Parameters:
  doc - Document this action corresponds to
Parameters:
  offset - Offset into the document that the action affects




Method Detail
_createRequests
abstract protected void _createRequests(Vector<ReferenceType> refTypes) throws DebugException(Code)
Creates appropriate EventRequests from the EventRequestManager and stores them in the _requests field.
Parameters:
  refTypes - All (identical) ReferenceTypes to which this action applies. (There may be multiple if a customclass loader is in use.)
throws:
  DebugException - if the requests could not be created.



_initializeRequests
protected void _initializeRequests(Vector<ReferenceType> refTypes) throws DebugException(Code)
This should always be called from the constructor of the subclass. Attempts to create EventRequests on the given ReferenceTypes, and also adds this action to the pending request manager (so identical classes loaded in the future will also have this action).



_prepareRequest
protected void _prepareRequest(T request)(Code)
Prepares this EventRequest with the current stored values.
Parameters:
  request - the EventRequest to prepare



createRequests
public boolean createRequests(Vector<ReferenceType> refTypes) throws DebugException(Code)
Creates EventRequests corresponding to this DebugAction, using the given ReferenceTypes. This is called either from the DebugAction constructor or the PendingRequestManager, depending on when the ReferenceTypes become available. (There may be multiple reference types for the same class if a custom class loader is used.) true if the EventRequest is successfully created



getClassName
public String getClassName()(Code)
Returns the class name this DebugAction occurs in.



getDocument
public OpenDefinitionsDocument getDocument()(Code)
Returns the document this DebugAction occurs in.



getExactClassName
public String getExactClassName()(Code)
exact class name, or null if not available.



getFile
public File getFile()(Code)
Returns the file this DebugAction occurs in.



getOffset
public int getOffset()(Code)
offset of this debug action.



ww__w_.j__av_a__2s._co___m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.