Community
Participate
Working Groups
The taskKind label is always shown (if taskKind is set on the task and the taskKind is not the same as the task label). That means that if a connector adds custom label for it's task kinds, in order to not have redundant information (e.g. @Feature xy (feature)@) it would need to use the same string for label and taskKind. This is a bit odd as an identifier for a taskKind is static, but a label can be dynamic (e.g. i18n).
Created attachment 181662 [details] patch Here is a patch. Although while thinking more about this, maybe it is useful to show the task kind if the label is different. That would mean that with an internationalized label, it is still possible to see the connector internal task kind.... I am a bit torn now, not sure what's best
Created attachment 181663 [details] mylyn/context/zip
Created attachment 181710 [details] patch
Created attachment 181711 [details] mylyn/context/zip
I agree that the API need improvement. Implementations of AbstractRepositoryConnectorUi.getTaskKindLabel(ITask) commonly return a static label which is why the tooltip now also shows the task kind but as you point out those values are not necessarily suitable to be displayed in the UI. I think we need a more flexible solution that allows proper customization and internationalization of the label. What do you think about delegating to the connector UI to provide the entire label?
(In reply to comment #5) > I think we need a more flexible solution that allows proper customization and > internationalization of the label. What do you think about delegating to the > connector UI to provide the entire label? Probably best.
Mylyn has been restructured, and our issue tracking has moved to GitHub [1]. We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub. [1] https://github.com/orgs/eclipse-mylyn