Community
Participate
Working Groups
I have template for New Plugin Project Wizard. When I go to Templates page and select own template - finish button is enabled. Inside template thete is required option which not filled by default. So if user press finish without going to options page - exceprion occured. If user press next button - isPageComplete method disable finish button and user must fill the parameter.
I thought that the API for the templates stated that the option pages must not be required. The user should be able to select a template and hit finish and not be forced to look at the options. However, I could not find any reference to this in the API. To solve this we would need some way for the extension point to tell us whether the options page is required or not.
My proposal: Inside NewPluginProjectWizard.canFinish() add to expression TemplateListSelectionPage.isPageComplete(). And inside TemplateListSelectionPage.isPageComplete() add check for getSelectedWizard().canFinish(). In this case no API/extension point changes required.
The problem is that we do not want to load the selected wiard every time we check if the page is complete, as it may require us to load a class from the extension point.
But in NewPluginProjectFromTemplateWizard only one template used - can be added to it?
Sorry - I didn't check completely - NewPluginProjectFromTemplateWizard works fine.
In my class which extends OptionTemplateSection I have public boolean isDependentOnParentWizard() { return true; } But call (String)super.getValue(KEY_PLUGIN_ID) returns null.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.