Community
Participate
Working Groups
To enable opening task history right from the task list (bug 214134) and also to provide generic facility for looking up task history url, AbstractRepositoryTaskEditor.getHistoryUrl() need to be moved into AbstractRepositoryConnector. Let me know if you'd like patch for that.
Created attachment 89577 [details] mylyn/context/zip
I wonder if it would be better on AbstractRepositoryConnectorUi since that's where most of the URL stuff is, and since Web UI based viewing of history is a UI concept?
(In reply to comment #2) > I wonder if it would be better on AbstractRepositoryConnectorUi since that's > where most of the URL stuff is, and since Web UI based viewing of history is a > UI concept? You probably used the same reasoning when you put getAccountCreationUrl() and getAccountManagementUrl() into the UI pluging. However all those urls could be also useful for headless tools as well as the UI actions and the url is more like repository-specific metadata rather then something related to UI. The actions that would use those urls in Mylyn would of course live in UI. Anyways, I don't want to argue about this and if you convinced UI is better place for new getHistoryUrl() call, let's put it into UI, so it would be possible to fix bug 214134.
Added method to AbstractRepositoryConnectorUi: public String getTaskHistoryUrl(TaskRepository taskRepository, String taskKey). Implemented for Bugzilla and JIRA and changed the new AbstractTaskEditorFormPage to use the new method.
Created attachment 94168 [details] mylyn/context/zip
Marking resolved.