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