Community
Participate
Working Groups
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.
Created attachment 5242 [details] The new QuickStartAction source
Minor oversite on my part. The new QuickStartAction probably belongs in the org.eclipse.ui.actions package rather than the org.eclipse.ui package.
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.
Note, I did not use your patch directly.
The new code works like a charm... thanks!
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.