|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.wst.common.componentcore.ComponentCore
Provides a handle creation factory for the Virtual Path API. Clients may use this class to convert Platform IResource model elements to IVirtualResource model elements.
ComponentCore provides a consistent entry point to the IVirtual Path model that allows clients to group resources together in logical collections with a path structure that varies from their actual source location structures.
| Constructor Summary | |
ComponentCore()
|
|
| Method Summary | |
static IVirtualComponent |
createArchiveComponent(org.eclipse.core.resources.IProject aProject,
java.lang.String aComponentName)
Return an IVirtualComponent with the given name (aComponentName) |
static IVirtualComponent |
createComponent(org.eclipse.core.resources.IProject aProject,
java.lang.String aComponentName)
Return an IVirtualComponent with the given name (aComponentName) contained by the given project (aProject). |
static IVirtualFile |
createFile(org.eclipse.core.resources.IProject aProject,
java.lang.String aComponentName,
org.eclipse.core.runtime.IPath aRuntimePath)
Return an IVirtualFile with a runtime path specified by aRuntimePath contained by aProject, in a component named aComponentName. |
static IFlexibleProject |
createFlexibleProject(org.eclipse.core.resources.IProject aProject)
Return an IFlexibleProject that provides an entry-point to the components stored within the given project. |
static IVirtualFolder |
createFolder(org.eclipse.core.resources.IProject aProject,
java.lang.String aComponentName,
org.eclipse.core.runtime.IPath aRuntimePath)
Return an IVirtualFolder with a runtime path specified by aRuntimePath contained by aProject, in a component named aComponentName. |
static IVirtualReference |
createReference(IVirtualComponent aComponent,
IVirtualComponent aReferencedComponent)
Return an IVirtualReference that captures a relationship between aComponent and aReferencedComponent. |
static IVirtualReference |
createReference(IVirtualComponent aComponent,
IVirtualComponent aReferencedComponent,
org.eclipse.core.runtime.IPath runtimePath)
|
static IVirtualResource[] |
createResources(org.eclipse.core.resources.IResource aResource)
Return an array of IVirtualResources that represent the given IResource. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ComponentCore()
| Method Detail |
public static IFlexibleProject createFlexibleProject(org.eclipse.core.resources.IProject aProject)
aProject - A valid, accessible IProject
public static IVirtualComponent createComponent(org.eclipse.core.resources.IProject aProject,
java.lang.String aComponentName)
aProject - A valid, accessible project to contain the componentaComponentName - A name to identify the component within the project.
IVirtualContainer#create(int, IProgressMonitor)
public static IVirtualComponent createArchiveComponent(org.eclipse.core.resources.IProject aProject,
java.lang.String aComponentName)
aComponentName - A name to identify the component, the name can be lib/<Absolute path of a jar>
or var/<CLASSPATH_VARIABLE/library namer>
IVirtualContainer#create(int, IProgressMonitor)
public static IVirtualFolder createFolder(org.eclipse.core.resources.IProject aProject,
java.lang.String aComponentName,
org.eclipse.core.runtime.IPath aRuntimePath)
aProject - A valid, accessible project to contain the componentaComponentName - A name to identify the component within the project.aRuntimePath - The runtime path of the IVirtualFolder to return.
IVirtualContainer#create(int, IProgressMonitor),
IVirtualResource.createLink(IPath, int, IProgressMonitor)
public static IVirtualFile createFile(org.eclipse.core.resources.IProject aProject,
java.lang.String aComponentName,
org.eclipse.core.runtime.IPath aRuntimePath)
IVirtualResource.getUnderlyingResource() or
IVirtualFile.getUnderlyingFile() to create a resource with real contents.
aProject - A valid, accessible project to contain the componentaComponentName - A name to identify the component within the project.aRuntimePath - The runtime path of the IVirtualFolder to return.
IVirtualResource.createLink(IPath, int, IProgressMonitor)
public static IVirtualReference createReference(IVirtualComponent aComponent,
IVirtualComponent aReferencedComponent)
aComponent - A valid, existing IVirtualComponentaReferencedComponent - A valid, existing IVirtualComponent
IVirtualReference.create(int, IProgressMonitor)
public static IVirtualReference createReference(IVirtualComponent aComponent,
IVirtualComponent aReferencedComponent,
org.eclipse.core.runtime.IPath runtimePath)
public static IVirtualResource[] createResources(org.eclipse.core.resources.IResource aResource)
aResource - An accessible IResource
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||