|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Represents a dependency between two components: EnclosingComponent->ReferencedComponent.
The ReferencedComponent may exist in another project or as a binary form on the classpath of the project.
| Field Summary | |
static int |
DEPENDENCY_TYPE_CONSUMES
Indicates that the dependency will be absorbed as is without archiving. |
static int |
DEPENDENCY_TYPE_USES
Indicates that the dependency should be archived into a *.? |
| Method Summary | |
void |
create(int updateFlags,
org.eclipse.core.runtime.IProgressMonitor aMonitor)
Creates this virtual reference in model, if it doesn't already exist. |
boolean |
exists()
Returns whether this reference actual exists in the model |
int |
getDependencyType()
|
IVirtualComponent |
getEnclosingComponent()
The enclosing component contains this reference, and will absorb the contents of the referenced component |
IVirtualComponent |
getReferencedComponent()
The referenced component is "targeted" by the reference, and will be absorbed by the enclosing component. |
org.eclipse.core.runtime.IPath |
getRuntimePath()
The runtime path indicates where the contents of the referenced component will be absorbed within the context of the enclosing component. |
void |
setDependencyType(int aDependencyType)
The dependencyType indicates how the contents of the referenced component will be absorbed. |
void |
setRuntimePath(org.eclipse.core.runtime.IPath aRuntimePath)
The runtime path indicates where the contents of the referenced component will be absorbed within the context of the enclosing component. |
| Field Detail |
public static final int DEPENDENCY_TYPE_USES
public static final int DEPENDENCY_TYPE_CONSUMES
| Method Detail |
public void create(int updateFlags,
org.eclipse.core.runtime.IProgressMonitor aMonitor)
updateFlags - Currently no update flags apply.aMonitor - A progress monitor to track the completion of the operationpublic boolean exists()
public void setRuntimePath(org.eclipse.core.runtime.IPath aRuntimePath)
aRuntimePath - A value component-relative path.public org.eclipse.core.runtime.IPath getRuntimePath()
public void setDependencyType(int aDependencyType)
aDependencyType - One of DEPENDENCY_TYPE_USES or DEPENDENCY_TYPE_CONSUMESDEPENDENCY_TYPE_CONSUMES,
DEPENDENCY_TYPE_USESpublic int getDependencyType()
DEPENDENCY_TYPE_CONSUMES,
DEPENDENCY_TYPE_USESpublic IVirtualComponent getEnclosingComponent()
public IVirtualComponent getReferencedComponent()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||