[udig-devel] Faster styling

Jody Garnett jgarnett at refractions.net
Wed Mar 12 08:35:56 PDT 2008


Ugo Taddei wrote:
>> On the style blackboard or on the blackboard? The style blackboard
>> triggers a render (last I checked anyways). For the normal blackboard we
>> don't assume anything - often an entire domain object complete with its
>> own event model will be dropped on there.
>>     
> The style blackboard:
>
> StyleBlackboard styleBlackboard = layer.getStyleBlackboard();
> // put the style on the blackboard
> 			
> styleBlackboard.clear();
> styleBlackboard.put(SLDContent.ID, style);
> (styleBlackboard).setSelected(new String[] { SLDContent.ID });
>   
Sounds like I am out of touch then, I expected this to throw an event 
and trigger a redraw. Hard for me to know if this is a bug; or a change 
that was made as part of an optimization.

Jody




More information about the udig-devel mailing list