Author: scabanovich
Date: 2012-05-08 20:31:35 -0400 (Tue, 08 May 2012)
New Revision: 40864
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/el/refactoring/RenameELVariableProcessor.java
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/el/refactoring/RenameMessagePropertyProcessor.java
Log:
JBIDE-11682
https://issues.jboss.org/browse/JBIDE-11682
Progress monitor is passed to the searcher.
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/el/refactoring/RenameELVariableProcessor.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/el/refactoring/RenameELVariableProcessor.java 2012-05-09
00:30:49 UTC (rev 40863)
+++
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/el/refactoring/RenameELVariableProcessor.java 2012-05-09
00:31:35 UTC (rev 40864)
@@ -138,7 +138,7 @@
if(managedBean != null){
Change managedBeanChange = RenameModelObjectChange.createChange(new
XModelObject[]{managedBean}, getNewName(), MANAGED_BEAN_NAME_ATTRIBUTE);
rootChange.add(managedBeanChange);
- getSearcher().findELReferences();
+ getSearcher().findELReferences(pm);
}
}
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/el/refactoring/RenameMessagePropertyProcessor.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/el/refactoring/RenameMessagePropertyProcessor.java 2012-05-09
00:30:49 UTC (rev 40863)
+++
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/el/refactoring/RenameMessagePropertyProcessor.java 2012-05-09
00:31:35 UTC (rev 40864)
@@ -166,7 +166,7 @@
TextFileChange change = getChange((IFile)segment.getMessageBundleResource());
TextEdit edit = new
ReplaceEdit(segment.getMessagePropertySourceReference().getStartPosition(),
segment.getMessagePropertySourceReference().getLength(), getNewName());
change.addEdit(edit);
- getSearcher().findELReferences();
+ getSearcher().findELReferences(pm);
}
class MessagePropertySearcher extends ELSearcher{