|
Faceted Project Framework Version 1.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IProjectFacet
Contains metadata that describes a project facet. This interface is not intended to be implemented by clients.
Field Summary | |
---|---|
static String |
PROP_HIDE_VERSION
The name of the property that's used for suggesting to the framework that this facet's version does not convey a special meaning and should be hidden where possible. |
Method Summary | |
---|---|
ICategory |
getCategory()
Returns the category, if any, that this project facet belongs to. |
IProjectFacetVersion |
getDefaultVersion()
Returns the facet version that should be selected by default. |
String |
getDescription()
Returns the project facet description. |
String |
getId()
Returns the project facet identifier. |
String |
getLabel()
Returns the project facet label. |
IProjectFacetVersion |
getLatestSupportedVersion(IRuntime runtime)
Returns the latest version of the project facet that is supported by the given runtime. |
IProjectFacetVersion |
getLatestVersion()
Returns the latest version of the project facet that exists. |
String |
getPluginId()
Returns the id of the plugin that defines this project facet. |
Map<String,Object> |
getProperties()
Returns the properties that specify additional information regarding this facet. |
Object |
getProperty(String name)
Returns the property value corresponding to the provided name. |
List<IProjectFacetVersion> |
getSortedVersions(boolean ascending)
Returns a sorted list containing the descriptors of all versions of this project facet. |
IProjectFacetVersion |
getVersion(String version)
Returns the descriptor of the given project facet version. |
Comparator<String> |
getVersionComparator()
Returns the version comparator specified for this project facet. |
Set<IProjectFacetVersion> |
getVersions()
Returns the descriptors of all versions of this project facet. |
Set<IProjectFacetVersion> |
getVersions(String expr)
|
boolean |
hasVersion(String version)
Determines whether the specified project facet version exists. |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Field Detail |
---|
static final String PROP_HIDE_VERSION
Method Detail |
---|
String getId()
String getPluginId()
null
if this facet is not defined.
null
String getLabel()
String getDescription()
ICategory getCategory()
null
Set<IProjectFacetVersion> getVersions()
Set<IProjectFacetVersion> getVersions(String expr) throws CoreException
CoreException
boolean hasVersion(String version)
version
- the verson string
true
if the specified project facet version exists,
false
otherwiseIProjectFacetVersion getVersion(String version)
version
- the version string
null
IProjectFacetVersion getLatestVersion() throws VersionFormatException, CoreException
VersionFormatException
CoreException
IProjectFacetVersion getLatestSupportedVersion(IRuntime runtime) throws CoreException
runtime
- the runtime
CoreException
IProjectFacetVersion getDefaultVersion()
getLatestVersion()
method) will
be returned.
List<IProjectFacetVersion> getSortedVersions(boolean ascending) throws VersionFormatException, CoreException
ascending
- whether version descriptors should be sorted in
ascending order
VersionFormatException
CoreException
Comparator<String> getVersionComparator() throws CoreException
DefaultVersionComparator
.
CoreException
Map<String,Object> getProperties()
Object getProperty(String name)
name
- the name of the property
|
Faceted Project Framework Version 1.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |