Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » how to show welcome page in editor area?
how to show welcome page in editor area? [message #327529] Wed, 23 April 2008 11:35 Go to next message
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] Wed, 23 April 2008 21:41 Go to previous messageGo to next message
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 05:10 Go to previous messageGo to next message
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.
Re: how to show welcome page in editor area? [message #1008108 is a reply to message #327529] Fri, 08 February 2013 22:31 Go to previous message
ALOK MANJREKAR is currently offline ALOK MANJREKAR
Messages: 12
Registered: May 2012
Junior Member
Hi,
I would like to do something similar. I am using eclipse's default welcome page for my Rich Client application product.
The createBrowser takes in a String argument called browser-id. What should it set to?

I guess we should follow it up with a call to openURL. Is that right? What should the value of the URL be?

Any help is appreciated.

Thanks,
Alok
Previous Topic:Combine progress monitoring of separate Jobs?
Next Topic:Is there a way to show welcome page in editor area?
Goto Forum:
  


Current Time: Fri Aug 22 17:44:46 EDT 2014

Powered by FUDForum. Page generated in 0.03093 seconds