Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Issue with the definition of gmf.nodes
Issue with the definition of gmf.nodes [message #1253177] Sat, 22 February 2014 01:43 Go to next message
Jonh Cost is currently offline Jonh CostFriend
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!
Re: Issue with the definition of gmf.nodes [message #1253193 is a reply to message #1253177] Sat, 22 February 2014 02:09 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2162
Registered: July 2009
Location: York, UK
Senior Member

Hi John,

Does this help?

http://eclipse.org/epsilon/doc/articles/eugenia-phantom-nodes/

Cheers,
Dimitris
Previous Topic:Associte two links with two classes
Next Topic:[Epsilon/EuGENia] Dynamic GEF Palette
Goto Forum:
  


Current Time: Thu Apr 18 14:11:48 GMT 2024

Powered by FUDForum. Page generated in 0.02216 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top