Open View with an Action [message #452786] |
Fri, 14 July 2006 12:21  |
Eclipse User |
|
|
|
Originally posted by: mgervais.signaturegenetics.com
Hi,
I'd like to open a view with an Action and the method :
IWorkbenchPage.showView(String viewId, String secondaryId, int mode)
but to use this method the view has to be in the View Registry using the
extension point org.eclipse.ui.views, so it means that's the view will
appear in the Show View Dialog and I don't want that. Is there a way to
prevent a view appearing in the Show view Dialog? Or a workaround?
Thanks
Mickael
|
|
|
|
|
|
|
Re: Open View with an Action [message #453001 is a reply to message #452786] |
Wed, 19 July 2006 21:46  |
Eclipse User |
|
|
|
Originally posted by: lamont_gilbert.rigidsoftware.com
Gervais Mickael wrote:
> Hi,
> I'd like to open a view with an Action and the method :
> IWorkbenchPage.showView(String viewId, String secondaryId, int mode)
> but to use this method the view has to be in the View Registry using the
> extension point org.eclipse.ui.views, so it means that's the view will
> appear in the Show View Dialog and I don't want that. Is there a way to
> prevent a view appearing in the Show view Dialog? Or a workaround?
> Thanks
> Mickael
Don't fight the architecture. Things just get ugly.
Why can't you instantiate your view programmatically, and pass it to the
page or something?
--
Respectfully,
CL Gilbert
"Verily, verily, I say unto you, He that entereth not by the door() into the
sheepfold{}, but climbeth up some other *way, the same is a thief and a
robber."
|
|
|
Powered by
FUDForum. Page generated in 0.03948 seconds