| net.refractions.udig.style.sld.editor.internal.IEditorNode
All known Subclasses: net.refractions.udig.style.sld.editor.EditorNode,
IEditorNode | public interface IEditorNode (Code) | | |
Method Summary | |
public void | add(IEditorNode node) Adds the given preference node as a subnode of this
preference node. | public void | createPage(Composite parent, IEditorPageContainer container) Creates the preference page for this node. | public void | disposeResources() Release the page managed by this node, and any SWT resources
held onto by this node (Images, Fonts, etc). | public IEditorNode | findSubNode(String id) Returns the subnode of this contribution node with the given node id. | public String | getId() Returns the id of this contribution node. | public Image | getLabelImage() Returns the image used to present this node in a preference dialog. | public String | getLabelText() Returns the text label used to present this node in a preference dialog. | public IEditorPage | getPage() Returns the preference page for this node. | public IEditorNode[] | getSubNodes() Returns an iterator over the subnodes (immediate children)
of this contribution node. | public IEditorNode | remove(String id) Removes the subnode of this preference node with the given node id. | public boolean | remove(IEditorNode node) Removes the given preference node from the list of subnodes
(immediate children) of this node. |
add | public void add(IEditorNode node)(Code) | | Adds the given preference node as a subnode of this
preference node.
Parameters: node - the node to add |
createPage | public void createPage(Composite parent, IEditorPageContainer container)(Code) | | Creates the preference page for this node.
|
disposeResources | public void disposeResources()(Code) | | Release the page managed by this node, and any SWT resources
held onto by this node (Images, Fonts, etc).
Note that nodes are reused so this is not a call to dispose the
node itself.
|
findSubNode | public IEditorNode findSubNode(String id)(Code) | | Returns the subnode of this contribution node with the given node id.
Parameters: id - the preference node id the subnode, or null if none |
getId | public String getId()(Code) | | Returns the id of this contribution node.
This id identifies a contribution node relative to its parent.
the node id |
getLabelImage | public Image getLabelImage()(Code) | | Returns the image used to present this node in a preference dialog.
the image for this node, or null if there is no image for this node |
getLabelText | public String getLabelText()(Code) | | Returns the text label used to present this node in a preference dialog.
the text label for this node, or null if there is no label for this node |
getPage | public IEditorPage getPage()(Code) | | Returns the preference page for this node.
the preference page |
getSubNodes | public IEditorNode[] getSubNodes()(Code) | | Returns an iterator over the subnodes (immediate children)
of this contribution node.
an IEditorNode array containing the child nodes |
remove | public IEditorNode remove(String id)(Code) | | Removes the subnode of this preference node with the given node id.
Parameters: id - the subnode id the removed subnode, or null if none |
remove | public boolean remove(IEditorNode node)(Code) | | Removes the given preference node from the list of subnodes
(immediate children) of this node.
Parameters: node - the node to remove true if the node was removed,and false otherwise |
|
|