public abstract class ConfigurationExtension extends java.lang.Object implements IConfigurationExtension
| Constructor and Description |
|---|
ConfigurationExtension(java.lang.String id,
java.lang.String name,
java.lang.String description)
Constructor for a configuration extension
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(IConfigurationExtension o)
Compares this configuration extension to another based on the names of the configuration extensions.
|
java.lang.String |
getDescription()
Returns the description of the extension
|
IConfigurationElement |
getExportElement()
Returns the element that represents the exported information for this configuration extension.
|
java.lang.String |
getIcon()
Returns the icon path associated with the extension
|
java.lang.String |
getId()
Returns the id of the extension
|
ImageDescriptor |
getImageDescriptor()
Returns the image descriptor associated with the extension
|
IConfigurationElement |
getImportElement(java.io.File cacheFolder)
Returns the element that represents the imported information for this configuration extension.
|
java.lang.String |
getName()
Returns the name of the extension
|
void |
resetExportElement()
Clears the cached export data for this configuration extension.
|
void |
resetImportElement()
Clears the cached import data for this configuration extension.
|
void |
setBundle(Bundle bundle)
Sets the bundle associated with the extension
|
void |
setIcon(java.lang.String icon)
Sets the icon path associated with the extension
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexportToCache, importToWorkspace, populateExportElements, populateImportElementspublic ConfigurationExtension(java.lang.String id,
java.lang.String name,
java.lang.String description)
id - the unique id of the configuration extensionname - the name, for display, of the configuration extensiondescription - the description, for display, of the configuration extensionpublic java.lang.String getId()
getId in interface IConfigurationExtensionpublic java.lang.String getName()
getName in interface IConfigurationExtensionpublic java.lang.String getDescription()
public java.lang.String getIcon()
getIcon in interface IConfigurationExtensionpublic void setIcon(java.lang.String icon)
setIcon in interface IConfigurationExtensionicon - the path to the iconpublic void setBundle(Bundle bundle)
setBundle in interface IConfigurationExtensionbundle - the bundle associated with this extensionpublic ImageDescriptor getImageDescriptor()
public IConfigurationElement getExportElement()
getExportElement in interface IConfigurationExtensionpublic IConfigurationElement getImportElement(java.io.File cacheFolder)
getImportElement in interface IConfigurationExtensioncacheFolder - the folder containing the cached configuration files used for importingpublic void resetExportElement()
resetExportElement in interface IConfigurationExtensionpublic void resetImportElement()
resetImportElement in interface IConfigurationExtensionpublic int compareTo(IConfigurationExtension o)
compareTo in interface java.lang.Comparable<IConfigurationExtension>