MoDiscoLabelProvider [message #1091378] |
Wed, 21 August 2013 12:17 |
ricks soler Messages: 1 Registered: August 2013 |
Junior Member |
|
|
Hello everyone!
I'm developing a plugin in eclipse. This one runs over the papyrus prespective and manage tree items in the model explorer among other things. The problem is that the project started when Eclipse Juno/Papyrus v_0.9. The tree handler I created did extend MoDiscoLabelProvider so I didn't need to get deeper in to the underlying functionality, just overrided getImage() and getText().
So here comes the question: Where is this class in the new version of papyrus v_0.10 (which should replace MoDiscoLabelProvider's functionality)??? If not, which approach should I take in order to fix this problem.
thanks and regards
/Ricks
[Updated on: Wed, 21 August 2013 18:16] Report message to a moderator
|
|
|
Re: MoDiscoLabelProvider [message #1094822 is a reply to message #1091378] |
Mon, 26 August 2013 08:35 |
Camille Letavernier Messages: 952 Registered: February 2011 |
Senior Member |
|
|
Hi Ricks,
You can override EMFLabelProvider or UMLLabelProvider (From oep.infra.emf or oep.uml.tools)
If your label provider should be used in all standard Papyrus components (ModelExplorer, Properties view, dialogs, ...), you should contribute a new LabelProvider to the Papyrus LabelProvider service. See the plugin.xml file in oep.uml.tools for examples, and oep.infra.services.labelprovider for the service declaration.
Regards,
Camille
Camille Letavernier
|
|
|
Powered by
FUDForum. Page generated in 0.02681 seconds