How to add new button on Work-item version 4.0.3 ?
Hello,
I need to add new button to the Work-item template.
I tried follow the instructions of : https://jazz.net/wiki/bin/view/Main/ContributingAttributePresentations
but got errors like in https://jazz.net/forum/questions/99652/contributing-attribute-presentations-v4?page=1&focusedAnswerId=136887#136887
I think it because of incompatible versions.
How can I add a button to Work-item version 4.0.3 ?
Thanks,
Yehiel
Comments
sam detweiler
Dec 22 '13, 8:37 a.m.thats a development time warning, not runtime.
have u tried your plugin yet? does it work?
Yehiel Glass
Dec 22 '13, 11:00 a.m.I have one error there , So I can't run the plugin ...
The method getDescriptor() is undefined for the type StarAttributePart
sam detweiler
Dec 22 '13, 11:45 a.m.yep, sorry, see that
in 3.x the api is PresentationPart.getDescriptor();
public PresentationDescriptor getDescriptor() {
in 4.x the api changed to PresentationPart.getPresentation();
public PresentationDescriptor getPresentation() {
Yehiel Glass
Dec 23 '13, 8:23 a.m.Thanks for your answer - it fixed the error, but when exporting to jar I get the following errors:
sam detweiler
Dec 23 '13, 8:51 a.m.yes, those are warnings. I don't know why they used Internal APIs for these samples..