|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IJETBundleManager
Define the interface to the manager for loading/unloading and describing JET transform bundles.
Method Summary | |
---|---|
void |
connect(java.lang.String id,
org.eclipse.core.runtime.IProgressMonitor monitor)
Record a connection to the specified JET transform bundle. |
void |
disconnect(java.lang.String id)
Record a disconnection fromt he specified JET transform bundle. |
IJETBundleDescriptor[] |
getAllJETBundleDescriptors()
Return descriptions of all available JET transforms. |
java.lang.String[] |
getAllTransformIds()
Return an array of transform available ids. |
IJETBundleDescriptor |
getDescriptor(java.lang.String id)
Return the descriptor for a given JET transform. |
IJETBundleDescriptor |
getDescriptorForProject(java.lang.String name)
Return the descriptor for the give JET project |
java.lang.String |
getProjectForId(java.lang.String id)
Return the Workspace project name for the given JET transform id. |
JET2TemplateLoader |
getTemplateLoader(java.lang.String id)
Return the JET2TemplateLoader instance for the specified JET Transform. |
void |
run(java.lang.String id,
IJETRunnable runnable,
org.eclipse.core.runtime.IProgressMonitor monitor)
Load the specified JET transform, execute an IJETRunnable , and then ensure the transform is unloaded again. |
Method Detail |
---|
IJETBundleDescriptor[] getAllJETBundleDescriptors()
IJETBundleDescriptor getDescriptor(java.lang.String id)
id
- the transform (plug-in) id.
null
.IJETBundleDescriptor getDescriptorForProject(java.lang.String name)
name
- the project name.
null
.java.lang.String getProjectForId(java.lang.String id)
id
- the transform id
null
.void run(java.lang.String id, IJETRunnable runnable, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.osgi.framework.BundleException
IJETRunnable
, and then ensure the transform is unloaded again.
id
- the transform idrunnable
- a runnablemonitor
- a progress monitor
org.osgi.framework.BundleException
- TODOvoid connect(java.lang.String id, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.osgi.framework.BundleException
id
- the transform idmonitor
- a progress monitor
org.osgi.framework.BundleException
- TODOvoid disconnect(java.lang.String id)
id
- the transform idJET2TemplateLoader getTemplateLoader(java.lang.String id) throws org.osgi.framework.BundleException
JET2TemplateLoader
instance for the specified JET Transform. A call to this method
must be bracketed by calls to connect(String, IProgressMonitor)
and disconnect(String)
.
id
- the JET transform
org.osgi.framework.BundleException
- TODOjava.lang.String[] getAllTransformIds()
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |