|
Faceted Project Framework Version 1.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDynamicPreset
A dynamic preset is type of preset that needs to be resolved before it can be used. The resolve
operation relies the IPresetFactory
specified when the dynamic preset is registered via
the presets
extension point and can take into account the context in which the
preset will be used.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.wst.common.project.facet.core.IPreset |
---|
IPreset.Type |
Field Summary | |
---|---|
static String |
CONTEXT_KEY_FACETED_PROJECT
The key of the context map entry whose value is an IFacetedProjectBase object. |
static String |
CONTEXT_KEY_FIXED_FACETS
The key of the context map entry whose value is a set of IProjectFacet objects
representing the fixed facets. |
static String |
CONTEXT_KEY_PRIMARY_RUNTIME
The key of the context map entry whose value is the primary runtime ( IRuntime ) or
null if no runtime has been selected. |
Method Summary | |
---|---|
IPreset |
resolve(Map<String,Object> context)
Resolves the dynamic preset using the provided context information. |
Methods inherited from interface org.eclipse.wst.common.project.facet.core.IPreset |
---|
getDescription, getId, getLabel, getProjectFacets, getType, isUserDefined |
Field Detail |
---|
static final String CONTEXT_KEY_FACETED_PROJECT
IFacetedProjectBase
object.
static final String CONTEXT_KEY_FIXED_FACETS
IProjectFacet
objects
representing the fixed facets.
static final String CONTEXT_KEY_PRIMARY_RUNTIME
IRuntime
) or
null
if no runtime has been selected.
Method Detail |
---|
IPreset resolve(Map<String,Object> context)
null
.
context
- the information about context that this preset will be used in
null
|
Faceted Project Framework Version 1.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |