|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JavadocModel
Model interface for Javadoc integration features. Note: Implementors should have a constructor taking an IGetDocuments.
| Field Summary | |
|---|---|
static java.lang.String |
SUGGESTED_DIR_NAME
Name for the suggested destination directory to be placed in the source root of one of the open documents. |
| Method Summary | |
|---|---|
void |
addListener(JavadocListener listener)
Add a JavadocListener to the model. |
CompilerErrorModel |
getJavadocErrorModel()
Accessor for the Javadoc error model. |
boolean |
isAvailable()
true iff the classes to run javadoc are available |
void |
javadocAll(DirectorySelector select,
FileSaveSelector saver)
Javadocs all open documents, after ensuring that all are saved. |
void |
javadocDocument(OpenDefinitionsDocument doc,
FileSaveSelector saver)
Generates Javadoc for the given document only, after ensuring it is saved. |
void |
removeAllListeners()
Removes all JavadocListeners from this model. |
void |
removeListener(JavadocListener listener)
Remove a JavadocListener from the model. |
void |
resetJavadocErrors()
Clears all current Javadoc errors. |
java.io.File |
suggestJavadocDestination(OpenDefinitionsDocument doc)
Suggests a default location for generating Javadoc, based on the given document's source root. |
| Field Detail |
|---|
static final java.lang.String SUGGESTED_DIR_NAME
| Method Detail |
|---|
boolean isAvailable()
true iff the classes to run javadoc are available
void addListener(JavadocListener listener)
listener - a listener that reacts to Javadoc eventsvoid removeListener(JavadocListener listener)
listener - a listener that reacts to Javadoc eventsvoid removeAllListeners()
CompilerErrorModel getJavadocErrorModel()
void resetJavadocErrors()
java.io.File suggestJavadocDestination(OpenDefinitionsDocument doc)
doc - Document with the source root to use as the default.
void javadocAll(DirectorySelector select,
FileSaveSelector saver)
throws java.io.IOException
select - a command object for selecting a directory and warning a user
about bad inputsaver - a command object for saving a document (if it moved/changed)
java.io.IOException - if there is a problem manipulating files
void javadocDocument(OpenDefinitionsDocument doc,
FileSaveSelector saver)
throws java.io.IOException
doc - Document to generate Javadoc forsaver - a command object for saving the document (if it moved/changed)
java.io.IOException - if there is a problem manipulating files
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||