[solved] EMF ItemProvider customization in Sirius property editor? [message #1413742] |
Fri, 29 August 2014 10:06 |
Mauro Antonaci Messages: 12 Registered: February 2010 |
Junior Member |
|
|
Hi,
I'm starting to use Sirius to build some graphic modeler for our Model Driven Development tool.
First of all I wish to say that this is an amazing tool: we were waiting for such a tool literally for years! Now we finally can do seriously and go beyond structured tree editor without falling into GMF nightmare...
I'm using version 1.0.1 of the tool on Luna.
Now the question.
The property editor used in sirius diagrams seems to ignore the customizations in the EMF generated edit plugin of semantic metamodels. We did some classic customizations, for example:
- we customized some ItemProvider.getText() method in order to provide more explicit labels in the EMF generated structured tree editor, but now we can't see these custom labels in the sirius property editor (for example in the options of a select box associated with a non contained EReference)
- we customized some getComboBoxObjects() method (when adding corresponding PropertyDescriptor in ItemProvider initialization) to do some context-based restriction to the set of candidates for non contained EReference: while it works well in the structured tree editor, in the corresponding select box provided that the sirius diagram property editor this option restriction seem to have no effect
Now my question is: is this a known and desired behavior? If yes: [1] and, most of all, [2] can be a serious usability issue.
Reading another thread it seems that this should work: https://www.eclipse.org/forums/index.php/t/648110/.
Any suggestion?
Thanks in advance
[Updated on: Thu, 15 January 2015 15:32] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 1.77217 seconds