KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > corext > refactoring > reorg > IPackageFragmentRootManipulationQuery


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 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.reorg;
12
13 import org.eclipse.jdt.core.IJavaProject;
14 import org.eclipse.jdt.core.IPackageFragmentRoot;
15
16 /**
17  * Query that can be used when manipulating package fragment roots.
18  * Depending on the context, <code>confirmManipulation</code> can be used to
19  * determine whether, for example, the package fragment root is to be deleted or
20  * not or if the classpath of the referencing projects is to be updated.
21  */

22 public interface IPackageFragmentRootManipulationQuery {
23     
24     public boolean confirmManipulation(IPackageFragmentRoot root, IJavaProject[] referencingProjects);
25 }
26
Popular Tags