Community
Participate
Working Groups
Creating a task repository in the team repositories view does not prompt to create queries
Created attachment 204641 [details] mylyn/context/zip
Thanks for reporting that. Looks like there are two implementations: AddRepositoryAction and AddTaskRepositoryHandler. I will merge them to make the behavior consistent.
I ended up moving the code that handles the query prompting into the wizard implementation. The wizards instance is directly invoked from the extension point and hence prompting needs to be done as part of the wizard. I considered registering a listener and moving the handling code somewhere else but the current implementation allows better control over the prompting behavior. Integrators who reuse NewRepositoryWizard need to be aware that it now displays the query prompt on finish unless the showNewQueryPromptOnFinish is set to false.
Created attachment 207835 [details] mylyn/context/zip