|
JavaScript Development Tools Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.wst.jsdt.launching.JREContainer
public class JREContainer
JRE Container - resolves a includepath container variable to a JRE Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.wst.jsdt.core.IJsGlobalScopeContainer |
|---|
K_APPLICATION, K_DEFAULT_SYSTEM, K_SYSTEM |
| Constructor Summary | |
|---|---|
JREContainer(IVMInstall vm,
IPath path)
Constructs a JRE includepath conatiner on the given VM install |
|
| Method Summary | |
|---|---|
IIncludePathEntry[] |
getClasspathEntries()
Deprecated. Use getIncludepathEntries() instead |
java.lang.String |
getDescription()
Answers a readable description of this container |
IIncludePathEntry[] |
getIncludepathEntries()
Answers the set of includepath entries this container is mapping to. |
int |
getKind()
Answers the kind of this container. |
IPath |
getPath()
Answers the container path identifying this container. |
java.lang.String[] |
resolvedLibraryImport(java.lang.String a)
Allows mapping between HTML imports and a toolkit's actual page imports. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JREContainer(IVMInstall vm,
IPath path)
vm - vm install - cannot be nullpath - container path used to resolve this JRE| Method Detail |
|---|
public IIncludePathEntry[] getClasspathEntries()
getIncludepathEntries() instead
IJsGlobalScopeContainer#getClasspathEntries()public IIncludePathEntry[] getIncludepathEntries()
IJsGlobalScopeContainerThe set of entries associated with a includepath container may contain any of the following:
CPE_LIBRARY) CPE_PROJECT) This method is called by the JavaScript model when it needs to resolve this includepath container entry into a list of library and project entries. The method is typically called exactly once for a given JavaScript project, and the resulting list of entries cached internally by the JavaScript model. This method must not be called by other clients.
There are a wide variety of conditions under which this method may be invoked. To ensure that the implementation does not interfere with correct functioning of the JavaScript model, the implementation should use only the following JavaScript model APIs:
JavaScriptCore.newLibraryEntry(IPath, IPath, IPath, boolean) and variantsJavaScriptCore.newProjectEntry(IPath, boolean) and variantsJavaScriptCore#create(org.eclipse.core.resources.IWorkspaceRoot)JavaScriptCore#create(org.eclipse.core.resources.IProject)IJavaScriptModel.getJavaScriptProjects()IJavaScriptProject.getRawIncludepath()IJavaScriptProject.readRawIncludepath()IJavaScriptProject#getOutputLocation()IJavaScriptProject#readOutputLocation()
getIncludepathEntries in interface IJsGlobalScopeContainerIJsGlobalScopeContainer.getIncludepathEntries()public java.lang.String getDescription()
IJsGlobalScopeContainer
getDescription in interface IJsGlobalScopeContainerIJsGlobalScopeContainer.getDescription()public int getKind()
IJsGlobalScopeContainerK_APPLICATION if this container maps to an application libraryK_SYSTEM if this container maps to a system libraryK_DEFAULT_SYSTEM if this container maps to a default system library (library
implicitly contributed by the runtime).
getKind in interface IJsGlobalScopeContainerIJsGlobalScopeContainer.getKind()public IPath getPath()
IJsGlobalScopeContainer
The container ID is also used to identify aJsGlobalScopeContainerInitializer
registered on the extension point "org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer", which can
be invoked if needing to resolve the container before it is explicitly set.
getPath in interface IJsGlobalScopeContainerIJsGlobalScopeContainer.getPath()public java.lang.String[] resolvedLibraryImport(java.lang.String a)
IJsGlobalScopeContainer
resolvedLibraryImport in interface IJsGlobalScopeContainer
|
JavaScript Development Tools Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||