Class NodeOccurencesFinder
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.ui.refactoring.NodeOccurencesFinder
-
public class NodeOccurencesFinder extends Object
Special occurrences finder for tree ofINode
Use it in extract refactoring
-
-
Constructor Summary
Constructors Constructor Description NodeOccurencesFinder(org.eclipse.emf.ecore.EObject context, List<org.eclipse.xtext.nodemodel.INode> nodes, List<org.eclipse.xtext.util.Pair<Integer,Integer>> regionsForSearching)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.xtext.util.TextRegion[]
findAllOccurences()
Finds all occurrences by tree nodes
-
-
-
Constructor Detail
-
NodeOccurencesFinder
public NodeOccurencesFinder(org.eclipse.emf.ecore.EObject context, List<org.eclipse.xtext.nodemodel.INode> nodes, List<org.eclipse.xtext.util.Pair<Integer,Integer>> regionsForSearching)
Constructor- Parameters:
context
- current context element for searching occurences, can't benull
nodes
- all of tree nodes, can't benull
or emptyregionsForSearching
- regions for searching occurrences, can't benull
-
-