[EuGENia] GMF compartment nodes behaving badly [message #631207] |
Wed, 06 October 2010 10:56  |
Eclipse User |
|
|
|
Hello guys,
I'am a total newbie on GMF and Eugenia and having a problem with compartment features.
If I have following - very simple model defined - compartments wont work correctly. If I create two Box elements on the canvas and then drag one of them into another, there will be "shadow" Box element created as well. It is not a new Box object in the model but it just will be shown in the diagram...
Am I missing something or is this a bug? I could not find anything about this from previous posts...
@gmf.diagram(foo="bar")
class Diagram {
val Box[*] elements;
}
@gmf.node(label="name")
class Box{
attr String name;
@gmf.compartment(foo="bar")
val Box[*] boxes;
}
Thanks in advance,
Jan
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04475 seconds