Author: scabanovich
Date: 2011-05-02 15:05:25 -0400 (Mon, 02 May 2011)
New Revision: 31004
Modified:
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/text/ITextSourceReference.java
Log:
JBIDE-8832
https://issues.jboss.org/browse/JBIDE-8832
Modified:
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/text/ITextSourceReference.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/text/ITextSourceReference.java 2011-05-02
19:04:27 UTC (rev 31003)
+++
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/text/ITextSourceReference.java 2011-05-02
19:05:25 UTC (rev 31004)
@@ -10,6 +10,8 @@
******************************************************************************/
package org.jboss.tools.common.text;
+import org.eclipse.core.resources.IResource;
+
/**
* An interface of seam tools model object that has text source.
* @author Alexey Kazakov
@@ -25,4 +27,11 @@
* @return number of characters of element in text
*/
int getLength();
+
+ /**
+ *
+ * @return resource to which this object references; may return null, if this object
references source that is not a IResource object
+ */
+ IResource getResource();
+
}
\ No newline at end of file