Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » How to open a welcome home page without prompt
How to open a welcome home page without prompt [message #475561] Tue, 12 May 2009 04:55 Go to next message
Eclipse User
Originally posted by: mengjie.qiu.mobile-devices.fr

Hi,

I use the "QuickStartAction" to return to the home page in welcome page:

<a
href=" http://org.eclipse.ui.intro/runAction?pluginId=org.eclipse.u i.ide&class=org.eclipse.ui.actions.QuickStartAction& standby=false">
Welcome Page
</a>

When I click the link, a "Show welcome page for:" dialog appears for
selecting a specific welcome page (actually there's only one choice).
What I want is to skip this dialog (no need to choose). Is that
possible? And how to make that?

Thanks in advance.

MJ
Re: How to open a welcome home page without prompt [message #475563 is a reply to message #475561] Tue, 12 May 2009 20:35 Go to previous messageGo to next message
Ben Vitale is currently offline Ben Vitale
Messages: 247
Registered: July 2009
Senior Member
It looks like QuickStartAction is deprecated. I think IntroAction is the
one thats linked to the Welcome action in the top-level Help menu.

Since its an internal class, perhaps you can write your own action that
does the same thing. Basically all it does is call

PlatformUI.getWorkbench().getIntroManager().showIntro(..)

Hope that helps,
Ben

QIU wrote:
> Hi,
>
> I use the "QuickStartAction" to return to the home page in welcome page:
>
> <a
> href=" http://org.eclipse.ui.intro/runAction?pluginId=org.eclipse.u i.ide&class=org.eclipse.ui.actions.QuickStartAction& standby=false">
>
> Welcome Page
> </a>
>
> When I click the link, a "Show welcome page for:" dialog appears for
> selecting a specific welcome page (actually there's only one choice).
> What I want is to skip this dialog (no need to choose). Is that
> possible? And how to make that?
>
> Thanks in advance.
>
> MJ
Re: How to open a welcome home page without prompt [message #475565 is a reply to message #475563] Wed, 13 May 2009 04:25 Go to previous messageGo to next message
Eclipse User
Originally posted by: mengjie.qiu.mobile-devices.fr

Thanks

Ben Vitale a écrit :
> It looks like QuickStartAction is deprecated. I think IntroAction is the
> one thats linked to the Welcome action in the top-level Help menu.
>
> Since its an internal class, perhaps you can write your own action that
> does the same thing. Basically all it does is call
>
> PlatformUI.getWorkbench().getIntroManager().showIntro(..)
>
> Hope that helps,
> Ben
>
> QIU wrote:
>> Hi,
>>
>> I use the "QuickStartAction" to return to the home page in welcome page:
>>
>> <a
>> href=" http://org.eclipse.ui.intro/runAction?pluginId=org.eclipse.u i.ide&class=org.eclipse.ui.actions.QuickStartAction& standby=false">
>>
>> Welcome Page
>> </a>
>>
>> When I click the link, a "Show welcome page for:" dialog appears for
>> selecting a specific welcome page (actually there's only one choice).
>> What I want is to skip this dialog (no need to choose). Is that
>> possible? And how to make that?
>>
>> Thanks in advance.
>>
>> MJ
Re: How to open a welcome home page without prompt [message #623350 is a reply to message #475561] Tue, 12 May 2009 20:35 Go to previous messageGo to next message
Ben Vitale is currently offline Ben Vitale
Messages: 247
Registered: July 2009
Senior Member
It looks like QuickStartAction is deprecated. I think IntroAction is the
one thats linked to the Welcome action in the top-level Help menu.

Since its an internal class, perhaps you can write your own action that
does the same thing. Basically all it does is call

PlatformUI.getWorkbench().getIntroManager().showIntro(..)

Hope that helps,
Ben

QIU wrote:
> Hi,
>
> I use the "QuickStartAction" to return to the home page in welcome page:
>
> <a
> href=" http://org.eclipse.ui.intro/runAction?pluginId=org.eclipse.u i.ide&class=org.eclipse.ui.actions.QuickStartAction& standby=false">
>
> Welcome Page
> </a>
>
> When I click the link, a "Show welcome page for:" dialog appears for
> selecting a specific welcome page (actually there's only one choice).
> What I want is to skip this dialog (no need to choose). Is that
> possible? And how to make that?
>
> Thanks in advance.
>
> MJ
Re: How to open a welcome home page without prompt [message #623352 is a reply to message #475563] Wed, 13 May 2009 04:25 Go to previous messageGo to next message
Eclipse User
Originally posted by: mengjie.qiu.mobile-devices.fr

Thanks

Ben Vitale a écrit :
> It looks like QuickStartAction is deprecated. I think IntroAction is the
> one thats linked to the Welcome action in the top-level Help menu.
>
> Since its an internal class, perhaps you can write your own action that
> does the same thing. Basically all it does is call
>
> PlatformUI.getWorkbench().getIntroManager().showIntro(..)
>
> Hope that helps,
> Ben
>
> QIU wrote:
>> Hi,
>>
>> I use the "QuickStartAction" to return to the home page in welcome page:
>>
>> <a
>> href=" http://org.eclipse.ui.intro/runAction?pluginId=org.eclipse.u i.ide&class=org.eclipse.ui.actions.QuickStartAction& standby=false">
>>
>> Welcome Page
>> </a>
>>
>> When I click the link, a "Show welcome page for:" dialog appears for
>> selecting a specific welcome page (actually there's only one choice).
>> What I want is to skip this dialog (no need to choose). Is that
>> possible? And how to make that?
>>
>> Thanks in advance.
>>
>> MJ
Re: How to open a welcome home page without prompt [message #633953 is a reply to message #623352] Tue, 19 October 2010 23:34 Go to previous message
bluetlck is currently offline bluetlck
Messages: 3
Registered: July 2009
Junior Member
ExtensionPointManager extensionPointManager = IntroPlugin.getDefault()
.getExtensionPointManager();
IntroModelRoot model = extensionPointManager.getCurrentModel();
model.setCurrentPageId(homeId);
Previous Topic:Jump directly to help page in server hosted Infocenter
Next Topic:Open CheatSheet when eclipse starts
Goto Forum:
  


Current Time: Tue Jul 22 07:40:15 EDT 2014

Powered by FUDForum. Page generated in 0.01844 seconds