Prevent ProjectTemplateFactory to occur in new module action
Hi,
I registered a ProjectTemplateFactory in the plugin.xml, but the action occurs in new module action, too. Is there a way to prevent this behaviour? Thanks.
-Tim
Please sign in to leave a comment.
You can check WizardContext.isCreatingNewProject and return an empty array of templates from your createTemplates() method when it returns true.
Nice, thanks!