|Re: Multi labeled nodes [message #1391905 is a reply to message #1391729]
||Tue, 01 July 2014 15:23
| Florian Barbin
Registered: August 2010
Why not using a list container ? (see
On 07/01/2014 12:11 PM, Ignacio Arechaga Fernandez wrote:
> Hi all,
> I am trying to figure out how to extend Sirius in order to get what we
> need for our project.
> I need to have a node with some attributes inside (as labels) and I need
> to be able to edit them directly from the diagram.
> I know that I can use a Node Container with one node for each attribute
> but I am trying to avoid some performance issues that I've asked in
> https://www.eclipse.org/forums/index.php/t/781879/. I've set all the
> "semantic candidates" with the references from my model and now it's way
> better, but not enough.
> So what I have in mind is to have a node with some labels at the same
> time. e.g. a node with 4 string attributes
> I am having a look at the SiriusWrapLabel class, so what it comes to my
> mind is to have a Style with many instances of this class.
> Please correct me if I'm wrong, but I think that I would need :
> - A new kind of node (by extending the DNode)
> - A new node style (by extending the SimpleStyleNode)
> - A new kind of labels (by extending the SiriusWrapLabel)
> I've added the DNode extension in the diagram.ecore and I have generated
> again the classes.
> Do I need to do the same in others ecore files?
> Any hint in order to reach something like this?
> Many thanks.
[Updated on: Tue, 01 July 2014 15:29]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03312 seconds