|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.style.sld.editor.EditorNode
public class EditorNode
The EditorNode is the abstract class for all page nodes.
Field Summary | |
---|---|
static java.lang.String |
ATT_CATEGORY
|
static java.lang.String |
ATT_CLASS
|
static java.lang.String |
ATT_ICON
|
static java.lang.String |
ATT_ID
|
static java.lang.String |
ATT_LABEL
|
static java.lang.String |
ATT_REQUIRES
|
Constructor Summary | |
---|---|
EditorNode(java.lang.String id)
Creates a new preference node with the given id. |
|
EditorNode(java.lang.String id,
IConfigurationElement configurationElement)
Create a new instance of the receiver. |
|
EditorNode(java.lang.String id,
java.lang.String label,
ImageDescriptor image,
java.lang.String className)
Creates a preference node with the given id, label, and image, and lazily-loaded preference page. |
Method Summary | |
---|---|
void |
add(EditorNode node)
|
void |
clearKeywords()
Clear the keyword cache, if any. |
static java.lang.Object |
createExtension(IConfigurationElement element,
java.lang.String classAttribute)
Creates an extension. |
void |
createPage(Composite parent,
IEditorPageContainer container)
Creates the page this node stands for. |
void |
disposeResources()
|
EditorNode |
findSubNode(java.lang.String id)
|
java.lang.String |
getCategory()
Return the category name for the node. |
IConfigurationElement |
getConfigurationElement()
Return the configuration element. |
java.lang.String |
getId()
|
ImageDescriptor |
getImageDescriptor()
Returns the image descriptor for this node. |
java.util.Collection |
getKeywordLabels()
Get the labels of all of the keywords of the receiver. |
java.util.Collection |
getKeywordReferences()
Get the ids of the keywords the receiver is bound to. |
Image |
getLabelImage()
|
java.lang.String |
getLabelText()
|
java.lang.String |
getLocalId()
|
IEditorPage |
getPage()
|
java.lang.String |
getPluginId()
|
java.lang.String |
getRequires()
Return the required class the layer must resolve to. |
EditorNode[] |
getSubNodes()
|
boolean |
remove(EditorNode node)
|
EditorNode |
remove(java.lang.String id)
|
void |
setPage(IStyleEditorPage 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 |
Field Detail |
---|
public static final java.lang.String ATT_CLASS
public static final java.lang.String ATT_ID
public static final java.lang.String ATT_ICON
public static final java.lang.String ATT_LABEL
public static final java.lang.String ATT_CATEGORY
public static final java.lang.String ATT_REQUIRES
Constructor Detail |
---|
public EditorNode(java.lang.String id, IConfigurationElement configurationElement)
id
- configurationElement
- public EditorNode(java.lang.String id)
id
- the node idpublic EditorNode(java.lang.String id, java.lang.String label, ImageDescriptor image, java.lang.String className)
id
- the node idlabel
- the label used to display the node in the preference dialog's
treeimage
- the image displayed left of the label in the preference
dialog's tree, or null
if noneclassName
- the class name of the preference page; this class must
implement IPreferencePage
Method Detail |
---|
public java.util.Collection getKeywordReferences()
String
. Never null
.public java.util.Collection getKeywordLabels()
String
. Never null
.public void clearKeywords()
public void disposeResources()
public Image getLabelImage()
public java.lang.String getLabelText()
public ImageDescriptor getImageDescriptor()
public IConfigurationElement getConfigurationElement()
public java.lang.String getLocalId()
public java.lang.String getPluginId()
public void createPage(Composite parent, IEditorPageContainer container)
public java.lang.String getCategory()
public java.lang.String getRequires()
public void add(EditorNode node)
public EditorNode findSubNode(java.lang.String id)
public java.lang.String getId()
public IEditorPage getPage()
public EditorNode[] getSubNodes()
public EditorNode remove(java.lang.String id)
public boolean remove(EditorNode node)
public void setPage(IStyleEditorPage newPage)
newPage
- public static java.lang.Object createExtension(IConfigurationElement element, java.lang.String classAttribute) throws CoreException
element
- the config element defining the extensionclassAttribute
- the name of the attribute carrying the class
CoreException
- if the extension cannot be created
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |