[nb] Open a view inside a view [message #436761] |
Sat, 17 September 2005 17:40 |
Eclipse User |
|
|
|
Originally posted by: neto.t2tecnologia.com.br
Hello,
my application have just a perspective. When app starts, a view (VIEW1)
is added in the perspective.
What I want is when a button is fired inside the VIEW1, the VIEW2 must
be opened and the VIEW1 must be closed.
There is a way to do something like "ViewPart.getLayout().addView..."?
Thanks,
Neto
|
|
|
|
Re: [nb] Open a view inside a view [message #436765 is a reply to message #436764] |
Sat, 17 September 2005 22:30 |
Eclipse User |
|
|
|
Originally posted by: neto.t2tecnologia.com.br
snpe wrote:
> use
>
> IWorkbenchPage.showView(...) and
> IWorkbenchPage.hideView(...) and
>
> grab page reference with
>
> IWorkbenchPage page =
> PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage()
>
> Victor Tortorello Neto wrote:
>
>>Hello,
>>
>>my application have just a perspective. When app starts, a view (VIEW1)
>>is added in the perspective.
>>What I want is when a button is fired inside the VIEW1, the VIEW2 must
>>be opened and the VIEW1 must be closed.
>>
>>There is a way to do something like "ViewPart.getLayout().addView..."?
>>
>>Thanks,
>>
>>Neto
>
>
Please, how can I set the view standalone using IWorkbenchPage.showView() ?
Thanks again!
|
|
|
|
Powered by
FUDForum. Page generated in 0.03073 seconds