Unable to generate .diagram folder using Eugenia [message #1862408] |
Sat, 02 December 2023 02:14 |
Hira Naveed Messages: 2 Registered: November 2020 |
Junior Member |
|
|
Edit: I realized Eugenia is not supported in newer versions of Eclipse.
It's working perfectly fine on Eclipse 2021-12 with Epsilon 2.4.
However, Eugenia was not installed with Epsilon when I downloaded it from the marketplace, had to install it separately later.
Hi,
I'm following the tutorial here
https://www.youtube.com/watch?v=OpE-Y7ybZOI&list=PLRwHao6Ue0YUecg7vEUQTrtySIWwrd_mI&index=2
to create a graphical model editor using an emfatic meta-model. All other files including the gmftool, gmfmap etc and the tree based editor are generated perfectly but the .diagram folder was not generated. I have also tried placing the emf file in a fresh workspace in a new project.
I'm using Epsilon 1.5 and Eclipse DSL Tools Version: 2023-09 (4.29.0).
I have also tried Epsilon 2.4 but I get the same problem with it.
Here is my meta-model:
@namespace(uri="flowchart",prefix="")
package flowchart;
@gmf.diagram
class Model{
val Step[*] steps; //containment reference
val Transition[*] transitions;
}
@gmf.link(label="text",source="from", target="to")
class Transition {
attr String text;
ref Step#incoming to; //non-containment reference
ref Step#outgoing from;
}
@gmf.node(label="text")
abstract class Step{
attr String text;
attr Voice voice;
ref Transition[*]#from outgoing; //the # synchronizes refs in step and transition
ref Transition[*]#to incoming; //[*] means many
}
abstract class Action extends Step {
op Step getNext();
}
class Decision extends Step {
}
class speakAction extends Action {
}
class redirectAction extends Action {
attr String number;
}
class inputAction extends Action {
attr String variable;
}
enum Voice{
MALE =1;
FEMALE=2;
}
There are also no errors, just warnings.
[Updated on: Sat, 02 December 2023 04:41] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02735 seconds