Change the label provider in the GUI [message #1069625] |
Tue, 16 July 2013 09:09 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Laurent Odermatt![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=zrechimf%40gmail.com) Messages: 13 Registered: May 2013 |
Junior Member |
|
|
Hello,
I'm currently working with your tool (which works well) but, as I'm using a read-only
resource as a reference resource, it doesn't have any editing domain. The problem is
because of this (see UIUtil.getText()), the full name of the object (method toString())
is displayed in the right side of the UI.
Is it possible to change the viewers' label provider ? I didn't found any method to get
the tree viewers or to change the label providers.
Thanks
Laurent
[Updated on: Tue, 16 July 2013 09:10] Report message to a moderator
|
|
|
Re: Change the label provider in the GUI [message #1069785 is a reply to message #1069625] |
Tue, 16 July 2013 14:56 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Olivier Constant![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=olivier.constant%40thalesgroup.com) Messages: 106 Registered: January 2012 |
Senior Member |
|
|
Hello Laurent,
I believe there are two different issues here.
A. As you pointed out, the GUI expects the presence of an editing domain. This, however, should not be a restriction when it comes to providing labels, especially if your .edit plugins have been generated and are present in the platform. I'd encourage you to create a bugzilla entry for this problem. I'm going to have a look today.
B. Now, if you do not want to use the .edit labels but rather customized ones, there is currently no easy, obvious way to do it. You may want to create a bugzilla entry for that too, but my understanding is that your need is rather A. than B.
Olivier
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03988 seconds