If the tool is implemented with a CursorTool I think we can correct this bug by manually triggering the repaint method when the CursorTool implementation is finished. We can likely do this by placing a repaint() call in the gestureFinished method of the CursorTool.
I'm not sure if this will work withou actually looking at the source code for the tool, but it is a suggestion. The Sunburned Surveyor On Wed, Apr 23, 2008 at 10:46 AM, Stefan Steiniger <[EMAIL PROTECTED]> wrote: > Hei, > > just a note on the tool. I identified already a BUG. If you have a large > set of polygons, the refresh of the layer comes (probably) to early and > the new drawn polygon is not displayed (although it exists - but i guess > the calculation is more time consuming). > > The only thing what helps then, is to move the map (drag tool) to get it > displayed. > > Not sure how/if we can make it the way that the layer refresh comes > twice/delayed (I have no experiences with that..) > > stefan > > > Rahkonen Jukka wrote: > > Hi, > > > > So the meaning of this tool is to complete a polygon that is touching an > > existing polygon at two points so that the new polygon follows the > > boundaries of an existing polygon without creating overlaps? At leat so it > > seems to work. Very nice, and I could imagine real use for that when > > digitising new areas, parcels or different landuse etc. But is it > > intentionally made in such a way that it does not follow concave boundaries > > but leaves gaps between old and new polygons? > > > > By the way, I have been using for some time now OpenJUMP with a laptop > > having both keyboard and touchscreen. Stylus is quite a nice and fast tool > > for drawing but it has one drawback: double clicking on the touchscreen is > > difficult because stylus easily moves a bit between taps. It makes ending > > of a feature hard and inaccurate. How about if the line or polygon that is > > drawn could be ended ot the last set point by hitting a key on the > > keyboard, Enter for example? > > > > -Jukka Rahkonen- > > > > > > > > > > > > > >> -----Alkuperäinen viesti----- > >> Lähettäjä: [EMAIL PROTECTED] > >> [mailto:[EMAIL PROTECTED] > >> Puolesta Giuseppe Aruta > >> Lähetetty: 23. huhtikuuta 2008 11:34 > >> Vastaanottaja: OpenJump develop and use > >> Aihe: [JPP-Devel] Auto complete polygon > >> > >> Hi > >> what is the usage of the new auto complete polygon tool? > >> > >> Peppe > >> > >> > >> Inviato da Yahoo! Mail. > >> La casella di posta intelligente. > >> http://it.docs.yahoo.com/mail/overview/index.html > >> > >> > >> -------------------------------------------------------------- > >> ----------- > >> This SF.net email is sponsored by the 2008 JavaOne(SM) > >> Conference Don't miss this year's exciting event. There's > >> still time to save $100. > >> Use priority code J8TL2D2. > >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java > > .sun.com/javaone > >> _______________________________________________ > >> Jump-pilot-devel mailing list > >> Jump-pilot-devel@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > >> > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > Don't miss this year's exciting event. There's still time to save $100. > > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > _______________________________________________ > > Jump-pilot-devel mailing list > > Jump-pilot-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel