|
Eclipse PDE Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Classes that implement this interface are capable of containing other plug-in objects.
Field Summary | |
static String |
P_SIBLING_ORDER
A property that will be used when firing notification of the sibling swap. |
Fields inherited from interface org.eclipse.pde.core.plugin.IPluginObject |
P_NAME |
Method Summary | |
void |
add(int index,
IPluginObject child)
Adds a child object at the specified index. |
void |
add(IPluginObject child)
Adds a child object. |
int |
getChildCount()
Returns the number of children currently owned by this parent. |
IPluginObject[] |
getChildren()
Returns the children owned by this parent. |
int |
getIndexOf(IPluginObject child)
Returns the position of the child in this parent. |
void |
remove(IPluginObject child)
Removes a child object. |
void |
swap(IPluginObject child1,
IPluginObject child2)
Swaps the position of of the provided siblings in the parent. |
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 |
public static final String P_SIBLING_ORDER
Method Detail |
public void add(int index, IPluginObject child) throws CoreException
index
- the location of the childchild
- the object to add
CoreException
public void add(IPluginObject child) throws CoreException
child
- the object to add
CoreException
public int getChildCount()
public int getIndexOf(IPluginObject child)
child
- a child of this parent
public void swap(IPluginObject child1, IPluginObject child2) throws CoreException
child1
- the first childchild2
- the second child
CoreException
- thrown if the model is not editable.public IPluginObject[] getChildren()
public void remove(IPluginObject child) throws CoreException
child
- the object to remove
CoreException
|
Eclipse PDE Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |