Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-integrators] Custom Widget


Hi Dennis,

Regarding a custom widget, do you mean placing custom widgets into existing connector editors? If so this is currently not supported. The only means of extending existing editors is via a contribution to the popup menu. We would also like to allow contributions to the toolbar but that is not supported yet.

To add custom widgets/functionality to a new connector editor you will need to override methods on AbstractRepositotyTaskEditor. Most of the methods of interest are the create* methods. For example, to create your own customized attributes section, simply override the createAttributeLayout() methods and place your custom widgets on the provided composite.

Improvements to the editor are ongoing and a major review is planned as part of [1].

-Rob


[1] 179254: [api] AbstractRepositoryTaskEditor needs to be decomposed
https://bugs.eclipse.org/bugs/show_bug.cgi?id=179254



Dennis Vaughn wrote:
Thanks Mik for pointing me to this mailing list, did not know about it. So for my question I am trying to figure out how to drop in custom widgets into the Mylyn editors for new tasks and existing tasks. By the way you guys deserve all the kudos that you have received because it has been extremely easy to integrate.

Dennis
------------------------------------------------------------------------

_______________________________________________
mylyn-integrators mailing list
mylyn-integrators@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mylyn-integrators


--
Mylyn Committer, http://eclipse.org/mylyn



Back to the top