| java.lang.Object net.refractions.udig.style.sld.editor.EditorNode
EditorNode | public class EditorNode implements IPluginContribution,IEditorNode(Code) | | The EditorNode is the abstract class for all page nodes.
|
Constructor Summary | |
public | EditorNode(String id, IConfigurationElement configurationElement) Create a new instance of the receiver. | public | EditorNode(String id) Creates a new preference node with the given id. | public | EditorNode(String id, String label, ImageDescriptor image, String className) Creates a preference node with the given id, label, and image, and
lazily-loaded preference page. | public | EditorNode(String id, IEditorPage page) Creates an editor node with the given id and editor page. |
EditorNode | public EditorNode(String id, IConfigurationElement configurationElement)(Code) | | Create a new instance of the receiver.
Parameters: id - Parameters: configurationElement - |
EditorNode | public EditorNode(String id)(Code) | | Creates a new preference node with the given id. The new node has no
subnodes.
Parameters: id - the node id |
EditorNode | public EditorNode(String id, String label, ImageDescriptor image, String className)(Code) | | Creates a preference node with the given id, label, and image, and
lazily-loaded preference page. The preference node assumes (sole)
responsibility for disposing of the image; this will happen when the node
is disposed.
Parameters: id - the node id Parameters: label - the label used to display the node in the preference dialog'stree Parameters: image - the image displayed left of the label in the preferencedialog's tree, or null if none Parameters: className - the class name of the preference page; this class mustimplement IPreferencePage |
EditorNode | public EditorNode(String id, IEditorPage page)(Code) | | Creates an editor node with the given id and editor page. The
title of the editor page is used for the node label. The node will
not have an image.
Parameters: id - the node id Parameters: page - the editor page |
clearKeywords | public void clearKeywords()(Code) | | Clear the keyword cache, if any.
|
createExtension | public static Object createExtension(IConfigurationElement element, String classAttribute) throws CoreException(Code) | | Creates an extension. If the extension plugin has not
been loaded a busy cursor will be activated during the duration of
the load.
Parameters: element - the config element defining the extension Parameters: classAttribute - the name of the attribute carrying the class the extension object throws: CoreException - if the extension cannot be created |
createPage | public void createPage(Composite parent, IEditorPageContainer container)(Code) | | Creates the page this node stands for.
The page is created, but its composite won't exist
|
disposeResources | public void disposeResources()(Code) | | |
getCategory | public String getCategory()(Code) | | Return the category name for the node.
java.lang.String |
getConfigurationElement | public IConfigurationElement getConfigurationElement()(Code) | | Return the configuration element.
the configuration element |
getImageDescriptor | public ImageDescriptor getImageDescriptor()(Code) | | Returns the image descriptor for this node.
the image descriptor |
getKeywordLabels | public Collection getKeywordLabels()(Code) | | Get the labels of all of the keywords of the receiver.
Collection of String . Never null . |
getKeywordReferences | public Collection getKeywordReferences()(Code) | | Get the ids of the keywords the receiver is bound to.
Collection of String . Never null . |
getLabelImage | public Image getLabelImage()(Code) | | |
getRequires | public String getRequires()(Code) | | Return the required class the layer must resolve to.
java.lang.String (Class) |
setPage | public void setPage(IStyleEditorPage newPage)(Code) | | Set the current page to be newPage.
Parameters: newPage - |
|
|