Lines 1-5
Link Here
|
1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
2 |
* Copyright (c) 2000, 2010 IBM Corporation and others. |
2 |
* Copyright (c) 2000, 2011 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 17-22
Link Here
|
17 |
import org.eclipse.core.resources.*; |
17 |
import org.eclipse.core.resources.*; |
18 |
import org.eclipse.core.runtime.*; |
18 |
import org.eclipse.core.runtime.*; |
19 |
import org.eclipse.jdt.launching.JavaRuntime; |
19 |
import org.eclipse.jdt.launching.JavaRuntime; |
|
|
20 |
import org.eclipse.pde.core.IBundleClasspathResolver; |
20 |
import org.eclipse.pde.core.plugin.IPluginModelBase; |
21 |
import org.eclipse.pde.core.plugin.IPluginModelBase; |
21 |
import org.eclipse.pde.core.project.IBundleProjectService; |
22 |
import org.eclipse.pde.core.project.IBundleProjectService; |
22 |
import org.eclipse.pde.internal.core.builders.FeatureRebuilder; |
23 |
import org.eclipse.pde.internal.core.builders.FeatureRebuilder; |
Lines 130-135
Link Here
|
130 |
private SourceLocationManager fSourceLocationManager; |
131 |
private SourceLocationManager fSourceLocationManager; |
131 |
private JavadocLocationManager fJavadocLocationManager; |
132 |
private JavadocLocationManager fJavadocLocationManager; |
132 |
private SearchablePluginsManager fSearchablePluginsManager; |
133 |
private SearchablePluginsManager fSearchablePluginsManager; |
|
|
134 |
private ClasspathContainerResolverManager fClasspathContainerResolverManager; |
133 |
|
135 |
|
134 |
// Tracing options manager |
136 |
// Tracing options manager |
135 |
private TracingOptionsManager fTracingOptionsManager; |
137 |
private TracingOptionsManager fTracingOptionsManager; |
Lines 215-220
Link Here
|
215 |
return fSourceLocationManager; |
217 |
return fSourceLocationManager; |
216 |
} |
218 |
} |
217 |
|
219 |
|
|
|
220 |
/** |
221 |
* Returns the singleton instance of the classpath container resolver manager used to dynamically |
222 |
* resolve a project's classpath. Clients may contribute a {@link IBundleClasspathResolver} to the |
223 |
* manager through the <code>org.eclipse.pde.core.bundleClasspathResolvers</code> extension. |
224 |
* |
225 |
* @return singleton instance of the classpath container resolver manager |
226 |
*/ |
227 |
public synchronized ClasspathContainerResolverManager getClasspathContainerResolverManager() { |
228 |
if (fClasspathContainerResolverManager == null) { |
229 |
fClasspathContainerResolverManager = new ClasspathContainerResolverManager(); |
230 |
} |
231 |
return fClasspathContainerResolverManager; |
232 |
} |
233 |
|
218 |
public synchronized JavadocLocationManager getJavadocLocationManager() { |
234 |
public synchronized JavadocLocationManager getJavadocLocationManager() { |
219 |
if (fJavadocLocationManager == null) |
235 |
if (fJavadocLocationManager == null) |
220 |
fJavadocLocationManager = new JavadocLocationManager(); |
236 |
fJavadocLocationManager = new JavadocLocationManager(); |