|
Eclipse Platform Release 3.2 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Creates search scope objects from the provided preference store. Classes that implement this interface should take settings manipulated in the search scope preference pages and create scope objects that are required by search engines. Search engine and scope factory are defined together in the same extension point, hence the actual implementation of ISearchScope is up to the contributor.
Method Summary | |
---|---|
ISearchScope |
createSearchScope(IPreferenceStore store,
String engineId,
Dictionary parameters)
Returns a new search scope object created from the data in the preference store. |
Method Detail |
public ISearchScope createSearchScope(IPreferenceStore store, String engineId, Dictionary parameters)
In cases where conflicting values can be found in the preference store and parameters, preference store should win i.e. parameters should be treated as default values only.
store
- the preference store that holds the scope dataengineId
- identifier of the engine instance that needs the scope object.parameters
- configuration parameters provided in the engine extension
point. They should be used as default values and preference
store values (if defined) should be given precedance.
|
Eclipse Platform Release 3.2 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.