| org.eclipse.pde.core.plugin.IPluginParent
All known Subclasses: org.eclipse.pde.internal.core.text.plugin.PluginParentNode, org.eclipse.pde.internal.core.plugin.PluginParent,
IPluginParent | public interface IPluginParent extends IPluginObject(Code) | | Classes that implement this interface are
capable of containing other plug-in objects.
|
Field Summary | |
String | P_SIBLING_ORDER A property that will be used when firing notification
of the sibling swap. |
P_SIBLING_ORDER | String P_SIBLING_ORDER(Code) | | A property that will be used when firing notification
of the sibling swap.
|
add | void add(int index, IPluginObject child) throws CoreException(Code) | | Adds a child object at the specified index.
This method may throw a CoreException if
the model is not editable.
Parameters: index - the location of the child Parameters: child - the object to add |
add | void add(IPluginObject child) throws CoreException(Code) | | Adds a child object.
This method may throw a CoreException if
the model is not editable.
Parameters: child - the object to add |
getChildCount | int getChildCount()(Code) | | Returns the number of children
currently owned by this parent. Returns 0 if this is a lightweight model.
the number of children |
getChildren | IPluginObject[] getChildren()(Code) | | Returns the children owned by this parent. Returns an empty array
if this is a lightweight model.
an array of children |
getIndexOf | int getIndexOf(IPluginObject child)(Code) | | Returns the position of the child in this parent.
Parameters: child - a child of this parent a 0-based index of the child |
remove | void remove(IPluginObject child) throws CoreException(Code) | | Removes a child object.
This method may throw a CoreException if
the model is not editable.
Parameters: child - the object to remove |
swap | void swap(IPluginObject child1, IPluginObject child2) throws CoreException(Code) | | Swaps the position of of the provided siblings
in the parent.
Parameters: child1 - the first child Parameters: child2 - the second child throws: CoreException - thrown if the model is not editable. |
|
|