Author: vrubezhny
Date: 2008-12-30 10:03:29 -0500 (Tue, 30 Dec 2008)
New Revision: 12856
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELCompletionEngine.java
Log:
JBIDE-3474 Find Seam References/Declarations (Shift-Ctrl-G/Ctrl-G) doesn't work.
The changes are made due to resolve the issue
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELCompletionEngine.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELCompletionEngine.java 2008-12-30
15:03:11 UTC (rev 12855)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELCompletionEngine.java 2008-12-30
15:03:29 UTC (rev 12856)
@@ -71,7 +71,7 @@
SeamCorePlugin.getDefault().getImage(SeamCorePlugin.CA_SEAM_MESSAGES_IMAGE_PATH);
ISeamProject project;
- ELParserFactory factory = ELParserUtil.getJbossFactory();
+ private static ELParserFactory factory = ELParserUtil.getJbossFactory();
/**
* Constructs SeamELCompletionEngine object
*/
@@ -886,11 +886,11 @@
* @param end end of relevant region in document
* @return
*/
- public ELInvocationExpression findExpressionAtOffset(IDocument document, int offset, int
start, int end) {
+ public static ELInvocationExpression findExpressionAtOffset(IDocument document, int
offset, int start, int end) {
return findExpressionAtOffset(document.get(), offset, start, end);
}
- public ELInvocationExpression findExpressionAtOffset(String content, int offset, int
start, int end) {
+ public static ELInvocationExpression findExpressionAtOffset(String content, int offset,
int start, int end) {
//TODO this naive calculations should be removed;
// this method should be called with reasonable start and end.
Show replies by date