[udig-devel] browser view functionality
Jody Garnett
jgarnett at refractions.net
Fri Mar 7 10:12:24 PST 2008
Jan Jezek wrote:
> It seems to me that it is not possible to open more than one web browser view (Window/Show View/web open only one view) and the URL is hardcoded at BrowserContainerView class. Probably I can make my new plugin with link hardcoded to other URL but I would suggest that it is better to let user to choose this link.
>
Well lets fix this: how about the following....
- when you define the view you decide on the home page (in the extension
point xml)
- we store the current page in the memento between runs; so the user
does not lose where they were
- we provide a "home" button so they can return to the original home
page for that view
This should let your application have multiple browser views; we can set
Window/Show to allow for multiple views it is all in how the view is
defined.
Lets build up a list of what we want/need before reviewing the code,
note I am not trying to say no to your proposal - I am trying to use
your ideas to fix what we have so it will work for you (at the end of
the day we should have only one class that can be reused by as many
views as desired for the current perspective or user).
Jody
More information about the udig-devel
mailing list