Class GeneratedFinder
- java.lang.Object
 - 
- jetbrains.mps.ide.findusages.findalgorithm.finders.BaseFinder
 - 
- jetbrains.mps.ide.findusages.findalgorithm.finders.GeneratedFinder
 
 
 
- 
- All Implemented Interfaces:
 Finder,IFinder,IInterfacedFinder
public abstract class GeneratedFinder extends BaseFinder implements IInterfacedFinder
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface jetbrains.mps.ide.findusages.findalgorithm.finders.IFinder
IFinder.FindCallback 
 - 
 
- 
Constructor Summary
Constructors Constructor Description GeneratedFinder() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected SNodeReferencebuildNodePointer(SModelReference modelRef, String nodeId)booleancanNavigate()Is there any meaningful value other than true or getDeclarationNode != null?protected SearchResult<SNode>createSingleResult(SNode usage)protected voiddoFind(SNode node, SearchScope scope, List<SNode> _results, ProgressMonitor monitor)Deprecated.protected voiddoFind0(SNode node, SearchScope scope, IFinder.FindCallback callback, ProgressMonitor monitor)voidfind(SearchQuery query, IFinder.FindCallback callback, ProgressMonitor monitor)the default behavior is provided in order to guarantee a two-way compatibilitySNodeReferencegetDeclarationNode()List<SNode>getElementsToLookFor(SNode toSearch, SearchScope scope)StringgetLongDescription()StringgetNodeCategory(SNode node)voidgetSearchedNodes(SNode node, SearchScope scope, List<SNode> _results)Deprecated.booleanisApplicable(SNode node)booleanisUsedByDefault(SNode node)booleanisVisible(SNode node)- 
Methods inherited from class jetbrains.mps.ide.findusages.findalgorithm.finders.BaseFinder
getDescription 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface jetbrains.mps.ide.findusages.findalgorithm.finders.IInterfacedFinder
getDescription, getSConcept 
 - 
 
 - 
 
- 
- 
Method Detail
- 
isApplicable
public boolean isApplicable(SNode node)
- Specified by:
 isApplicablein interfaceIInterfacedFinder
 
- 
isVisible
public boolean isVisible(SNode node)
- Specified by:
 isVisiblein interfaceIInterfacedFinder
 
- 
isUsedByDefault
public boolean isUsedByDefault(SNode node)
- Specified by:
 isUsedByDefaultin interfaceIInterfacedFinder
 
- 
getLongDescription
public String getLongDescription()
- Specified by:
 getLongDescriptionin interfaceIInterfacedFinder
 
- 
getDeclarationNode
@Nullable public SNodeReference getDeclarationNode()
- Specified by:
 getDeclarationNodein interfaceIInterfacedFinder
 
- 
buildNodePointer
protected SNodeReference buildNodePointer(SModelReference modelRef, String nodeId)
 
- 
canNavigate
public boolean canNavigate()
Description copied from interface:IInterfacedFinderIs there any meaningful value other than true or getDeclarationNode != null?- Specified by:
 canNavigatein interfaceIInterfacedFinder
 
- 
doFind
@Deprecated protected void doFind(SNode node, SearchScope scope, List<SNode> _results, ProgressMonitor monitor)
Deprecated.both methods are to become abstract 
- 
doFind0
protected void doFind0(@NotNull SNode node, @NotNull SearchScope scope, @NotNull IFinder.FindCallback callback, @NotNull ProgressMonitor monitor)
 
- 
getSearchedNodes
@Deprecated public void getSearchedNodes(SNode node, SearchScope scope, List<SNode> _results)
Deprecated.I suggest #getXXX method to return smth instead of this 
- 
getElementsToLookFor
@NotNull public List<SNode> getElementsToLookFor(@NotNull SNode toSearch, @NotNull SearchScope scope)
 
- 
createSingleResult
@NotNull protected SearchResult<SNode> createSingleResult(@NotNull SNode usage)
 
- 
find
public void find(@NotNull SearchQuery query, @NotNull IFinder.FindCallback callback, @NotNull ProgressMonitor monitor)
Description copied from interface:IFinderthe default behavior is provided in order to guarantee a two-way compatibility 
 - 
 
 -