Author: scabanovich
Date: 2009-05-15 12:38:06 -0400 (Fri, 15 May 2009)
New Revision: 15307
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamSearchVisitor.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2808
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamSearchVisitor.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamSearchVisitor.java 2009-05-15
16:37:41 UTC (rev 15306)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamSearchVisitor.java 2009-05-15
16:38:06 UTC (rev 15307)
@@ -100,6 +100,7 @@
import org.jboss.tools.common.el.core.parser.ELParserUtil;
import org.jboss.tools.common.el.core.resolver.ElVarSearcher;
import org.jboss.tools.common.el.core.resolver.Var;
+import org.jboss.tools.common.model.project.ext.ITextSourceReference;
import org.jboss.tools.common.model.util.EclipseJavaUtil;
import org.jboss.tools.seam.core.BijectedAttributeType;
import org.jboss.tools.seam.core.IBijectedAttribute;
@@ -111,7 +112,6 @@
import org.jboss.tools.seam.core.ISeamDeclaration;
import org.jboss.tools.seam.core.ISeamJavaSourceReference;
import org.jboss.tools.seam.core.ISeamProject;
-import org.jboss.tools.seam.core.ISeamTextSourceReference;
import org.jboss.tools.seam.core.SeamCoreMessages;
import org.jboss.tools.seam.core.SeamCorePlugin;
import org.jboss.tools.seam.internal.core.AbstractSeamDeclaration;
@@ -849,7 +849,7 @@
IResource resource = decl.getResource();
String name = decl.getName();
- ISeamTextSourceReference textSourceReference =
decl.getLocationFor(AbstractSeamDeclaration.PATH_OF_NAME);
+ ITextSourceReference textSourceReference =
decl.getLocationFor(AbstractSeamDeclaration.PATH_OF_NAME);
if (textSourceReference != null) {
int offset = textSourceReference.getStartPosition();
int length = textSourceReference.getLength();
@@ -878,7 +878,7 @@
IResource resource = decl.getResource();
String name = decl.getName();
- ISeamTextSourceReference textSourceReference =
decl.getLocationFor(AbstractSeamDeclaration.PATH_OF_NAME);
+ ITextSourceReference textSourceReference =
decl.getLocationFor(AbstractSeamDeclaration.PATH_OF_NAME);
if (textSourceReference != null) {
int offset = textSourceReference.getStartPosition();
int length = textSourceReference.getLength();
@@ -906,7 +906,7 @@
IResource resource = decl.getResource();
String name = decl.getName();
- ISeamTextSourceReference textSourceReference =
decl.getLocationFor(AbstractSeamDeclaration.PATH_OF_NAME);
+ ITextSourceReference textSourceReference =
decl.getLocationFor(AbstractSeamDeclaration.PATH_OF_NAME);
if (textSourceReference != null) {
int offset = textSourceReference.getStartPosition();
int length = textSourceReference.getLength();
@@ -927,7 +927,7 @@
IResource resource = decl.getResource();
String name = decl.getName();
- ISeamTextSourceReference textSourceReference =
decl.getLocationFor(AbstractSeamDeclaration.PATH_OF_NAME);
+ ITextSourceReference textSourceReference =
decl.getLocationFor(AbstractSeamDeclaration.PATH_OF_NAME);
if (textSourceReference != null) {
int offset = textSourceReference.getStartPosition();
int length = textSourceReference.getLength();