/******************************************************************************* * Copyright (c) 2000, 2003 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ package net.sourceforge.phpdt.core; /** * A Java model region describes a hierarchical set of elements. Regions are * often used to describe a set of elements to be considered when performing * operations; for example, the set of elements to be considered during a * search. A region may include elements from different projects. *
* When an element is included in a region, all of its children are considered * to be included. Children of an included element cannot be selectively * excluded. *
*
* This interface is not intended to be implemented by clients. Instances can be
* created via the JavaCore.newRegion
.
*
true
if successful, false
if the remove
* fails. If an ancestor of the given element is included, the remove fails
* (in other words, it is not possible to selectively exclude descendants of
* included ancestors).
*
* @param element
* the given element
* @return true
if successful, false
if the
* remove fails
*/
boolean remove(IJavaElement element);
}