| java.lang.Object net.refractions.udig.style.sld.SLDEditorPart
All known Subclasses: net.refractions.udig.style.sld.internal.SLDLineEditorPart, net.refractions.udig.style.sld.internal.SLDRasterEditorPart, net.refractions.udig.style.sld.internal.SLDPolygonEditorPart, net.refractions.udig.style.sld.internal.SLDTextEditorPart, net.refractions.udig.style.sld.internal.SLDMarkerEditorPart,
SLDEditorPart | abstract public class SLDEditorPart (Code) | | Provides a user interface to edit a component of an Style Layer Descriptor (SLD) style object.
An SLD style component can be one of the following classes of object:
-
See Also: org.geotools.renderer.style.Style See Also: See Also: org.geotools.styling.FeatureTypeStyle See Also: See Also: org.geotools.styling.Rule See Also: See Also: org.geotools.styling.Symbolizer See Also: See Also: See Also: See Also: This object does not store state. Any state information of ui widgets must be immediatley See Also: reflected in the style component. See Also:
author: Justin Deoliveira, Refractions Research Inc. |
SLDEditorPart | public SLDEditorPart()(Code) | | |
createControl | public void createControl(PageBook book)(Code) | | Signals the ui control to be created. This method should not be overidden.
Parameters: parent - The parent control. |
createImageDescriptor | public ImageDescriptor createImageDescriptor()(Code) | | Returns an image descriptor for the editor part. Sublcasses have the option of overiding to
provide a custom image.
|
createPartControl | abstract protected Control createPartControl(Composite parent)(Code) | | The internal method for creating the ui component. The parent control passed to the method
must not be modified in any way.
Parameters: parent - The parent control. The newly created control. |
getContent | public Object getContent()(Code) | | Returns the content. |
getContentType | abstract public Class getContentType()(Code) | | Style class, like TextSymbolizer, used for editing.
the class of style component the ui is used for editing. |
getImageDescriptor | public ImageDescriptor getImageDescriptor()(Code) | | The image descriptor. |
getLayer | public Layer getLayer()(Code) | | Returns the layer. |
getPage | public Composite getPage()(Code) | | Returns the ui control. This method should not be overridden.
The ui control. |
getPluginId | public String getPluginId()(Code) | | Returns the pluginId. |
getStyleBuilder | public StyleBuilder getStyleBuilder()(Code) | | Returns the styleBuilder. |
init | abstract public void init()(Code) | | Initializes the editor. This method is called before the ui is created so this method should
not attempt to access any of its (yet to be created) widgets.
|
reset | abstract public void reset()(Code) | | Resets the editor. This method resets the ui to reflect the new state of the content being
edited, and the layer being styled.. This method is not called unless content, and a layer
are available.
|
setContent | public void setContent(Object content)(Code) | | Parameters: content - The content to set. |
setImageDescriptor | public void setImageDescriptor(ImageDescriptor image)(Code) | | Parameters: image - The image descriptor. |
setLabel | public void setLabel(String label)(Code) | | Parameters: label - The label to set. |
setLayer | public void setLayer(Layer layer)(Code) | | Parameters: layer - The layer to set. |
setPluginId | public void setPluginId(String pluginId)(Code) | | Parameters: pluginId - The pluginId to set. |
setStyleBuilder | public void setStyleBuilder(StyleBuilder styleBuilder)(Code) | | Parameters: styleBuilder - The styleBuilder to set. |
|
|