net.refractions.udig.style

Identifier:
net.refractions.udig.style.net.refractions.udig.style

Since:
1.0

Description:
The extension point for a UI element for editing a style on a layer's style blackboard.

Configuration Markup:

<!ELEMENT extension (styleConfigurator+)*>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

>

Allows the definition of a StyleConfigurator - presenting a user interface to items on the StyleBlackboard.



<!ELEMENT styleConfigurator EMPTY>

<!ATTLIST styleConfigurator

id       CDATA #IMPLIED

label    CDATA #REQUIRED

requires CDATA #IMPLIED

class    CDATA #REQUIRED

styleId  CDATA #REQUIRED

>

Configures a IStyleConfigurator with responsibilities for:

The user interface provided here will be shown in both the Style View and in the Style Dialog Editor.



Examples:
Here is an example use from the uDig application: ... There is a complete examples in net.refractions.udig.tutorials.style

API Information:
Implemententors must provide an implementation of IStyleConfigurator; this class is used to construct a user interface for display in the StyleEditor or in the StyleView. The class is expected to work directly with the contents of a layer style blackboard. If possible try and perform spot changes on the StyleBlackboard (in case other style configurators are working on the same blackboard entry as you). In the case of StyleView any changes you make to the StyleBlackboard will cause an immediate redraw; for the StyleEditor the user will need to hit Apply or OK to cause a redraw.

Supplied Implementation:
This extension is focused on the user interface only; the definition of style content and the definition of new renderers is handled elsewhere.


uDig - User Friendly Desktop Internet GIS client