Java Doc for SingleModuleProperties.java in  » IDE-Netbeans » api » org » netbeans » modules » apisupport » project » ui » customizer » 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 Netbeans » api » org.netbeans.modules.apisupport.project.ui.customizer 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.apisupport.project.ui.customizer.ModuleProperties
      org.netbeans.modules.apisupport.project.ui.customizer.SingleModuleProperties

SingleModuleProperties
final public class SingleModuleProperties extends ModuleProperties (Code)
Provides convenient access to a lot of NetBeans Module's properties.
author:
   Martin Krauskopf


Field Summary
final public static  StringBUILD_COMPILER_DEBUG
    
final public static  StringBUILD_COMPILER_DEPRECATION
    
final public static  StringCLUSTER_DIR
    
final public static  StringDEPENDENCIES_PROPERTY
    
final public static  StringIS_AUTOLOAD
    
final public static  StringIS_EAGER
    
final public static  StringJAVAC_COMPILERARGS
    
final public static  StringJAVAC_SOURCE
    
final public static  StringJAVADOC_TITLE
    
final public static  StringJAVA_PLATFORM_PROPERTY
    
final public static  StringLICENSE_FILE
    
final public static  StringNBM_HOMEPAGE
    
final public static  StringNBM_MODULE_AUTHOR
    
final public static  StringNBM_NEEDS_RESTART
    
final public static  StringNB_PLATFORM_PROPERTY
    
final static  String[]SOURCE_LEVELS
    
final public static  StringSPEC_VERSION_BASE
    
final static  LoggerUI_LOG
    

Constructor Summary
 SingleModuleProperties(AntProjectHelper helper, PropertyEvaluator evaluator, SuiteProvider sp, NbModuleProvider.NbModuleType moduleType, LocalizedBundleInfo.Provider bundleInfoProvider)
    

Method Summary
 booleandependingOnImplDependency()
    
 FileevaluateFile(String currentLicence)
     Just use a combination of evaluator and resolver.
 JavaPlatformgetActiveJavaPlatform()
    
 NbPlatformgetActivePlatform()
     Returns currently set platform.
 String[]getAllTokens()
    
public  BooleangetAutoUpdateShowInClient()
    
 String[]getAvailableFriends()
     Returns sorted arrays of CNBs of available friends for this module.
 Set<String>getAvailablePublicPackages()
     Returns set of all available public packages for the project.
 LocalizedBundleInfogetBundleInfo()
    
 StringgetCodeNameBase()
     Returns code name base of the module this instance managing.
 Map<String, String>getDefaultValues()
    
 DependencyListModelgetDependenciesListModel()
     Returns list model of module's dependencies regarding the currently selected platform.
 FriendListModelgetFriendListModel()
    
 StringgetImplementationVersion()
    
public static  SingleModulePropertiesgetInstance(NbModuleProject project)
     Returns an instance of SingleModuleProperties for the given project.
 StringgetJarFile()
    
 StringgetMajorReleaseVersion()
    
 FilegetManifestFile()
    
 SortedSetgetModuleCategories()
     Returns a set of all available categories in the module's universe according to the currently selected platform ( SingleModuleProperties.getActivePlatform() )

Note: Don't call this method from EDT, since it may be really slow.

 ModuleListgetModuleList()
     Helper method to get the ModuleList for the project this instance manage.
 ProjectgetProject()
    
 StringgetProvidedTokens()
    
 PublicPackagesTableModelgetPublicPackagesModel()
    
 RequiredTokenListModelgetRequiredTokenListModel()
    
 StringgetSpecificationVersion()
    
 SuiteProjectgetSuite()
     Call only for suite component modules.
 FilegetSuiteDirectory()
    
 StringgetSuiteDirectoryPath()
    
 Set<ModuleDependency>getUniverseDependencies(boolean filterExcludedModules, boolean apiProvidersOnly)
     Returns a set of available ModuleDependency modules dependencies in the module's universe according to the currently selected SingleModuleProperties.getActivePlatform() platform .

Note: Don't call this method from EDT, since it may be really slow.

 Set<ModuleDependency>getUniverseDependencies(boolean filterExcludedModules)
     Delegates to SingleModuleProperties.getUniverseDependencies(boolean,boolean) with false as a second parameter.
 booleanisActivePlatformValid()
     Check whether the active platform is valid.
 booleanisModuleListRefreshNeeded()
    
 booleanisNetBeansOrg()
    
 booleanisStandalone()
    
 booleanisSuiteComponent()
    
 voidlibraryWrapperAdded()
    
protected  voidrefresh(NbModuleProvider.NbModuleType moduleType, SuiteProvider suiteProvider)
    
 booleanreloadModuleListInfo()
     Prepare all ModuleDependencies from this module's universe.
 voidsetActiveJavaPlatform(JavaPlatform nue)
    
 voidsetActivePlatform(NbPlatform newPlaf)
    
public  voidsetAutoUpdateShowInClient(Boolean autoUpdateShowInClient)
    
 voidsetImplementationVersion(String ver)
    
 voidsetMajorReleaseVersion(String ver)
    
public  voidsetModuleListRefreshNeeded(boolean moduleListRefreshNeeded)
    
 voidsetProvidedTokens(String tokens)
    
 voidsetSpecificationVersion(String ver)
    
 voidstoreProperties()
    

Field Detail
BUILD_COMPILER_DEBUG
final public static String BUILD_COMPILER_DEBUG(Code)



BUILD_COMPILER_DEPRECATION
final public static String BUILD_COMPILER_DEPRECATION(Code)



CLUSTER_DIR
final public static String CLUSTER_DIR(Code)



DEPENDENCIES_PROPERTY
final public static String DEPENDENCIES_PROPERTY(Code)



IS_AUTOLOAD
final public static String IS_AUTOLOAD(Code)



IS_EAGER
final public static String IS_EAGER(Code)



JAVAC_COMPILERARGS
final public static String JAVAC_COMPILERARGS(Code)

See Also:    "#66278"



JAVAC_SOURCE
final public static String JAVAC_SOURCE(Code)



JAVADOC_TITLE
final public static String JAVADOC_TITLE(Code)



JAVA_PLATFORM_PROPERTY
final public static String JAVA_PLATFORM_PROPERTY(Code)



LICENSE_FILE
final public static String LICENSE_FILE(Code)



NBM_HOMEPAGE
final public static String NBM_HOMEPAGE(Code)



NBM_MODULE_AUTHOR
final public static String NBM_MODULE_AUTHOR(Code)



NBM_NEEDS_RESTART
final public static String NBM_NEEDS_RESTART(Code)



NB_PLATFORM_PROPERTY
final public static String NB_PLATFORM_PROPERTY(Code)



SOURCE_LEVELS
final static String[] SOURCE_LEVELS(Code)



SPEC_VERSION_BASE
final public static String SPEC_VERSION_BASE(Code)



UI_LOG
final static Logger UI_LOG(Code)
UI Logger for apisupport




Constructor Detail
SingleModuleProperties
SingleModuleProperties(AntProjectHelper helper, PropertyEvaluator evaluator, SuiteProvider sp, NbModuleProvider.NbModuleType moduleType, LocalizedBundleInfo.Provider bundleInfoProvider)(Code)
Creates a new instance of SingleModuleProperties




Method Detail
dependingOnImplDependency
boolean dependingOnImplDependency()(Code)



evaluateFile
File evaluateFile(String currentLicence)(Code)
Just use a combination of evaluator and resolver. May return null if evaluating fails.



getActiveJavaPlatform
JavaPlatform getActiveJavaPlatform()(Code)



getActivePlatform
NbPlatform getActivePlatform()(Code)
Returns currently set platform. i.e. platform set in the Libraries panel. Note that it could be null for NetBeans.org modules.



getAllTokens
String[] getAllTokens()(Code)



getAutoUpdateShowInClient
public Boolean getAutoUpdateShowInClient()(Code)



getAvailableFriends
String[] getAvailableFriends()(Code)
Returns sorted arrays of CNBs of available friends for this module.



getAvailablePublicPackages
Set<String> getAvailablePublicPackages()(Code)
Returns set of all available public packages for the project.



getBundleInfo
LocalizedBundleInfo getBundleInfo()(Code)



getCodeNameBase
String getCodeNameBase()(Code)
Returns code name base of the module this instance managing.



getDefaultValues
Map<String, String> getDefaultValues()(Code)



getDependenciesListModel
DependencyListModel getDependenciesListModel()(Code)
Returns list model of module's dependencies regarding the currently selected platform.



getFriendListModel
FriendListModel getFriendListModel()(Code)



getImplementationVersion
String getImplementationVersion()(Code)



getInstance
public static SingleModuleProperties getInstance(NbModuleProject project)(Code)
Returns an instance of SingleModuleProperties for the given project.



getJarFile
String getJarFile()(Code)



getMajorReleaseVersion
String getMajorReleaseVersion()(Code)



getManifestFile
File getManifestFile()(Code)



getModuleCategories
SortedSet getModuleCategories()(Code)
Returns a set of all available categories in the module's universe according to the currently selected platform ( SingleModuleProperties.getActivePlatform() )

Note: Don't call this method from EDT, since it may be really slow. The AssertionError will be thrown if you try to do so.




getModuleList
ModuleList getModuleList() throws IOException(Code)
Helper method to get the ModuleList for the project this instance manage. Package-private only for unit tests.



getProject
Project getProject()(Code)



getProvidedTokens
String getProvidedTokens()(Code)



getPublicPackagesModel
PublicPackagesTableModel getPublicPackagesModel()(Code)



getRequiredTokenListModel
RequiredTokenListModel getRequiredTokenListModel()(Code)



getSpecificationVersion
String getSpecificationVersion()(Code)



getSuite
SuiteProject getSuite()(Code)
Call only for suite component modules.



getSuiteDirectory
File getSuiteDirectory()(Code)



getSuiteDirectoryPath
String getSuiteDirectoryPath()(Code)



