Skip to main content



      Home
Home » Modeling » Epsilon » Issue with the definition of gmf.nodes
Issue with the definition of gmf.nodes [message #1253177] Fri, 21 February 2014 20:43 Go to next message
Eclipse UserFriend
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] Fri, 21 February 2014 21:09 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 22:34:59 EDT 2025

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

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

Back to the top