public interface IExtensions extends IPluginObject
| Modifier and Type | Field and Description |
|---|---|
static String |
P_EXTENSION_ORDER
A model property that will be used when order of extensions
changes in this object.
|
P_NAME| Modifier and Type | Method and Description |
|---|---|
void |
add(IPluginExtension extension)
Adds a new extension to this object.
|
void |
add(IPluginExtensionPoint extensionPoint)
Adds a new extension point to this object.
|
IPluginExtensionPoint[] |
getExtensionPoints()
Returns extension points defined in this object.
|
IPluginExtension[] |
getExtensions()
Returns extensions defined in this object.
|
int |
getIndexOf(IPluginExtension e)
Returns the position of the extension in the receiver.
|
void |
remove(IPluginExtension extension)
Removes an extension from this object.
|
void |
remove(IPluginExtensionPoint extensionPoint)
Removes an extension point from this object.
|
void |
swap(IPluginExtension e1,
IPluginExtension e2)
Swaps the positions of the provided extensions
in the list of extensions.
|
getModel, getName, getParent, getPluginBase, getPluginModel, getResourceString, getTranslatedName, isInTheModel, isValid, setInTheModel, setNamegetAdapterstatic final String P_EXTENSION_ORDER
void add(IPluginExtension extension) throws CoreException
extension - the extension objectCoreExceptionvoid add(IPluginExtensionPoint extensionPoint) throws CoreException
extensionPoint - the extension pointCoreExceptionIPluginExtensionPoint[] getExtensionPoints()
IPluginExtension[] getExtensions()
void remove(IPluginExtension extension) throws CoreException
extension - the extension objectCoreExceptionvoid remove(IPluginExtensionPoint extensionPoint) throws CoreException
extensionPoint - the extension point objectCoreExceptionvoid swap(IPluginExtension e1, IPluginExtension e2) throws CoreException
e1 - the first extension objecte2 - the second extension objectCoreExceptionint getIndexOf(IPluginExtension e)
e - the extensionCopyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.