|
Eclipse PDE Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IExtensions
A model object that contains the portion of the plug-in model responsible for extensions and extension points. If the plug-in contains OSGi manifest file, plugin.xml is reduced to extensions and extension points only.
| Field Summary | |
|---|---|
static String |
P_EXTENSION_ORDER
A model property that will be used when order of extensions changes in this object. |
| Fields inherited from interface org.eclipse.pde.core.plugin.IPluginObject |
|---|
P_NAME |
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.eclipse.pde.core.plugin.IPluginObject |
|---|
getModel, getName, getParent, getPluginBase, getPluginModel, getResourceString, getTranslatedName, isInTheModel, isValid, setInTheModel, setName |
| Methods inherited from interface org.eclipse.pde.core.IWritable |
|---|
write |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Field Detail |
|---|
static final String P_EXTENSION_ORDER
| Method Detail |
|---|
void add(IPluginExtension extension)
throws CoreException
extension - the extension object
CoreException - if the model is not editable
void add(IPluginExtensionPoint extensionPoint)
throws CoreException
extensionPoint - the extension point
CoreException - if the model is not editableIPluginExtensionPoint[] getExtensionPoints()
IPluginExtension[] getExtensions()
void remove(IPluginExtension extension)
throws CoreException
extension - the extension object
CoreException - if the model is not editable
void remove(IPluginExtensionPoint extensionPoint)
throws CoreException
extensionPoint - the extension point object
CoreException - if the model is not editable
void swap(IPluginExtension e1,
IPluginExtension e2)
throws CoreException
e1 - the first extension objecte2 - the second extension object
CoreException - if the model is not editableint getIndexOf(IPluginExtension e)
e - the extension
|
Eclipse PDE Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2011 IBM Corporation and others. All rights reserved.