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
BUILD_COMPILER_DEBUG final public static String BUILD_COMPILER_DEBUG (Code)
BUILD_COMPILER_DEPRECATION final public static String BUILD_COMPILER_DEPRECATION (Code)
DEPENDENCIES_PROPERTY final public static String DEPENDENCIES_PROPERTY (Code)
JAVAC_COMPILERARGS final public static String JAVAC_COMPILERARGS (Code) See Also: "#66278"
JAVA_PLATFORM_PROPERTY final public static String JAVA_PLATFORM_PROPERTY (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)
SPEC_VERSION_BASE final public static String SPEC_VERSION_BASE (Code)
UI_LOG final static Logger UI_LOG (Code) UI Logger for apisupport
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.
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.
getCodeNameBase String getCodeNameBase() (Code) Returns code name base of the module this instance managing.
getDependenciesListModel DependencyListModel getDependenciesListModel() (Code) Returns list model of module's dependencies regarding the currently
selected platform.
getFriendListModel FriendListModel getFriendListModel() (Code)
getImplementationVersion String getImplementationVersion() (Code)
getMajorReleaseVersion String getMajorReleaseVersion() (Code)
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)
getPublicPackagesModel PublicPackagesTableModel getPublicPackagesModel() (Code)
getRequiredTokenListModel RequiredTokenListModel getRequiredTokenListModel() (Code)
getSpecificationVersion String getSpecificationVersion() (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
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)
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)
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)
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)