Author: scabanovich
Date: 2010-10-15 12:21:55 -0400 (Fri, 15 Oct 2010)
New Revision: 25877
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/handlers/bean/JSFRenameFieldParticipant.java
Log:
JBIDE-7299
https://jira.jboss.org/browse/JBIDE-7299
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/handlers/bean/JSFRenameFieldParticipant.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/handlers/bean/JSFRenameFieldParticipant.java 2010-10-15
16:17:45 UTC (rev 25876)
+++
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/handlers/bean/JSFRenameFieldParticipant.java 2010-10-15
16:21:55 UTC (rev 25877)
@@ -57,6 +57,7 @@
public Change createChange(IProgressMonitor pm) throws CoreException,
OperationCanceledException {
if (!pm.isCanceled()) {
+ if(!updateReferences() && object == null) return null;
String newName = getArguments().getNewName();
if (field != null) {
JSFRenameFieldChange c2 = new JSFRenameFieldChange(field, newName);