1 /*******************************************************************************
2 * Copyright (c) 2000, 2008 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
9 * IBM Corporation - initial API and implementation
10 *******************************************************************************/
11 package org.eclipse.jdt.internal.corext.refactoring.tagging;
13 public interface IQualifiedNameUpdating {
16 * Performs a dynamic check whether this refactoring object is capable of
17 * updating qualified names in non Java files. The return value of this
18 * method may change according to the state of the refactoring.
20 public boolean canEnableQualifiedNameUpdating();
23 * If <code>canEnableQualifiedNameUpdating</code> returns <code>true</code>,
24 * then this method is used to ask the refactoring object whether references
25 * in non Java files should be updated. This call can be ignored if
26 * <code>canEnableQualifiedNameUpdating</code> returns <code>false</code>.
28 public boolean getUpdateQualifiedNames();
31 * If <code>canEnableQualifiedNameUpdating</code> returns <code>true</code>,
32 * then this method is used to inform the refactoring object whether
33 * references in non Java files should be updated. This call can be ignored
34 * if <code>canEnableQualifiedNameUpdating</code> returns <code>false</code>.
36 public void setUpdateQualifiedNames(boolean update);
38 public String getFilePatterns();
40 public void setFilePatterns(String patterns);