blob: 7fd520da8129f2b203b716fab4e4a3b05c892cfe [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2007 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
*******************************************************************************/
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();
}