getUniverseDependencies
Set<ModuleDependency> getUniverseDependencies(boolean filterExcludedModules, boolean apiProvidersOnly)(Code)
Returns a set of available ModuleDependency modules dependencies in the module's universe according to the currently selected SingleModuleProperties.getActivePlatform() platform .

Note: Don't call this method from EDT, since it may be really slow. The AssertionError will be thrown if you try to do so.
Parameters:
  filterExcludedModules - if true and this module is asuite component, modules excluded from the suite's module listwill be excluded from the returned set.
Parameters:
  apiProvidersOnly - if true only modules which providepublic packages and have friendly relationship with this modulewill be included in the returned set




getUniverseDependencies
Set<ModuleDependency> getUniverseDependencies(boolean filterExcludedModules)(Code)
Delegates to SingleModuleProperties.getUniverseDependencies(boolean,boolean) with false as a second parameter.



isActivePlatformValid
boolean isActivePlatformValid()(Code)
Check whether the active platform is valid.



isModuleListRefreshNeeded
boolean isModuleListRefreshNeeded()(Code)



isNetBeansOrg
boolean isNetBeansOrg()(Code)



isStandalone
boolean isStandalone()(Code)



isSuiteComponent
boolean isSuiteComponent()(Code)



libraryWrapperAdded
void libraryWrapperAdded()(Code)



refresh
protected void refresh(NbModuleProvider.NbModuleType moduleType, SuiteProvider suiteProvider)(Code)



reloadModuleListInfo
boolean reloadModuleListInfo()(Code)
Prepare all ModuleDependencies from this module's universe. Also prepare all categories. Package-private only for unit tests.



setActiveJavaPlatform
void setActiveJavaPlatform(JavaPlatform nue)(Code)



setActivePlatform
void setActivePlatform(NbPlatform newPlaf)(Code)



setAutoUpdateShowInClient
public void setAutoUpdateShowInClient(Boolean autoUpdateShowInClient)(Code)



setImplementationVersion
void setImplementationVersion(String ver)(Code)



setMajorReleaseVersion
void setMajorReleaseVersion(String ver)(Code)



setModuleListRefreshNeeded
public void setModuleListRefreshNeeded(boolean moduleListRefreshNeeded)(Code)



setProvidedTokens
void setProvidedTokens(String tokens)(Code)



setSpecificationVersion
void setSpecificationVersion(String ver)(Code)



storeProperties
void storeProperties() throws IOException(Code)



Fields inherited from org.netbeans.modules.apisupport.project.ui.customizer.ModuleProperties
final public static String PROPERTIES_REFRESHED(Code)(Java Doc)
final static RequestProcessor RP(Code)(Java Doc)
static boolean runFromTests(Code)(Java Doc)

Methods inherited from org.netbeans.modules.apisupport.project.ui.customizer.ModuleProperties
void addLazyStorage(LazyStorage st)(Code)(Java Doc)
public void addPropertyChangeListener(PropertyChangeListener pchl)(Code)(Java Doc)
static JavaPlatform findJavaPlatformByID(String id)(Code)(Java Doc)
public static JavaPlatform findJavaPlatformByLocation(String home)(Code)(Java Doc)
protected void firePropertiesRefreshed()(Code)(Java Doc)
protected void firePropertyChange(String propName, Object oldValue, Object newValue)(Code)(Java Doc)
final boolean getBooleanProperty(String key)(Code)(Java Doc)
abstract Map<String, String> getDefaultValues()(Code)(Java Doc)
PropertyEvaluator getEvaluator()(Code)(Java Doc)
AntProjectHelper getHelper()(Code)(Java Doc)
static String getPlatformID(JavaPlatform platform)(Code)(Java Doc)
EditableProperties getPrivateProperties()(Code)(Java Doc)
final String getProjectDirectory()(Code)(Java Doc)
final File getProjectDirectoryFile()(Code)(Java Doc)
String getProjectDisplayName()(Code)(Java Doc)
EditableProperties getProjectProperties()(Code)(Java Doc)
final String getProperty(String key)(Code)(Java Doc)
protected void reloadProperties()(Code)(Java Doc)
final String removePrivateProperty(String key)(Code)(Java Doc)
final String removeProperty(String key)(Code)(Java Doc)
public void removePropertyChangeListener(PropertyChangeListener pchl)(Code)(Java Doc)
protected static void reportLostPlatform(NbPlatform lostPlatform)(Code)(Java Doc)
final void setBooleanProperty(String key, boolean bProp)(Code)(Java Doc)
final void setPrivateProperty(String key, String value)(Code)(Java Doc)
final void setProperty(String key, String value)(Code)(Java Doc)
void setProperty(String key, String[] value)(Code)(Java Doc)
static void storeJavaPlatform(AntProjectHelper helper, PropertyEvaluator eval, JavaPlatform platform, boolean isNetBeansOrg) throws IOException(Code)(Java Doc)
static void storePlatform(AntProjectHelper helper, NbPlatform platform)(Code)(Java Doc)
void storeProperties() throws IOException(Code)(Java Doc)
void triggerLazyStorages()(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)

w_w___w_.__j___a__v__a2___s___.c___o_m_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.