|
Modelers | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.topcased.search.core.engine.ModelSearchScopeFactory
public final class ModelSearchScopeFactory
| Constructor Summary | |
|---|---|
ModelSearchScopeFactory()
|
|
| Method Summary | |
|---|---|
IModelSearchScope |
createModelProjectSearchScope(AbstractModelExtensibleSearchParameters params,
java.lang.String[] projectNames)
Populates ModelSearchScope with potential resource participants for the
given Project names array. |
IModelSearchScope |
createModelSearchScope(AbstractModelExtensibleSearchParameters params,
org.eclipse.ui.IWorkingSet[] workingSets)
Populates ModelSearchScope with potential resource participants for the
given IWorkingSet array. |
IModelSearchScope |
createModelSearchScope(AbstractModelExtensibleSearchParameters params,
java.lang.Object selection)
Populates ModelSearchScope with potential resource participants for the
given workspace selection. |
IModelSearchScope |
createModelWorkspaceScope(AbstractModelExtensibleSearchParameters params)
Populates ModelSearchScope with potential resource participants for the
workspace root. |
static ModelSearchScopeFactory |
getInstance()
Singleton access to the ModelSearchScopeFactory instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModelSearchScopeFactory()
| Method Detail |
|---|
public static ModelSearchScopeFactory getInstance()
public IModelSearchScope createModelWorkspaceScope(AbstractModelExtensibleSearchParameters params)
ModelSearchScope with potential resource participants for the
workspace root.
params - Current search query parameters
ModelSearchScope if any potential participant matching
public IModelSearchScope createModelSearchScope(AbstractModelExtensibleSearchParameters params,
java.lang.Object selection)
ModelSearchScope with potential resource participants for the
given workspace selection.
params - Current search query parametersselection - IStructuredSelection coming from current search scope selection
ModelSearchScope if any potential participant matching
public IModelSearchScope createModelProjectSearchScope(AbstractModelExtensibleSearchParameters params,
java.lang.String[] projectNames)
ModelSearchScope with potential resource participants for the
given Project names array.
params - Current search query parametersprojectNames - Project names array coming from current search scope selection
ModelSearchScope if any potential participant matching
public IModelSearchScope createModelSearchScope(AbstractModelExtensibleSearchParameters params,
org.eclipse.ui.IWorkingSet[] workingSets)
ModelSearchScope with potential resource participants for the
given IWorkingSet array.
params - Current search query parametersworkingSets - WorkingSet array coming from current search scope selection
ModelSearchScope if any potential participant matching
|
Modelers | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.