Java Doc for FileGroupingState.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) 


edu.rice.cs.drjava.model.FileGroupingState

FileGroupingState
public interface FileGroupingState (Code)
This state pattern is used by the global model to store any information pertaining to the currently open project. The state pattern is used because most project information is not needed in list view. (Elspeth Rocks) Hint: if you're looking for the instances of this interface, look in DefaultGlobalModel where they are defined as anonymous inner classes.




Method Summary
public  voidaddAuxFile(File f)
    
public  voidcleanBuildDirectory()
     Cleans the build directory.
public  FilegetBuildDirectory()
    
public  List<File>getClassFiles()
     a list of class files.
public  FilegetCreateJarFile()
     Return the create jar file for the project.
public  intgetCreateJarFlags()
     Return the create jar flags for the project.
public  Iterable<File>getExtraClassPath()
     Returns a collection of classpath entries specific to the current project.
public  FilegetMainClass()
    
public  FilegetProjectFile()
    
public  File[]getProjectFiles()
     Return all files saved as source files in the project file.
public  FilegetProjectRoot()
    
public  FilegetWorkingDirectory()
     Returns the working directory for the slave (interactions pane) JVM.
public  booleaninProject(File f)
     Returns true the given file is in the current project file.
public  booleaninProjectPath(OpenDefinitionsDocument doc)
    
public  booleaninProjectPath(File f)
    
public  booleanisAuxiliaryFile(File f)
    
public  booleanisProjectActive()
    
public  booleanisProjectChanged()
     Returns true if in project mode and the current project file has changed.
public  voidremAuxFile(File f)
     Removes file to list of auxiliary files in project.
public  voidsetBuildDirectory(File f)
     Sets the current build directory.
public  voidsetCreateJarFile(File f)
     Sets the create jar file of the project.
public  voidsetCreateJarFlags(int f)
     Sets the create jar flags of the project.
public  voidsetExtraClassPath(Iterable<File> cp)
     Sets the list of project-specific classpath entries.
public  voidsetMainClass(File f)
    
public  voidsetProjectChanged(boolean changed)
     Sets that the project state is no longer a snapshot of the open project.
public  voidsetProjectFile(File f)
     Sets project file to specifed value; used in "Save Project As ..." command in MainFrame.
public  voidsetProjectRoot(File f)
     Sets the current project root.
public  voidsetWorkingDirectory(File f)
     Sets the current working directory for the interactions pane.



Method Detail
addAuxFile
public void addAuxFile(File f)(Code)
Adds file to list of auxiliary files in project



cleanBuildDirectory
public void cleanBuildDirectory()(Code)
Cleans the build directory.



getBuildDirectory
public File getBuildDirectory()(Code)
Returns the directory in which to put the class files after compilation null if no build directory is specified



getClassFiles
public List<File> getClassFiles()(Code)
a list of class files.



getCreateJarFile
public File getCreateJarFile()(Code)
Return the create jar file for the project. If not in project mode, returns 0.



getCreateJarFlags
public int getCreateJarFlags()(Code)
Return the create jar flags for the project. If not in project mode, returns null.



getExtraClassPath
public Iterable<File> getExtraClassPath()(Code)
Returns a collection of classpath entries specific to the current project. the project's extra classpath



getMainClass
public File getMainClass()(Code)
Returns the source file that has the main method of the project null if no build directory is specified



getProjectFile
public File getProjectFile()(Code)
Returns the current project file null if not currently in a project



getProjectFiles
public File[] getProjectFiles()(Code)
Return all files saved as source files in the project file. If not in project mode, returns null.



getProjectRoot
public File getProjectRoot()(Code)
Returns the project source root null if no build directory is specified



getWorkingDirectory
public File getWorkingDirectory()(Code)
Returns the working directory for the slave (interactions pane) JVM.



inProject
public boolean inProject(File f)(Code)
Returns true the given file is in the current project file.



inProjectPath
public boolean inProjectPath(OpenDefinitionsDocument doc)(Code)
true if the document is part of the active project (in the project path), or falseif it is not (or the model is not in project mode)



inProjectPath
public boolean inProjectPath(File f)(Code)
true if the file is part of the active project (in the project path), or falseif it is not (or the model is not in project mode)



isAuxiliaryFile
public boolean isAuxiliaryFile(File f)(Code)
true if the file is a project auxiliary file



isProjectActive
public boolean isProjectActive()(Code)
true if the model is in project mode, false otherwi



isProjectChanged
public boolean isProjectChanged()(Code)
Returns true if in project mode and the current project file has changed.



remAuxFile
public void remAuxFile(File f)(Code)
Removes file to list of auxiliary files in project. Throws an UnexpectedException if auxFiles does not contain exactly one instance of f.



setBuildDirectory
public void setBuildDirectory(File f)(Code)
Sets the current build directory.



setCreateJarFile
public void setCreateJarFile(File f)(Code)
Sets the create jar file of the project.



setCreateJarFlags
public void setCreateJarFlags(int f)(Code)
Sets the create jar flags of the project.



setExtraClassPath
public void setExtraClassPath(Iterable<File> cp)(Code)
Sets the list of project-specific classpath entries.



setMainClass
public void setMainClass(File f)(Code)
Sets the file that has the main method of the project (Note: should point to the sourcefile of the document, not the class file)



setProjectChanged
public void setProjectChanged(boolean changed)(Code)
Sets that the project state is no longer a snapshot of the open project.



setProjectFile
public void setProjectFile(File f)(Code)
Sets project file to specifed value; used in "Save Project As ..." command in MainFrame.



setProjectRoot
public void setProjectRoot(File f)(Code)
Sets the current project root.



setWorkingDirectory
public void setWorkingDirectory(File f)(Code)
Sets the current working directory for the interactions pane.



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