|
Faceted Project Framework Version 1.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPresetFactory
A preset factory is used for creating a dynamic preset. Unlike a static preset, which is fully specified from the start, a dynamic preset uses a factory to synthesize the preset definition on the fly based on the context in which it will be used.
Method Summary | |
---|---|
PresetDefinition |
createPreset(String presetId,
Map<String,Object> context)
The factory method for creating a preset definition. |
Method Detail |
---|
PresetDefinition createPreset(String presetId, Map<String,Object> context) throws CoreException
IDynamicPreset
for documentation on what type of information the context can contain.
presetId
- the id of the presetcontext
- the information about context that this preset will be used in
null
if this factory is not applicable
to the provided context
CoreException
- if failed while creating the preset definition
|
Faceted Project Framework Version 1.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |