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


java.lang.Object
   edu.rice.cs.drjava.model.DummyGlobalModel
      edu.rice.cs.drjava.model.TestDocGetter

TestDocGetter
public class TestDocGetter extends DummyGlobalModel (Code)
Test implementation of the document fetching methods in the GlobalModel interface.


Field Summary
 HashMap<File, OpenDefinitionsDocument>docs
     Storage for documents and File keys.

Constructor Summary
public  TestDocGetter()
     Convenience constructor for no-documents case.
public  TestDocGetter(File[] files, String[] texts)
     Primary constructor, builds OpenDefDocs from Strings.

Method Summary
public  OpenDefinitionsDocumentgetDocumentForFile(File file)
    

Field Detail
docs
HashMap<File, OpenDefinitionsDocument> docs(Code)
Storage for documents and File keys.




Constructor Detail
TestDocGetter
public TestDocGetter()(Code)
Convenience constructor for no-documents case.



TestDocGetter
public TestDocGetter(File[] files, String[] texts)(Code)
Primary constructor, builds OpenDefDocs from Strings.
Parameters:
  files - the keys to use when getting OpenDefDocs
Parameters:
  texts - the text to put in the OpenDefDocs




Method Detail
getDocumentForFile
public OpenDefinitionsDocument getDocumentForFile(File file) throws IOException(Code)



Methods inherited from edu.rice.cs.drjava.model.DummyGlobalModel
public void addAuxiliaryFile(OpenDefinitionsDocument doc)(Code)(Java Doc)
public void addListener(GlobalModelListener listener)(Code)(Java Doc)
public void addToBrowserHistory()(Code)(Java Doc)
public void cleanBuildDirectory()(Code)(Java Doc)
public void clearHistory()(Code)(Java Doc)
public boolean closeAllFiles()(Code)(Java Doc)
public boolean closeFile(OpenDefinitionsDocument doc)(Code)(Java Doc)
public boolean closeFileWithoutPrompt(OpenDefinitionsDocument doc)(Code)(Java Doc)
public void closeProject(boolean quitting)(Code)(Java Doc)
public void configNewProject() throws IOException(Code)(Java Doc)
public RegionManager<MovingDocumentRegion> createFindResultsManager()(Code)(Java Doc)
public void createNewProject(File f)(Code)(Java Doc)
public void disposeFindResultsManager(RegionManager<MovingDocumentRegion> rm)(Code)(Java Doc)
public File findFileInPaths(String fileName, Iterable<File> paths)(Code)(Java Doc)
public String fixPathForNavigator(String path) throws IOException(Code)(Java Doc)
public void forceQuit()(Code)(Java Doc)
public String getAuxiliaryBinTitle()(Code)(Java Doc)
public RegionManager<DocumentRegion> getBookmarkManager()(Code)(Java Doc)
public RegionManager<Breakpoint> getBreakpointManager()(Code)(Java Doc)
public RegionManager<DocumentRegion> getBrowserHistoryManager()(Code)(Java Doc)
public File getBuildDirectory()(Code)(Java Doc)
public List<File> getClassFiles()(Code)(Java Doc)
public Iterable<File> getClassPath()(Code)(Java Doc)
public CompilerModel getCompilerModel()(Code)(Java Doc)
public String getCompletePath(int index)(Code)(Java Doc)
public ConsoleDocument getConsoleDocument()(Code)(Java Doc)
public File getCreateJarFile()(Code)(Java Doc)
public int getCreateJarFlags()(Code)(Java Doc)
public int getDebugPort() throws IOException(Code)(Java Doc)
public Debugger getDebugger()(Code)(Java Doc)
public int getDocumentCount()(Code)(Java Doc)
public OpenDefinitionsDocument getDocumentForFile(File file) throws IOException(Code)(Java Doc)
public DocumentIterator getDocumentIterator()(Code)(Java Doc)
public IDocumentNavigator<OpenDefinitionsDocument> getDocumentNavigator()(Code)(Java Doc)
public DefinitionsEditorKit getEditorKit()(Code)(Java Doc)
public String getExternalBinTitle()(Code)(Java Doc)
public Iterable<File> getExtraClassPath()(Code)(Java Doc)
public List<RegionManager<MovingDocumentRegion>> getFindResultsManagers()(Code)(Java Doc)
public String getHistoryAsString()(Code)(Java Doc)
public String getHistoryAsStringWithSemicolons()(Code)(Java Doc)
public Iterable<File> getInteractionsClassPath()(Code)(Java Doc)
public InteractionsDocument getInteractionsDocument()(Code)(Java Doc)
public DefaultInteractionsModel getInteractionsModel()(Code)(Java Doc)
public JUnitModel getJUnitModel()(Code)(Java Doc)
public JavadocModel getJavadocModel()(Code)(Java Doc)
public File getMainClass()(Code)(Java Doc)
public File getMasterWorkingDirectory()(Code)(Java Doc)
public List<OpenDefinitionsDocument> getNonProjectDocuments()(Code)(Java Doc)
public int getNumCompErrors()(Code)(Java Doc)
public OpenDefinitionsDocument getODDForDocument(AbstractDocumentInterface doc)(Code)(Java Doc)
public List<OpenDefinitionsDocument> getOpenDefinitionsDocuments()(Code)(Java Doc)
public PageFormat getPageFormat()(Code)(Java Doc)
public List<OpenDefinitionsDocument> getProjectDocuments()(Code)(Java Doc)
public File getProjectFile()(Code)(Java Doc)
public File[] getProjectFiles()(Code)(Java Doc)
public File getProjectRoot()(Code)(Java Doc)
public List<OpenDefinitionsDocument> getSortedOpenDefinitionsDocuments()(Code)(Java Doc)
public String getSourceBinTitle()(Code)(Java Doc)
public File getSourceFile(String fileName)(Code)(Java Doc)
public Iterable<File> getSourceRootSet()(Code)(Java Doc)
public InteractionsDJDocument getSwingConsoleDocument()(Code)(Java Doc)
public InteractionsDJDocument getSwingInteractionsDocument()(Code)(Java Doc)
public File getWorkingDirectory()(Code)(Java Doc)
public boolean hasModifiedDocuments()(Code)(Java Doc)
public boolean hasModifiedDocuments(List<OpenDefinitionsDocument> lod)(Code)(Java Doc)
public boolean hasOutOfSyncDocuments()(Code)(Java Doc)
public boolean hasOutOfSyncDocuments(List<OpenDefinitionsDocument> lod)(Code)(Java Doc)
public boolean hasUntitledDocuments()(Code)(Java Doc)
public boolean inProject(File f)(Code)(Java Doc)
public boolean inProjectPath(OpenDefinitionsDocument doc)(Code)(Java Doc)
public void interpretCurrentInteraction()(Code)(Java Doc)
public boolean isAlreadyOpen(File file)(Code)(Java Doc)
public boolean isProjectActive()(Code)(Java Doc)
public boolean isProjectChanged()(Code)(Java Doc)
public void loadHistory(FileOpenSelector selector) throws IOException(Code)(Java Doc)
public InteractionsScriptModel loadHistoryAsScript(FileOpenSelector s) throws IOException, OperationCanceledException(Code)(Java Doc)
public OpenDefinitionsDocument newFile()(Code)(Java Doc)
public OpenDefinitionsDocument newTestCase(String name, boolean makeSetUp, boolean makeTearDown)(Code)(Java Doc)
public OpenDefinitionsDocument openFile(FileOpenSelector com) throws IOException, OperationCanceledException, AlreadyOpenException(Code)(Java Doc)
public OpenDefinitionsDocument[] openFiles(FileOpenSelector com) throws IOException, OperationCanceledException, AlreadyOpenException(Code)(Java Doc)
public void openFolder(File dir, boolean rec) throws IOException, OperationCanceledException, AlreadyOpenException(Code)(Java Doc)
public void openProject(File file) throws IOException, MalformedProjectFileException(Code)(Java Doc)
public void printDebugMessage(String s)(Code)(Java Doc)
public void quit()(Code)(Java Doc)
public void refreshActiveDocument()(Code)(Java Doc)
public void reloadProject(File f, Hashtable<OpenDefinitionsDocument, DocumentInfoGetter> ht) throws IOException(Code)(Java Doc)
public void removeAuxiliaryFile(OpenDefinitionsDocument doc)(Code)(Java Doc)
public void removeListener(GlobalModelListener listener)(Code)(Java Doc)
public void resetConsole()(Code)(Java Doc)
public void resetInteractions(File wd)(Code)(Java Doc)
public void resetInteractions(File wd, boolean forceReset)(Code)(Java Doc)
public void saveAllFiles(FileSaveSelector com) throws IOException(Code)(Java Doc)
public void saveHistory(FileSaveSelector selector) throws IOException(Code)(Java Doc)
public void saveHistory(FileSaveSelector selector, String editedVersion) throws IOException(Code)(Java Doc)
public void saveProject(File f, Hashtable<OpenDefinitionsDocument, DocumentInfoGetter> ht) throws IOException(Code)(Java Doc)
public void setBuildDirectory(File f)(Code)(Java Doc)
public void setCreateJarFile(File f)(Code)(Java Doc)
public void setCreateJarFlags(int f)(Code)(Java Doc)
public void setDocumentNavigator(IDocumentNavigator<OpenDefinitionsDocument> newnav)(Code)(Java Doc)
public void setExtraClassPath(Iterable<File> cp)(Code)(Java Doc)
public void setMainClass(File f)(Code)(Java Doc)
public void setNumCompErrors(int num)(Code)(Java Doc)
public void setPageFormat(PageFormat format)(Code)(Java Doc)
public void setProjectChanged(boolean changed)(Code)(Java Doc)
public void setProjectFile(File f)(Code)(Java Doc)
public void setProjectRoot(File f)(Code)(Java Doc)
public void setWorkingDirectory(File f)(Code)(Java Doc)
public void systemErrPrint(String s)(Code)(Java Doc)
public void systemInEcho(String s)(Code)(Java Doc)
public void systemOutPrint(String s)(Code)(Java Doc)
public void waitForInterpreter()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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