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


edu.rice.cs.drjava.model.javadoc.JavadocModel

All known Subclasses:   edu.rice.cs.drjava.model.javadoc.DefaultJavadocModel,  edu.rice.cs.drjava.model.javadoc.NoJavadocAvailable,
JavadocModel
public interface JavadocModel (Code)
Model interface for Javadoc integration features. Note: Implementors should have a constructor taking an IGetDocuments.
version:
   $Id: JavadocModel.java 4255 2007-08-28 19:17:37Z mgricken $


Field Summary
final public static  StringSUGGESTED_DIR_NAME
     Name for the suggested destination directory to be placed in the source root of one of the open documents.


Method Summary
public  voidaddListener(JavadocListener listener)
     Add a JavadocListener to the model.
public  CompilerErrorModelgetJavadocErrorModel()
     Accessor for the Javadoc error model.
public  booleanisAvailable()
    
public  voidjavadocAll(DirectorySelector select, FileSaveSelector saver)
     Javadocs all open documents, after ensuring that all are saved.
public  voidjavadocDocument(OpenDefinitionsDocument doc, FileSaveSelector saver)
     Generates Javadoc for the given document only, after ensuring it is saved.
public  voidremoveAllListeners()
     Removes all JavadocListeners from this model.
public  voidremoveListener(JavadocListener listener)
     Remove a JavadocListener from the model.
public  voidresetJavadocErrors()
     Clears all current Javadoc errors.
public  FilesuggestJavadocDestination(OpenDefinitionsDocument doc)
     Suggests a default location for generating Javadoc, based on the given document's source root.

Field Detail
SUGGESTED_DIR_NAME
final public static String SUGGESTED_DIR_NAME(Code)
Name for the suggested destination directory to be placed in the source root of one of the open documents. (Value is "doc".)





Method Detail
addListener
public void addListener(JavadocListener listener)(Code)
Add a JavadocListener to the model.
Parameters:
  listener - a listener that reacts to Javadoc events



getJavadocErrorModel
public CompilerErrorModel getJavadocErrorModel()(Code)
Accessor for the Javadoc error model.



isAvailable
public boolean isAvailable()(Code)
true iff the classes to run javadoc are available



javadocAll
public void javadocAll(DirectorySelector select, FileSaveSelector saver) throws IOException(Code)
Javadocs all open documents, after ensuring that all are saved. The user provides a destination, and the gm provides the package info.
Parameters:
  select - a command object for selecting a directory and warning a userabout bad input
Parameters:
  saver - a command object for saving a document (if it moved/changed)
throws:
  IOException - if there is a problem manipulating files



javadocDocument
public void javadocDocument(OpenDefinitionsDocument doc, FileSaveSelector saver) throws IOException(Code)
Generates Javadoc for the given document only, after ensuring it is saved. Saves the output to a temporary directory, which is provided in the javadocEnded event on the provided listener.
Parameters:
  doc - Document to generate Javadoc for
Parameters:
  saver - a command object for saving the document (if it moved/changed)
throws:
  IOException - if there is a problem manipulating files



removeAllListeners
public void removeAllListeners()(Code)
Removes all JavadocListeners from this model.



removeListener
public void removeListener(JavadocListener listener)(Code)
Remove a JavadocListener from the model. If the listener is not currently listening to this model, this method has no effect.
Parameters:
  listener - a listener that reacts to Javadoc events



resetJavadocErrors
public void resetJavadocErrors()(Code)
Clears all current Javadoc errors.



suggestJavadocDestination
public File suggestJavadocDestination(OpenDefinitionsDocument doc)(Code)
Suggests a default location for generating Javadoc, based on the given document's source root. (Appends JavadocModel.SUGGESTED_DIR_NAME to the sourceroot.)
Parameters:
  doc - Document with the source root to use as the default. Suggested destination directory, or null if none could bedetermined.



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