Showing a view programitically? [message #151545] |
Thu, 30 October 2003 11:22  |
Eclipse User |
|
|
|
As a corollary question to my previous post "Programatic Control of View
Location?", I would also like to control when the view is visible...i.e.
events in my plugin dictate when I want to show the view NOW the user
selecting "Window->Show View->myViewName.
I note that the javadoc for createPartControl in IWorkBenchPart says:
"Clients should not call this method (the workbench calls this method when
it needs to, which may be never). "
However, IWorkbenchPart also describes the lifecycle of a workbench part.
Could I roll my own so to speak. This sounds like a rocky road. Has anyone
else tried this before I go done this path?
TIA,
Mike
|
|
|
Re: Showing a view programitically? [message #151646 is a reply to message #151545] |
Thu, 30 October 2003 14:31  |
Eclipse User |
|
|
|
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage().showVie
w("myview.id");
"Mike McGowan" <mike.mcgowan@lawson.com> wrote in message
news:bnrdrg$kgh$1@eclipse.org...
> As a corollary question to my previous post "Programatic Control of View
> Location?", I would also like to control when the view is visible...i.e.
> events in my plugin dictate when I want to show the view NOW the user
> selecting "Window->Show View->myViewName.
>
> I note that the javadoc for createPartControl in IWorkBenchPart says:
>
> "Clients should not call this method (the workbench calls this method when
> it needs to, which may be never). "
>
> However, IWorkbenchPart also describes the lifecycle of a workbench part.
> Could I roll my own so to speak. This sounds like a rocky road. Has
anyone
> else tried this before I go done this path?
>
> TIA,
> Mike
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03107 seconds