Community
Participate
Working Groups
During the discussion on bug 223929 Beyhan came up with the idea to add a target platform validation for our RAP templates. I like this idea very much. I think this should happen when you have selected a RAP template and click finish. A dialog should come up that says that the current target platform will not work for this template if the platform does not contain org.eclipse.rap.ui. An option should be added to install the target within this dialog. I'm not sure but maybe we can avoid a dialog and add this check to the existing wizard?
(In reply to comment #0) > [ ... ] > I'm not sure but maybe we can avoid a dialog and add this check to the > existing wizard? I would try hard to avoid the dialog. Under certain circumstances, there is already a dialog that asks the user whether the PDE perspective should be shown.
>I'm not sure but maybe we can avoid a dialog and add this check to the >existing wizard? +1
Created attachment 190466 [details] Version 1 Provided patch adds a check box ('Check RAP target installed') to the existing RAP template wizard. Default value is 'true'. RAP target platform installation dialog shows up after template wizard is closed if 'org.eclipse.rap.ui' isn't found under the active models and check box is selected.
I reviewed the patch together with Beyhan. We did some little refactorings and I committed the changes to CVS HEAD.
Created attachment 193680 [details] Question dialog instead check box After some discussions with Ralf we decided to remove the check box on the template wizard and open an question dialog if RAP target is not installed.
After some discussions with Ralf we decided to remove the check box on the template wizard and open an question dialog if RAP target is not installed.
Thanks for the patch. i reviewed the changes and did a little refactoring. The changes are now in CVS HEAD.