|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.preference.PreferenceNode
A concrete implementation of a node in a preference dialog tree. This class also supports lazy creation of the node's preference page.
Constructor Summary | |
PreferenceNode(String id)
Creates a new preference node with the given id. | |
PreferenceNode(String id,
IPreferencePage preferencePage)
Creates a preference node with the given id and preference page. | |
PreferenceNode(String id,
String label,
ImageDescriptor image,
String className)
Creates a preference node with the given id, label, and image, and lazily-loaded preference page. |
Method Summary | |
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()
(non-Javadoc) Method declared on IPreferenceNode. |
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. |
protected ImageDescriptor | getImageDescriptor()
Returns the image descriptor for this 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 | setPage(IPreferencePage newPage)
Set the current page to be newPage. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PreferenceNode(String id)
public PreferenceNode(String id, String label, ImageDescriptor image, String className)
public PreferenceNode(String id, IPreferencePage preferencePage)
Method Detail |
public void add(IPreferenceNode node)
public void createPage()
public void disposeResources()
public IPreferenceNode findSubNode(String id)
public String getId()
protected ImageDescriptor getImageDescriptor()
public Image getLabelImage()
public String getLabelText()
public IPreferencePage getPage()
public IPreferenceNode[] getSubNodes()
public IPreferenceNode remove(String id)
public boolean remove(IPreferenceNode node)
public void setPage(IPreferencePage newPage)
|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.