|
|
Re: TEXTS: having a strict service [message #832134 is a reply to message #830162] |
Thu, 29 March 2012 20:25 |
|
Hi Jéremie
When using the priority annotation on the text provider services (and as well on the icon provider services) your are actually defining the order of the text resp. icon lookup. This enables overriding of existing texts and icons.
A very low priority means the service is considered last for the lookup. You can try setting the priority of your MyAppTextProviderService to a very low value (f.e. -5000). If any other service can't provide the text your service will be considered.
I haven't tried it. Please let us know if it works.
BTW: Setting the priority annotation has the same effect as setting the service ranking when registering the service in the plugin.xml.
Regards
Claudio
[Updated on: Thu, 29 March 2012 20:27] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03388 seconds