Class ModelsScope
- java.lang.Object
 - 
- jetbrains.mps.smodel.BaseScope
 - 
- jetbrains.mps.ide.findusages.model.scopes.FindUsagesScope
 - 
- jetbrains.mps.ide.findusages.model.scopes.ModelsScope
 
 
 
 
- 
- All Implemented Interfaces:
 IExternalizeable,SearchScope
public class ModelsScope extends FindUsagesScope
 
- 
- 
Field Summary
- 
Fields inherited from class jetbrains.mps.ide.findusages.model.scopes.FindUsagesScope
myModels, myModules 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ModelsScope(Iterable<? extends SModel> models)ModelsScope(org.jdom.Element element, Project project)ModelsScope(SModel... models) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<SModule>getModules()StringtoString()voidwrite(org.jdom.Element element, Project project)- 
Methods inherited from class jetbrains.mps.ide.findusages.model.scopes.FindUsagesScope
addModel, addModule, getModels, load, primAddModel, primAddModule, read, save, scopeChanged 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface org.jetbrains.mps.openapi.module.SearchScope
resolve, resolve, resolve 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ModelsScope
public ModelsScope(SModel... models)
 
- 
ModelsScope
public ModelsScope(org.jdom.Element element, Project project) throws CantLoadSomethingException- Throws:
 CantLoadSomethingException
 
 - 
 
- 
Method Detail
- 
getModules
@NotNull public Iterable<SModule> getModules()
- Specified by:
 getModulesin interfaceSearchScope- Overrides:
 getModulesin classFindUsagesScope- Returns:
 - all modules 
jetbrains.mps.ide.findusages.findalgorithm.finders.Findershall look into for occurrences 
 
- 
write
public void write(org.jdom.Element element, Project project) throws CantSaveSomethingException- Specified by:
 writein interfaceIExternalizeable- Overrides:
 writein classFindUsagesScope- Throws:
 CantSaveSomethingException
 
 - 
 
 -