Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] Invalidate a draw command

Please invalidate a the draw command used to draw the lin in response
to tool feedback.

The draw commands are kept in a queue and always drawn; if you set the
draw command to invald (ie command.setActive( false) ) it will be
removed from the queue.

See http://udig.refractions.net/confluence/display/DEV/3+Draw+Command

I have added your question to the page to help the next person
Jody


On Thu, Apr 30, 2009 at 1:13 PM, karthik shravanam
<nobody@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Hi All,
> I am working on a plug-in feature for the uDig,i have a question regarding
> as to how to clear the lines when we double click  on the mouse, when we
> have selected a portion of the map and want to start over from a different
> point instead of the previous point.
> I am trying to refresh the map ,clear the lines and then repaint. Can some
> one please tell me if i am doing it the correct way because i am having some
> problem with it and can't seem to get it working.
> I was wondering if clearing the lines drawn can be done in the same layer or
> do we have to add a different layer on top of it?
> Can some one please suggest.
> It would be of great help if you can point me to an example for a Mouse
> DoubleClickEvent procedure to clear the lines.
>
> Thanks for the help in advance.
> Thanks,
> karthik.
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>
>


Back to the top