Lines 1-5
Link Here
|
1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
2 |
* Copyright (c) 2000, 2009 IBM Corporation and others. |
2 |
* Copyright (c) 2000, 2010 IBM Corporation and others. |
3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
Lines 27-32
Link Here
|
27 |
* <li> project entries (<code>CPE_PROJECT</code>) </li> |
27 |
* <li> project entries (<code>CPE_PROJECT</code>) </li> |
28 |
* </ul> |
28 |
* </ul> |
29 |
* In particular, a classpath container can neither reference further classpath containers or classpath variables. |
29 |
* In particular, a classpath container can neither reference further classpath containers or classpath variables. |
|
|
30 |
* <p> |
31 |
* A library entry can reference other libraries through the Class-Path section of the JAR's MANIFEST.MF file. If the |
32 |
* container wants such referenced entries to be part of the classpath, the container must explicitly add them to the |
33 |
* array returned from {@link #getClasspathEntries()}. |
30 |
* <p> |
34 |
* <p> |
31 |
* Classpath container values are persisted locally to the workspace, but are not preserved from a |
35 |
* Classpath container values are persisted locally to the workspace, but are not preserved from a |
32 |
* session to another. It is thus highly recommended to register a <code>ClasspathContainerInitializer</code> |
36 |
* session to another. It is thus highly recommended to register a <code>ClasspathContainerInitializer</code> |
Lines 63-69
Link Here
|
63 |
* </ul> |
67 |
* </ul> |
64 |
* A classpath container can neither reference further classpath containers |
68 |
* A classpath container can neither reference further classpath containers |
65 |
* or classpath variables. |
69 |
* or classpath variables. |
66 |
* </p> |
70 |
* <p> |
|
|
71 |
* A library entry can reference other libraries through the Class-Path section of the JAR's MANIFEST.MF file. If |
72 |
* the container wants such referenced entries to be part of the classpath, the container must explicitly add them |
73 |
* to the result. |
67 |
* <p> |
74 |
* <p> |
68 |
* This method is called by the Java model when it needs to resolve this |
75 |
* This method is called by the Java model when it needs to resolve this |
69 |
* classpath container entry into a list of library and project entries. |
76 |
* classpath container entry into a list of library and project entries. |
Lines 80-85
Link Here
|
80 |
* <li>{@link JavaCore#newProjectEntry(IPath, boolean)} and variants</li> |
87 |
* <li>{@link JavaCore#newProjectEntry(IPath, boolean)} and variants</li> |
81 |
* <li>{@link JavaCore#create(org.eclipse.core.resources.IWorkspaceRoot)}</li> |
88 |
* <li>{@link JavaCore#create(org.eclipse.core.resources.IWorkspaceRoot)}</li> |
82 |
* <li>{@link JavaCore#create(org.eclipse.core.resources.IProject)}</li> |
89 |
* <li>{@link JavaCore#create(org.eclipse.core.resources.IProject)}</li> |
|
|
90 |
* <li>{@link JavaCore#getReferencedClasspathEntries(IClasspathEntry, IJavaProject)} with <code>null</code> as project</li> |
83 |
* <li>{@link IJavaModel#getJavaProjects()}</li> |
91 |
* <li>{@link IJavaModel#getJavaProjects()}</li> |
84 |
* <li>{@link IJavaProject#getRawClasspath()}</li> |
92 |
* <li>{@link IJavaProject#getRawClasspath()}</li> |
85 |
* <li>{@link IJavaProject#readRawClasspath()}</li> |
93 |
* <li>{@link IJavaProject#readRawClasspath()}</li> |