public interface IPreferenceNode
Modifier and Type | Method and Description |
---|---|
void |
add(IPreferenceNode node)
Adds the given preference node as a subnode of this
preference node.
|
void |
createPage()
Creates the preference page for this node.
|
void |
disposeResources()
Release the page managed by this node, and any SWT resources
held onto by this node (Images, Fonts, etc).
|
IPreferenceNode |
findSubNode(String id)
Returns the subnode of this contribution node with the given node id.
|
String |
getId()
Returns the id of this contribution node.
|
Image |
getLabelImage()
Returns the image used to present this node in a preference dialog.
|
String |
getLabelText()
Returns the text label used to present this node in a preference dialog.
|
IPreferencePage |
getPage()
Returns the preference page for this node.
|
IPreferenceNode[] |
getSubNodes()
Returns an iterator over the subnodes (immediate children)
of this contribution node.
|
boolean |
remove(IPreferenceNode node)
Removes the given preference node from the list of subnodes
(immediate children) of this node.
|
IPreferenceNode |
remove(String id)
Removes the subnode of this preference node with the given node id.
|
void add(IPreferenceNode node)
node
- the node to addvoid createPage()
void disposeResources()
IPreferenceNode findSubNode(String id)
id
- the preference node idnull
if noneString getId()
Image getLabelImage()
null
if there is no image for this nodeString getLabelText()
null
if there is no label for this nodeIPreferencePage getPage()
IPreferenceNode[] getSubNodes()
IPreferenceNode remove(String id)
id
- the subnode idnull
if noneboolean remove(IPreferenceNode node)
node
- the node to removetrue
if the node was removed,
and false
otherwise
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.