Re: [udig-devel] Detaching a View Programatically

2008-12-16 Thread Emily Gouge
Thanks Andrea and Jesse. Jesse - this would not go into uDig; it's something that would be specific to a clients program. Emily Jesse Eichar wrote: Hi Emily. That message means that you are accessing private classes and when we change eclipse versions it may stop working. It is recommended

Re: [udig-devel] Detaching a View Programatically

2008-12-15 Thread Jesse Eichar
Hi Emily. That message means that you are accessing private classes and when we change eclipse versions it may stop working. It is recommended that you hide the view if possible rather than detach it. I would rather not have such code in the main uDig code base because of the danger it represent

Re: [udig-devel] Detaching a View Programatically

2008-12-15 Thread andrea antonello
Hi Emily, > I came across the need to have a view detached by default. Some > investigation lead me to this code which allows me to detach the view. I am > running this code when the tool that requires the view makes the view > visible (if it's not currently visible). > > IViewReference ref = page

[udig-devel] Detaching a View Programatically

2008-12-15 Thread Emily Gouge
I came across the need to have a view detached by default. Some investigation lead me to this code which allows me to detach the view. I am running this code when the tool that requires the view makes the view visible (if it's not currently visible). IViewReference ref = page.findViewReferen