Hi Sunburned, SkyJUMP has a ZoomBar that displays metric and US units based on the setting of the Task Units. OpenJump doesn't have a method of setting the task units. What are you doing to do to determine it?
regards, Larry On Feb 4, 2008 2:18 PM, Sunburned Surveyor <[EMAIL PROTECTED]> wrote: > I'm doing some work at home with the ZoomBar for OpenJUMP. From the > source code comments it appears that some of the supporting code for > the ZoomBar was never fully implemented. The ZoomBar was going to work > with additional code that defined unit systems. (Right now it works > with a model of the metric unit system contained in a collection to > figure out the best label to display to the right of the JSlider on > the zoom bar.) > > I'm in the process of completing the original implementation. This > will involve defining classes/interfaces for units and unit systems. > When complete this will allow the ZoomBar to support labels for units > sytems in addition to the metric unit system. (For example: US Feet > and Latitude/Longitude.) > > I'd like to know the best place to keep this code. I really don't > think it belongs in the same package as the ZoomBar, because it is > pretty generic. Do we have a package I should use for utility code in > OpenJUMP? I was thinking of org.openjump.util.units for this > particular code. > > Are there any objections to that? > > The Sunburned Surveyor > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel