Hi Stefan,

   I've cross checked your (and Ravi's) results.  Here is what I have
found checking OpenJump 2007-04-9, JUMP 1.2, and SkyJUMP 83:

Only OpenJump seems to save Snap / Grid options to persistent
blackboard.  However, OpenJump's code is not synchronized with the
dialog options.  It seems to always be stuck in Snap to Vertices mode.
 The only options that work are the Show grid options.

SkyJUMP and JUMP 1.2 options work, but they simply default to Snap to
Vertices at the beginning of each session.  My thinking on this has
been that the other modes are typically transient so saving the option
is likely to be just a surprising as not saving it (Prinzip der
geringsten Überraschung).

Here is a snippet from workbench-state.xml from OpenJump:

    <mapping>
      <key 
class="java.lang.String">com.vividsolutions.jump.workbench.ui.snap.SnapToFeaturesPolicy
- ENABLED</key>
      <value class="java.lang.Boolean">true</value>
    </mapping>
    <mapping>
      <key 
class="java.lang.String">com.vividsolutions.jump.workbench.ui.snap.SnapToGridPolicy
- ENABLED</key>
      <value class="java.lang.Boolean">false</value>
    </mapping>
    <mapping>
      <key 
class="java.lang.String">com.vividsolutions.jump.workbench.ui.snap.SnapToVerticesPolicy
- ENABLED</key>
      <value class="java.lang.Boolean">false</value>
    </mapping>
    <mapping>

regards,
Larry


On 5/8/07, Stefan Steiniger <[EMAIL PROTECTED]> wrote:
> Hei,
>
> i am bit confused on all this.
> Thats what i found out and need to be checked later:
>
> the error seems to be reasoned by a mixture of problems.
> - some snapping related values (on/off) are set on the blackboard while
> other are set on the persistent-blackboard (inside the blackboard) i.e.:
> * snaptToVertices exists on both (but seems neither be set to the value
> checked on the options pannel),
> * the snap-tolerance is only set on the persistent blackboard
> * snaptofeatures (vertices and lines) seems to be written at neither
> place, if checked or not
> - the snap options pannel seems not to set values correctly (i.e.
> feature snap)
>
> stefan
>
> not:e VividSolutions JUMP 1.2 seems to work
>
> RAVI KUMAR wrote:
>
> >Hi All,
> >snaps in the older version OpenJUMP 1.0
> >works fine.
> >
> >If the snap to vertices and lines is ticked, it works
> >well.
> >If snap to vertices and lines is left blank, no
> >vertice
> >or line attracts the cursor anymore.
> >
> >But the same is not working in the higher versions
> >pf openJump and OpenJUMP pirol also.
> >
> >Please set right this bug.
> >Ravi Kumar
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Tired of spam?  Yahoo! Mail has the best spam protection around
> >http://mail.yahoo.com
> >_______________________________________________
> >jump-users mailing list
> >[EMAIL PROTECTED]
> >http://lists.refractions.net/mailman/listinfo/jump-users
> >
> >
> >
> >
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>


-- 
http://amusingprogrammer.blogspot.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to