blob: ab9d1f4cf15fa7f6a52896206ace1816f85775b1 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2007 IBM Corporation and others.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*
*******************************************************************************/
package org.eclipse.dltk.internal.corext.refactoring.tagging;
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();
}