]> git.uio.no Git - ifi-stolz-refaktor.git/blob - case-study/jdt-after/core refactoring/org/eclipse/jdt/internal/corext/refactoring/tagging/IQualifiedNameUpdating.java
Case Study: adding data and statistics
[ifi-stolz-refaktor.git] / case-study / jdt-after / core refactoring / org / eclipse / jdt / internal / corext / refactoring / tagging / IQualifiedNameUpdating.java
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
7  *
8  * Contributors:
9  *     IBM Corporation - initial API and implementation
10  *******************************************************************************/
11 package org.eclipse.jdt.internal.corext.refactoring.tagging;
12
13 public interface IQualifiedNameUpdating {
14
15         /**
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.
19          */
20         public boolean canEnableQualifiedNameUpdating();
21
22         /**
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>.
27          */
28         public boolean getUpdateQualifiedNames();
29
30         /**
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>.
35          */
36         public void setUpdateQualifiedNames(boolean update);
37
38         public String getFilePatterns();
39
40         public void setFilePatterns(String patterns);
41 }
42
43