Community
Participate
Working Groups
In Papyrus 0.7.x validation results of an element are shown by means of tooltips within the model explorer. The associated LabelProvider supporting tooltips is no longer called.
A further analysis showed that the NavigatorTableLabelProvider inherits directly from the MoDiscoLabelProvider and not from the MoDiscoLabelProviderWTooltips. I already checked in a fix in revision 5335/5336 (0.8.x branch) Vincent: could you please check, if the fix is ok for you.
Hello Ansgar, It seems your commit 5336 on ModiscoLabelProvider.java that made the getEditorRegistry() public broke DiagramLabelProvider.java (where the same function is declared protected, and you cannot restrict the visibility of overridden function). Looking more closely at DiagramLabelProvider, it seems that most override (except getText()) are mere copy of the overridden function, and so are useless anyway. I suggest removing them (which will fix the pb introduced by the transition to public). See attached patch.
Created attachment 202673 [details] Patch to remove useless overrides in DiagramLabelProvider.java. (1) I, Alain LE GUENNEC, wrote 100% of the code I've provided. (2) This code contains no cryptography (3) I have the right to contribute the code to Eclipse. (4) I contribute the content under the EPL.
Patch applied in revision 3560. Thanks for pointing this out
Forgot to change status after commit
*** Bug 351287 has been marked as a duplicate of this bug. ***