public interface IConfigurationExtension extends java.lang.Comparable<IConfigurationExtension>
| Modifier and Type | Method and Description |
|---|---|
void |
exportToCache(IConfigurationElement element,
IFolder cacheFolder,
IProgressMonitor monitor)
Exports the specified configuration to the specified cache folder
|
IConfigurationElement |
getExportElement()
Gets the parent IConfigurationElement that represents export resources for this configuration
|
java.lang.String |
getIcon()
Gets the relative path from the defining plugin to the icon associated with this extension
|
java.lang.String |
getId()
Gets the unique id associated with the extension
|
IConfigurationElement |
getImportElement(java.io.File cacheFolder)
Gets the parent IConfigurationElement that represents import resources for this configuration
|
java.lang.String |
getName()
Gets the name associated with the extension
|
void |
importToWorkspace(IConfigurationElement element,
IProgressMonitor monitor)
Imports the specified configuration to the workspace
|
void |
populateExportElements(IConfigurationElement parent)
Populates the tree of configuration elements that represent this configuration for export
|
void |
populateImportElements(IConfigurationElement parent)
Populates the tree of configuration elements that represent this configuration for import
|
void |
resetExportElement()
Clears any existing export elements so that fresh info can be retrieved.
|
void |
resetImportElement()
Clears any existing import elements so that fresh info can be retrieved.
|
void |
setBundle(Bundle bundle)
Sets the bundle associated with this extension
|
void |
setIcon(java.lang.String icon)
Sets the relative path from the defining plugin to the icon associated with this extension
|
java.lang.String getName()
java.lang.String getId()
java.lang.String getIcon()
void setIcon(java.lang.String icon)
icon - the icon pathvoid setBundle(Bundle bundle)
bundle - the bundle associated with this extensionvoid resetExportElement()
void resetImportElement()
IConfigurationElement getExportElement()
void populateExportElements(IConfigurationElement parent)
parent - the parent configuration element for this extensionIConfigurationElement getImportElement(java.io.File cacheFolder)
cacheFolder - the folder containing the cached configuration files used for importingvoid populateImportElements(IConfigurationElement parent)
parent - the parent configuration element for this extensionvoid exportToCache(IConfigurationElement element, IFolder cacheFolder, IProgressMonitor monitor)
element - the parent element representing resources to export to cachecacheFolder - the folder where resources are to be exported tomonitor - the progress monitorvoid importToWorkspace(IConfigurationElement element, IProgressMonitor monitor)
element - the parent configuration elementmonitor - the progress monitor