| package org.eclipse.wst.xsd.ui.internal.refactor; |
| |
| public interface IReferenceUpdating { |
| |
| /** |
| * Checks if this refactoring object is capable of updating references to the renamed element. |
| */ |
| public boolean canEnableUpdateReferences(); |
| |
| /** |
| * If <code>canUpdateReferences</code> returns <code>true</code>, then this method is used to |
| * inform the refactoring object whether references should be updated. |
| * This call can be ignored if <code>canUpdateReferences</code> returns <code>false</code>. |
| */ |
| public void setUpdateReferences(boolean update); |
| |
| /** |
| * If <code>canUpdateReferences</code> returns <code>true</code>, then this method is used to |
| * ask the refactoring object whether references should be updated. |
| * This call can be ignored if <code>canUpdateReferences</code> returns <code>false</code>. |
| */ |
| public boolean getUpdateReferences(); |
| |
| } |