Bug 39113 - [Welcome] programmatically open welcome page (with patch)
Summary: [Welcome] programmatically open welcome page (with patch)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.0 M2   Edit
Assignee: Nick Edgar CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-19 07:45 EDT by Dan Rubel CLA
Modified: 2003-10-31 11:50 EST (History)
1 user (show)

See Also:


Attachments
The new QuickStartAction source (7.03 KB, text/plain)
2003-06-19 07:55 EDT, Dan Rubel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Rubel CLA 2003-06-19 07:45:58 EDT
The original QuickStartAction class

	org.eclipe.ui.internal.QuickStartAction

opens a feature selection dialog so that the user can select a feature and then 
opens a welcome editor displaying that feature's welcome page.

We want to programmatically open the welcome page for our feature without the 
dialog, but there does not exist any public API for doing so, thus I created

	org.eclipe.ui.QuickStartAction

based upon the original.  The new QuickStartAction supports the original's 
behavior plus the ability to programmatically open a specific feature's welcome 
page without the feature selection dialog.

This new action is based upon Eclipse 2.1 and so might need some changes for 
Eclipse 3.0 M2, but no other classes would need to be modified.  Both versions 
of the QuickStartAction can co-exist peacefully so there would be no need to 
immediately remove the old QuickStartAction or change any code that relies on 
it.

Please consider this new QuickStartAction for inclusion in the Eclipse 3.0 M2 
build.
Comment 1 Dan Rubel CLA 2003-06-19 07:55:02 EDT
Created attachment 5242 [details]
The new QuickStartAction source
Comment 2 Dan Rubel CLA 2003-06-19 22:43:58 EDT
Minor oversite on my part.  
The new QuickStartAction probably belongs in the 

    org.eclipse.ui.actions

package rather than the org.eclipse.ui package.
Comment 3 Nick Edgar CLA 2003-06-25 12:21:35 EDT
Moved our QuickStartAction to org.eclipse.ui.actions, cleaned it up a bit, and 
added openWelcomePage(String featureId).

This API may change between now and R3.0, depending on the RCP work and bug 
39297.

Comment 4 Nick Edgar CLA 2003-06-25 12:22:13 EDT
Note, I did not use your patch directly.
Comment 5 Dan Rubel CLA 2003-06-27 17:42:38 EDT
The new code works like a charm... thanks!
Comment 6 Douglas Pollock CLA 2003-10-31 11:50:13 EST
The fix for this bug lead to Bug 44459.  QuickStartAction has been modified to
look more like it did in its original form (i.e., it now has a no argument
constructor).  I'm pretty sure this won't affect your work -- given the
description above -- but I thought I'd give a warning.