Java Doc for ProjectSettings.java in  » IDE » tIDE » tide » project » 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 » tIDE » tide.project 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   tide.project.ProjectSettings

ProjectSettings
final public class ProjectSettings (Code)
Used to store projects settings (paths, jdk, ...) and preferences... also contains bookmarks, list of already ran classes, ... TODO: create some .projet_name in the .tide => detects if several projects are in the same src (and warn) and use it to sync (File lock) so we ensure not loading twice at same time


Field Summary
final public  Set<String>ignoredLibrariesNames
    
final public  LibrariesTreeModellibrariesTreeModel
    
final public  SourcesTreeModelsourcesTreeModel
    

Constructor Summary
public  ProjectSettings()
    

Method Summary
public  StorageVector_getVectorRepresentation()
    
public  void_terminate()
     helps the gc when terminated.
public  voidaddBookmark(SourceBookmark b)
     Adds the new bookmark and refresh the view.
public  voidaddRan(String javaName)
    
public  voidaddSearchToHistory(ArrayList<Object> search)
    
public  voidcreateFromVectorRepresentation(StorageVector rep, boolean clearRep)
     Called when loading a project.
public  longgetActiveTime()
    
public  Set<String>getAllAlreadyRanJavaNames()
    
public  List<SourceBookmark>getAllBookmarks_REF()
     CAUTION: This is not a copy, but the reference. The first is the oldest one.
public  StringgetAppArgs()
    
public  FilegetBackupFolder()
    
public  List<SourceBookmark>getBookmarksFor(String javaName)
     [relatively slow]...
public  booleangetBooleanProperty(String name, boolean def)
    
public  ClassFilesManagergetClassFilesManager()
     loads on first request.
public  List<File>getClassPath(boolean includeJDKLibs, boolean removeIgnored)
     without jdk libs, is also called "aux classpath" or user classpath.
public  FilegetClassesCacheTempFolderForCompletion()
    
public  FilegetClasses_Home()
    
public  StringgetCompilerOptions()
    
public  StringgetExtJavaToolMemoryOption()
     A central place to define the Xmx.
public  List<File>getExternalJavaDocsRoots()
    
public  longgetFirstStart()
    
public  booleangetIsCompleteBuild()
     True if the project has been completely build (F9) (no incremential builds (shift-F9)).
public  FilegetJConsole_TOOL()
    
public  FilegetJDKDoc_Home()
    
public  FilegetJDK_Tool(String nameWithoutExe)
    
public  FilegetJHAT_TOOL()
    
public  FilegetJPS_TOOL()
    
public  FilegetJarSigner_TOOL()
    
public  FilegetJar_TOOL()
    
public  FilegetJavaAPISourceZIP()
     try src.zip and if not found src.jar, found in java home.
public  FilegetJavaC_TOOL()
    
public  JavaDocManagergetJavaDocManager()
    
public  FilegetJavaDoc_TOOL()
    
public  StringgetJavaVersion()
    
public  FilegetJava_Home()
    
public  FilegetJava_TOOL()
    
public  FilegetJava_WebStart()
    
public  FilegetJavap_TOOL()
    
public  FilegetKeyTool_TOOL()
    
public  StringgetMainClassJavaName()
    
public  FilegetMainSourceFile()
    
public  FilegetProfilerResultsFolder()
    
public  FilegetProjectJavaDocRoot()
    
public  StringgetProjectName()
    
public  FilegetProjectSettingsFolder()
     May exist or not ! Per default, takes the root sources sibling folder named ".tide".
public  StringgetProperty(String name, String def)
    
public  AppPropertiesgetProps()
    
public  FilegetRTJar()
    
public  Map<String, Integer>getRanCount()
    
public  FilegetRootSiblingFolder(String name)
    
public  StringgetRuntimeArgs()
    
public  List<ArrayList<Object>>getSearchHistory()
    
public  List<File>getSourcesForClassPathLibraries()
    
public  Set<String>getSourcesForWhichRepExist()
    
public  FilegetSources_Home()
    
public  StorageVectorgetStoredSourceInfo(String jn)
    
public  longgetWorkingTime()
    
public  booleanhasChanged()
    
public  booleanisJava5_OrMore()
    
public  Callable<ClassFilesManager>reloadClassesManager()
     call this to reload or load the classfilesmanager.
public  Callable<Object>reloadJavaDocManager()
    
public  voidremoveFileReps(Set<String> javaNames)
     Called for files that are no more existing at project load...
public  voidresetWorkingTime(long wt, long at)
    
public  voidsaveSourcesInfos()
    
public  voidsetAppArgs(String opts)
    
public  voidsetBooleanProperty(String name, boolean val)
    
public  voidsetChangedFalse()
    
public  voidsetClasses_Home(File file)
    
public  voidsetCompilerOptions(String opts)
    
public  voidsetCustomTideSettingsFolder(File f)
    
public  voidsetExternalJars(List<File> jars)
    
public  voidsetExternalJavaDocs(List<File> jds)
     external javadocs.
public  voidsetIsCompleteBuild(boolean a)
    
public  voidsetJDKDoc_Home(File home)
    
public  voidsetJava_Home(File file)
     this is the JDK home (where bin/java is).
public  voidsetMainSourceFile(File file)
    
public  voidsetProjectName(String name)
    
public  voidsetProperty(String name, String val)
    
public  voidsetRuntimeArgs(String opts)
    
public  voidsetSources_Home(File file)
    
public  voidsetStoredSourceInfo(SourceFile sf)
    
public  voidsourceFileRemoved(String javaName)
     Call this when a source has been removed.

Field Detail
ignoredLibrariesNames
final public Set<String> ignoredLibrariesNames(Code)



librariesTreeModel
final public LibrariesTreeModel librariesTreeModel(Code)



sourcesTreeModel
final public SourcesTreeModel sourcesTreeModel(Code)




Constructor Detail
ProjectSettings
public ProjectSettings()(Code)




Method Detail
_getVectorRepresentation
public StorageVector _getVectorRepresentation()(Code)



_terminate
public void _terminate()(Code)
helps the gc when terminated. Clears all stored data. must be called before loading a new project... but after last usage ! (after having be stored)



addBookmark
public void addBookmark(SourceBookmark b)(Code)
Adds the new bookmark and refresh the view.



addRan
public void addRan(String javaName)(Code)



addSearchToHistory
public void addSearchToHistory(ArrayList<Object> search)(Code)



createFromVectorRepresentation
public void createFromVectorRepresentation(StorageVector rep, boolean clearRep)(Code)
Called when loading a project. This first resets the old one.



getActiveTime
public long getActiveTime()(Code)



getAllAlreadyRanJavaNames
public Set<String> getAllAlreadyRanJavaNames()(Code)



getAllBookmarks_REF
public List<SourceBookmark> getAllBookmarks_REF()(Code)
CAUTION: This is not a copy, but the reference. The first is the oldest one. New ones are to be added at the end. Bookmarks are stored in these settings.



getAppArgs
public String getAppArgs()(Code)



getBackupFolder
public File getBackupFolder()(Code)
may exist or not !



getBookmarksFor
public List<SourceBookmark> getBookmarksFor(String javaName)(Code)
[relatively slow]... (no hashmap...)



getBooleanProperty
public boolean getBooleanProperty(String name, boolean def)(Code)



getClassFilesManager
public ClassFilesManager getClassFilesManager()(Code)
loads on first request. Contains all libs and generated classes. Must be kept up to date, that is must be reloaded (below) at project reload and called after each compilation. Used mainly by the completion, is a lazy process, i.e. the ide will also work without it



getClassPath
public List<File> getClassPath(boolean includeJDKLibs, boolean removeIgnored)(Code)
without jdk libs, is also called "aux classpath" or user classpath. without source files. if includeJDKLibs, Contain all jdk jar files. a copy, no reference. So we can add/remove items without influence on the project !



getClassesCacheTempFolderForCompletion
public File getClassesCacheTempFolderForCompletion()(Code)
may exist or not !



getClasses_Home
public File getClasses_Home()(Code)
with clever global defaults



getCompilerOptions
public String getCompilerOptions()(Code)



getExtJavaToolMemoryOption
public String getExtJavaToolMemoryOption()(Code)
A central place to define the Xmx.



getExternalJavaDocsRoots
public List<File> getExternalJavaDocsRoots()(Code)
a copy, not a reference !



getFirstStart
public long getFirstStart()(Code)



getIsCompleteBuild
public boolean getIsCompleteBuild()(Code)
True if the project has been completely build (F9) (no incremential builds (shift-F9)). use this along with looking for new uncompiled classes (occur when loading a project) to warn when creating a project archive.



getJConsole_TOOL
public File getJConsole_TOOL()(Code)



getJDKDoc_Home
public File getJDKDoc_Home()(Code)
null if not set ("") TODO use: parent.globalProperties.setProperty("lastKnownJDKDocsDir"



getJDK_Tool
public File getJDK_Tool(String nameWithoutExe)(Code)
Works on linux and windows,
Parameters:
  nameWithoutExe - is for example jps or javah



getJHAT_TOOL
public File getJHAT_TOOL()(Code)



getJPS_TOOL
public File getJPS_TOOL()(Code)



getJarSigner_TOOL
public File getJarSigner_TOOL()(Code)



getJar_TOOL
public File getJar_TOOL()(Code)



getJavaAPISourceZIP
public File getJavaAPISourceZIP()(Code)
try src.zip and if not found src.jar, found in java home.



getJavaC_TOOL
public File getJavaC_TOOL()(Code)



getJavaDocManager
public JavaDocManager getJavaDocManager()(Code)
todo: joint the loader thread if requested before created !!



getJavaDoc_TOOL
public File getJavaDoc_TOOL()(Code)



getJavaVersion
public String getJavaVersion()(Code)
the version that was read with java -version when the setJava_Home was called



getJava_Home
public File getJava_Home()(Code)



getJava_TOOL
public File getJava_TOOL()(Code)



getJava_WebStart
public File getJava_WebStart()(Code)



getJavap_TOOL
public File getJavap_TOOL()(Code)
javap -l javaName shows the bytecode along with the names tables (if compiled with -g)



getKeyTool_TOOL
public File getKeyTool_TOOL()(Code)



getMainClassJavaName
public String getMainClassJavaName()(Code)
null if not defined



getMainSourceFile
public File getMainSourceFile()(Code)
null if not defined



getProfilerResultsFolder
public File getProfilerResultsFolder()(Code)
May exist or not !



getProjectJavaDocRoot
public File getProjectJavaDocRoot()(Code)
may exist or not !



getProjectName
public String getProjectName()(Code)



getProjectSettingsFolder
public File getProjectSettingsFolder()(Code)
May exist or not ! Per default, takes the root sources sibling folder named ".tide". [March2008]: to work nicely with RAMDrives, enabled customization.



getProperty
public String getProperty(String name, String def)(Code)



getProps
public AppProperties getProps()(Code)



getRTJar
public File getRTJar()(Code)



getRanCount
public Map<String, Integer> getRanCount()(Code)



getRootSiblingFolder
public File getRootSiblingFolder(String name)(Code)
the folder named name in the same folder as the source folder.May exist or not ! if not, is created.Usage: for example: "dev", "classes", "backup", ...For ".tide", please use getProjectSettingsFolder().



getRuntimeArgs
public String getRuntimeArgs()(Code)



getSearchHistory
public List<ArrayList<Object>> getSearchHistory()(Code)



getSourcesForClassPathLibraries
public List<File> getSourcesForClassPathLibraries()(Code)
src.zip and user defined sources (zip files, jar files, directories...) Optional !



getSourcesForWhichRepExist
public Set<String> getSourcesForWhichRepExist()(Code)
a copy...



getSources_Home
public File getSources_Home()(Code)
null if not set



getStoredSourceInfo
public StorageVector getStoredSourceInfo(String jn)(Code)



getWorkingTime
public long getWorkingTime()(Code)



hasChanged
public boolean hasChanged()(Code)



isJava5_OrMore
public boolean isJava5_OrMore()(Code)
important to detect if JVMTI is enable (hprof, jconsole, jstack...)



reloadClassesManager
public Callable<ClassFilesManager> reloadClassesManager()(Code)
call this to reload or load the classfilesmanager. lazy initialization in a thread... MUST be called with call() !!



reloadJavaDocManager
public Callable<Object> reloadJavaDocManager()(Code)
must be call when loading / reloading the project



removeFileReps
public void removeFileReps(Set<String> javaNames)(Code)
Called for files that are no more existing at project load...



resetWorkingTime
public void resetWorkingTime(long wt, long at)(Code)



saveSourcesInfos
public void saveSourcesInfos()(Code)



setAppArgs
public void setAppArgs(String opts)(Code)



setBooleanProperty
public void setBooleanProperty(String name, boolean val)(Code)



setChangedFalse
public void setChangedFalse()(Code)



setClasses_Home
public void setClasses_Home(File file)(Code)



setCompilerOptions
public void setCompilerOptions(String opts)(Code)
the editor look that no xlint is present for <1.5 jvms



setCustomTideSettingsFolder
public void setCustomTideSettingsFolder(File f)(Code)



setExternalJars
public void setExternalJars(List<File> jars)(Code)



setExternalJavaDocs
public void setExternalJavaDocs(List<File> jds)(Code)
external javadocs. No need to put project javadoc neither standard api, automatically add.



setIsCompleteBuild
public void setIsCompleteBuild(boolean a)(Code)



setJDKDoc_Home
public void setJDKDoc_Home(File home)(Code)
null if not set ("")



setJava_Home
public void setJava_Home(File file)(Code)
this is the JDK home (where bin/java is). this also read the actual jdk version, invoking java -version. when editing project settings this is called first.



setMainSourceFile
public void setMainSourceFile(File file)(Code)

Parameters:
  file - can be null, if the project has no main file (library)...



setProjectName
public void setProjectName(String name)(Code)



setProperty
public void setProperty(String name, String val)(Code)



setRuntimeArgs
public void setRuntimeArgs(String opts)(Code)



setSources_Home
public void setSources_Home(File file)(Code)



setStoredSourceInfo
public void setStoredSourceInfo(SourceFile sf)(Code)



sourceFileRemoved
public void sourceFileRemoved(String javaName)(Code)
Call this when a source has been removed.



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.