Add containment Feature for an Object [message #1059027] |
Thu, 16 May 2013 05:49  |
Eclipse User |
|
|
|
Hello,
I am wondering whether Graphiti provides the containment feature for an object same as that of Eugenia. For example, if I have two objects, object1 and object2, and I want object2 to be dropped over object1 and then rendered as contained figure of object1 figure. It is one of the default functionality in Eugenia EMF framework. Is there any way to do this in Graphiti. I tried to implement it somehow, but the logic doesn't seem to work. Any suggestions will be helpful.
Thanks,
Cheers,
Heeren
|
|
|
|
|
Re: Add containment Feature for an Object [message #1059294 is a reply to message #1059027] |
Thu, 16 May 2013 12:17  |
Eclipse User |
|
|
|
On 16.05.13 06.14, Heeren Sharma wrote:
> Hello,
> I am wondering whether Graphiti provides the containment feature for an
> object same as that of Eugenia. For example, if I have two objects,
> object1 and object2, and I want object2 to be dropped over object1 and
> then rendered as contained figure of object1 figure. It is one of the
> default functionality in Eugenia EMF framework. Is there any way to do
> this in Graphiti.
GMF (which Eugenia provides a textual syntax for, if I'm not mistaken)
lets you model the relation between the domain model and graphical
notation. In Graphiti, this must be done by hand. Take a look at Spray,
which does something similar for Graphiti.
Hallvard
|
|
|
Powered by
FUDForum. Page generated in 0.24754 seconds