Community
Participate
Working Groups
Fragments get no love these days :) PDE recently added the ability to specify an Execution Environment through the New Plug-in wizard. This ability should be extended to the New Fragment wizard also.
Want to give this one a try Charlie? I'll work on attaching a context.
I'm attaching a context with two classes: FragmentContentPage and PluginContentPage. FragmentContentPage is where you will need to make the modifications. PluginContentPage has example code in it to add an Execution Environment (EE) selection. We basically want to mimick the same functionality but in the New Fragment wizard. I'd just add the EE selection to be under the 'Fragment Provider' section.
Created attachment 90897 [details] mylyn/context/zip
Created attachment 91551 [details] FragmentContentPage patch For version 1.26. Added createExecutionEnviornmentControls, updated updateData to add EE choice to fData, updated validatePage() for the EE choice.
Created attachment 91552 [details] mylyn/context/zip
Ok patch attached, what next :) ?
Awesome Charlie, thanks for the patch, it will get in for M6 :)
fixed in HEAD. > 20080305 I updated the patch to make the layout a bit better as the current patch didn't space the controls properly. Thanks for the contribution Charlie!