KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > corext > refactoring > tagging > IQualifiedNameUpdatingRefactoring


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 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 IQualifiedNameUpdatingRefactoring {
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 JavaDoc getFilePatterns();
39     
40     public void setFilePatterns(String JavaDoc patterns);
41 }
42
43
44
Popular Tags