01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 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.reorg;
11:
12: import org.eclipse.jdt.core.IJavaProject;
13: import org.eclipse.jdt.core.IPackageFragmentRoot;
14:
15: /**
16: * Query that can be used when manipulating package fragment roots.
17: * Depending on the context, <code>confirmManipulation</code> can be used to
18: * determine whether, for example, the package fragment root is to be deleted or
19: * not or if the classpath of the referencing projects is to be updated.
20: */
21: public interface IPackageFragmentRootManipulationQuery {
22:
23: public boolean confirmManipulation(IPackageFragmentRoot root,
24: IJavaProject[] referencingProjects);
25: }
|