KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ant > internal > ui > preferences > IClasspathEntry


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
12 package org.eclipse.ant.internal.ui.preferences;
13
14 import org.eclipse.ant.core.IAntClasspathEntry;
15
16 public interface IClasspathEntry extends IAntClasspathEntry {
17     
18     /**
19      * Returns the classpath entries that are the children of this classpath entry
20      *
21      * @return the child classpath entries of this entry
22      */

23     public IAntClasspathEntry[] getEntries();
24     
25     /**
26      * Returns whether this classpath entries has child entries.
27      *
28      * @return whether <code>true</code> if this classpath entry has childern, <code>false</code> otherwise.
29      */

30     public boolean hasEntries();
31     
32     /**
33      * Returns the parent of this classpath entry
34      *
35      * @return the parent of this classpath entry, or <code>null</code> if none.
36      */

37     public IClasspathEntry getParent();
38 }
39
Popular Tags