|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.drjava.model.javadoc.NoJavadocAvailable
public class NoJavadocAvailable
Javadoc model to use when javadoc is unavailable.
| Field Summary | |
|---|---|
private CompilerErrorModel |
_javadocErrorModel
|
private JavadocEventNotifier |
_notifier
|
| Fields inherited from interface edu.rice.cs.drjava.model.javadoc.JavadocModel |
|---|
SUGGESTED_DIR_NAME |
| Constructor Summary | |
|---|---|
NoJavadocAvailable(GlobalModel model)
|
|
| 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. |
File |
suggestJavadocDestination(OpenDefinitionsDocument doc)
Suggests a default location for generating Javadoc, based on the given document's source root. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final JavadocEventNotifier _notifier
private final CompilerErrorModel _javadocErrorModel
| Constructor Detail |
|---|
public NoJavadocAvailable(GlobalModel model)
| Method Detail |
|---|
public boolean isAvailable()
JavadocModeltrue iff the classes to run javadoc are available
isAvailable in interface JavadocModelpublic void addListener(JavadocListener listener)
addListener in interface JavadocModellistener - a listener that reacts to Javadoc eventspublic void removeListener(JavadocListener listener)
removeListener in interface JavadocModellistener - a listener that reacts to Javadoc eventspublic void removeAllListeners()
removeAllListeners in interface JavadocModelpublic CompilerErrorModel getJavadocErrorModel()
getJavadocErrorModel in interface JavadocModelpublic void resetJavadocErrors()
resetJavadocErrors in interface JavadocModelpublic File suggestJavadocDestination(OpenDefinitionsDocument doc)
suggestJavadocDestination in interface JavadocModeldoc - Document with the source root to use as the default.
public void javadocAll(DirectorySelector select,
FileSaveSelector saver)
throws IOException
javadocAll in interface JavadocModelselect - 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)
IOException - if there is a problem manipulating files
public void javadocDocument(OpenDefinitionsDocument doc,
FileSaveSelector saver)
throws IOException
javadocDocument in interface JavadocModeldoc - Document to generate Javadoc forsaver - a command object for saving the document (if it moved/changed)
IOException - if there is a problem manipulating files
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||