how to show welcome page in editor area? [message #327529] |
Wed, 23 April 2008 15:35 |
Eclipse User |
|
|
|
Originally posted by: schoepke.thetaris.com
Hi
The standard eclipse welcome page is displayed in its own site which is
maximized by default (and too small back at normal size). But i want to
refer to the different views of my application from the welcome page, so
the welcome content could read "This is the editor area. To the left you
see the project explorer, etc.". To achieve this, i need to use the
editors site as container for the welcome page. How can i do this?
Thanks for any advice
Norbert Schoepke
|
|
|
Re: how to show welcome page in editor area? [message #327540 is a reply to message #327529] |
Thu, 24 April 2008 01:41 |
Eclipse User |
|
|
|
Originally posted by: Aaron_Kang.yeah.net
Oh,before i did that with class :StackLayout .
First you can new and initialize a container with some content or
controls you need ,then use the property of StackLayout :topControl,
last re-positions and re-sizes that using function Layout() of the newly
container's parent composite you created just now.
Norbert Schoepke wrote:
> Hi
>
> The standard eclipse welcome page is displayed in its own site which is
> maximized by default (and too small back at normal size). But i want to
> refer to the different views of my application from the welcome page, so
> the welcome content could read "This is the editor area. To the left you
> see the project explorer, etc.". To achieve this, i need to use the
> editors site as container for the welcome page. How can i do this?
>
> Thanks for any advice
> Norbert Schoepke
|
|
|
Re: how to show welcome page in editor area? [message #327544 is a reply to message #327540] |
Thu, 24 April 2008 09:10 |
Eclipse User |
|
|
|
Originally posted by: schoepke.thetaris.com
Thx, I also found a solution. I use
PlatformUI.getWorkbench().getBrowserSupport().createBrowser( ) method to
show the welcome page in the internal web browser. I had to specify
IWorkbenchBrowserSupport.AS_EDITOR as style, now it is displayed
correctly. If I call this from a org.eclipse.ui.startup extension point,
it gets shown on every startup, which is exactly what i wanted.
|
|
|
|
Powered by
FUDForum. Page generated in 0.05436 seconds