Author: scabanovich
Date: 2007-10-23 08:09:41 -0400 (Tue, 23 Oct 2007)
New Revision: 4449
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java
Log:
JBIDE-1134
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java 2007-10-23
11:55:57 UTC (rev 4448)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java 2007-10-23
12:09:41 UTC (rev 4449)
@@ -1014,7 +1014,7 @@
*/
public Set<ISeamContextVariable> getVariablesByName(String name) {
Set<ISeamContextVariable> result = new HashSet<ISeamContextVariable>();
- for (ISeamContextVariable v: allVariables) {
+ for (ISeamContextVariable v: getVariables(true)) {
if(name.equals(v.getName())) {
result.add(v);
}
@@ -1034,7 +1034,7 @@
*/
public Set<ISeamContextVariable> getVariablesByScope(ScopeType scope, boolean
addVisibleScopes) {
Set<ISeamContextVariable> result = new HashSet<ISeamContextVariable>();
- for (ISeamContextVariable v: allVariables) {
+ for (ISeamContextVariable v: getVariables(true)) {
if(isVisibleInScope(v, scope, addVisibleScopes)) {
result.add(v);
}
@@ -1239,7 +1239,7 @@
*/
public Set<ISeamContextVariable> getVariablesByPath(IPath path) {
Set<ISeamContextVariable> result = new HashSet<ISeamContextVariable>();
- for (ISeamContextVariable variable : allVariables) {
+ for (ISeamContextVariable variable : getVariables(true)) {
if(variable instanceof ISeamComponent) {
ISeamComponent c = (ISeamComponent)variable;
for (ISeamComponentDeclaration d: c.getAllDeclarations()) {
Show replies by date