|
Faceted Project Framework Version 1.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPreset
A preset is a user convenience mechanism for quickly selecting a predefined set of project
facets. Presets can be defined by plugin writers through the supplied presets
extension point as well as by end users. User-defined presets are stored in the workspace.
Nested Class Summary | |
---|---|
static class |
IPreset.Type
The enumberation of preset types. |
Method Summary | |
---|---|
String |
getDescription()
Returns the description of the preset. |
String |
getId()
Returns the id of the preset. |
String |
getLabel()
Returns the label that should be used when presenting the preset to the user. |
Set<IProjectFacetVersion> |
getProjectFacets()
Returns the project facets that are part of this preset. |
IPreset.Type |
getType()
Returns the type of the preset. |
boolean |
isUserDefined()
Deprecated. use the getType() method instead |
Method Detail |
---|
String getId()
IPreset.Type getType()
IPreset.Type.DYNAMIC
, then the preset
object can be cast to IDynamicPreset
.
String getLabel()
String getDescription()
Set<IProjectFacetVersion> getProjectFacets()
boolean isUserDefined()
getType()
method instead
true
if the preset is user-defined,
false
otherwise
|
Faceted Project Framework Version 1.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |