[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-devel] "Hide Normal Rendered Feature" question
|
I started implementing in a simple manner. Basically when a feature
is selected it is removed from the features that will be rendered. I
also added a behaviour to the accept behaviours that will allow all
features to be rendered when features are accepted. This was done so
that the features would be rendered when the tool is changed. The
side effect is that they will also be rendered when a new feature is
created or when a modification is accepted. I've afraid there's a
decent amount of work that needs to be done with this still to make
it work correctly.
Jesse
On 22-May-06, at 7:53 PM, Michael Brasser wrote:
So any idea what would be causing a refresh after I add a new
feature if I'm *not* changing the selection? I add a feature, and
then wait one or two seconds, and the status bar gives the message
"Rendering..." (but refreshLayer is not called).
Thanks,
Michael
Jesse Eichar wrote:
Hi,
You have the correct idea. When a feature is selected the layer is
refreshed, not when you move a vertex. It is working here. I'm
doing some debugging right now in order to make the refreshing happen
correctly.
Jesse
On 21-May-06, at 11:44 PM, Michael Brasser wrote:
Jesse,
Just wondering if you could give a couple-sentence explanation on
how you implemented "Hide Normal Rendered Feature (Experimental)".
In looking at the new classes/functions you added, I assumed you
were using RefreshLayersBehaviour, and/or EditUtils' refreshLayer
function, to do the re-render. But when I stick a breakpoint in
either of those they aren't usually called (for example, after
adding a new feature, neither is called, yet the display still re-
renders). Is their another place I should be looking?
Thanks,
Michael
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel