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
How can I add a button to Work-item version 4.0.3 ?
Thanks,
|
Comments
thats a development time warning, not runtime.
have u tried your plugin yet? does it work?
I have one error there , So I can't run the plugin ...
The method getDescriptor() is undefined for the type StarAttributePart
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() {
Thanks for your answer - it fixed the error, but when exporting to jar I get the following errors:
yes, those are warnings. I don't know why they used Internal APIs for these samples..