net.refractions.udig.project
Interface IStyleBlackboard

All Superinterfaces:
IBlackboard

public interface IStyleBlackboard
extends IBlackboard

Extends the IBlackboard interface with the concept of "selected" entries.

This concept is added so that multiple styles can be on the blackboard simultaneously but one style will have a stronger weighting than others.

Consider a layer that has WMS and WFS resources. One might want both a SLDStyle on the BB for the WFS but a Named Style for the WMS if the WMS does not support POST SLD. Further one might want the WMS to be used unless editing is taking place. In order to do this the Named Style would be marked as "selected" so that the WMS is prefered over the WFS.

Since:
1.1.0
Author:
Jesse

Method Summary
 boolean isSelected(java.lang.String styleId)
          Returns true if the style indicated is marked as selected.
 
Methods inherited from interface net.refractions.udig.project.IBlackboard
addAll, addListener, clear, contains, flush, get, getFloat, getInteger, getString, keySet, put, putFloat, putInteger, putString, removeListener
 

Method Detail

isSelected

boolean isSelected(java.lang.String styleId)
Returns true if the style indicated is marked as selected.

Parameters:
styleId - the id of the style to check. (See StyleContent.getId().
Returns:
true if the style is marked as selected