blob: c123b964a46a62d051adbc40dc939bd938c39de6 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*
*******************************************************************************/
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();
}