Issue with the definition of gmf.nodes [message #1253177] |
Sat, 22 February 2014 01:43 |
Jonh Cost Messages: 3 Registered: February 2014 |
Junior Member |
|
|
Hello! At first I insert this post in the "EMF" Technology "(Ecore Tools, EMFatic, etc)" section, but they told me to put the post here.
I have the following metamodel and its notation GMF:
@gmf(foo="bar")
@namespace(uri="casemodel", prefix="casemodel")
package caseModel;
@gmf.diagram(foo="bar")
class CaseModel {
val Root[1] root;
}
abstract class CaseNode {
id attr String[1] name;
@gmf.link
val Member[*] members;
}
@gmf.node(label="name", figure="rectangle", border.width="2", border.style="solid", label.placement="internal", size="50,50")
class Root extends CaseNode {
}
class Act extends CaseNode, Member {
attr int[1] cardinality;
}
abstract class Member {
}
@gmf.node(label="name", figure="rectangle", border.width="2", border.style="solid", label.placement="internal", size="50,50")
class ActOne extends Act {
}
@gmf.node(label="name", figure="rectangle", border.width="2", border.style="solid", label.placement="internal", size="50,50")
class ActTwo extends Act {
}
I want to create three nodes: Root, Arcone and ArcTwo. The Root node must have a connection (with an arrow) to Arcone and another for ArcTwo, but the problem is that the definition of the GMF notation in EMF file is not allowing me to do what I want, because I can not select the nodes Arcone and ArcTwo in the pallete.
How can I solve the problem? I know that is the incorrect definition of the GMF notation, but I can not solve it! Thank you!
|
|
|
|
Powered by
FUDForum. Page generated in 0.02216 seconds