diff options
author | pavery | 2005-11-10 04:42:03 +0000 |
---|---|---|
committer | pavery | 2005-11-10 04:42:03 +0000 |
commit | 9e8f240065ff08d804dd3c8f61f90e2b7f408edf (patch) | |
tree | 9e331fabda3606ab9a3d2f7e18a308027fbc7717 /bundles/org.eclipse.jst.jsp.ui/src/org/eclipse/jst/jsp/ui/internal/java/search/JSPFindOccurrencesProcessor.java | |
parent | 3d1c39a8cd7fd854fbefb3dc57d9e03daecaabcc (diff) | |
download | webtools.sourceediting-9e8f240065ff08d804dd3c8f61f90e2b7f408edf.tar.gz webtools.sourceediting-9e8f240065ff08d804dd3c8f61f90e2b7f408edf.tar.xz webtools.sourceediting-9e8f240065ff08d804dd3c8f61f90e2b7f408edf.zip |
[114597] reversing changes for further discussion
Diffstat (limited to 'bundles/org.eclipse.jst.jsp.ui/src/org/eclipse/jst/jsp/ui/internal/java/search/JSPFindOccurrencesProcessor.java')
-rw-r--r-- | bundles/org.eclipse.jst.jsp.ui/src/org/eclipse/jst/jsp/ui/internal/java/search/JSPFindOccurrencesProcessor.java | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/bundles/org.eclipse.jst.jsp.ui/src/org/eclipse/jst/jsp/ui/internal/java/search/JSPFindOccurrencesProcessor.java b/bundles/org.eclipse.jst.jsp.ui/src/org/eclipse/jst/jsp/ui/internal/java/search/JSPFindOccurrencesProcessor.java index 4462e6c9ae..a8742cb1fa 100644 --- a/bundles/org.eclipse.jst.jsp.ui/src/org/eclipse/jst/jsp/ui/internal/java/search/JSPFindOccurrencesProcessor.java +++ b/bundles/org.eclipse.jst.jsp.ui/src/org/eclipse/jst/jsp/ui/internal/java/search/JSPFindOccurrencesProcessor.java @@ -16,7 +16,6 @@ import org.eclipse.core.resources.IFile; import org.eclipse.jdt.core.IJavaElement; import org.eclipse.jface.text.IDocument; import org.eclipse.jface.text.ITextSelection; -import org.eclipse.jst.jsp.core.internal.java.IELHandler; import org.eclipse.jst.jsp.core.internal.java.IJSPTranslation; import org.eclipse.jst.jsp.core.internal.java.JSPTranslation; import org.eclipse.jst.jsp.core.internal.java.JSPTranslationAdapter; @@ -36,12 +35,6 @@ import org.eclipse.wst.xml.core.internal.regions.DOMRegionContext; */ public class JSPFindOccurrencesProcessor extends FindOccurrencesProcessor { - protected IELHandler fELHandler; - - public JSPFindOccurrencesProcessor(IELHandler handler) { - fELHandler = handler; - } - protected String[] getPartitionTypes() { return new String[]{IJSPPartitionTypes.JSP_DEFAULT, IJSPPartitionTypes.JSP_CONTENT_JAVA}; } @@ -73,7 +66,7 @@ public class JSPFindOccurrencesProcessor extends FindOccurrencesProcessor { IDOMDocument xmlDoc = ((IDOMModel) model).getDocument(); JSPTranslationAdapter adapter = (JSPTranslationAdapter) xmlDoc.getAdapterFor(IJSPTranslation.class); if (adapter != null) { - JSPTranslation translation = adapter.getJSPTranslation(fELHandler); + JSPTranslation translation = adapter.getJSPTranslation(); // https://bugs.eclipse.org/bugs/show_bug.cgi?id=102211 elements = translation.getElementsFromJspRange(selection.getOffset(), selection.getOffset() + selection.getLength()); |