Hi Nils,

  OJ has had the capability to restore the view at the time the project was
saved since February this year.  See JUMPWorkbench.main().

regards,

Larry

On Tue, Sep 7, 2010 at 11:47 AM, Nils Kuhn <[email protected]> wrote:

> Hi all,
> I am writing the extent of the viewport of the LayerViewPanel to a
> project-file while exiting OJ.  For setting the viewport to this extent
> again while opening that project I added a function zoomToLastLocation
> to the class
> com.vividsolutions.jump.workbench.ui.plugin.OpenProjectPlugIn. That
> method I am calling from method initialize in class
> com.vividsolutions.jump.workbench.ui.plugin.FirstTaskFramePlugIn.
> Everything works fine but after zooming to the last extent from the
> project-file the viewport changes to the full extent of all loaded
> layers again.
> Could anybody tell me where that's coded?
> Regards Nils
>
>
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> Jump-pilot-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to