Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Unable to generate .diagram folder using Eugenia
Unable to generate .diagram folder using Eugenia [message #1862408] Sat, 02 December 2023 02:14 Go to next message
Hira Naveed is currently offline Hira NaveedFriend
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

Re: Unable to generate .diagram folder using Eugenia [message #1862409 is a reply to message #1862408] Sat, 02 December 2023 11:54 Go to previous message
Antonio Garcia-Dominguez is currently offline Antonio Garcia-DominguezFriend
Messages: 594
Registered: January 2010
Location: Birmingham, UK
Senior Member

Yes, as you mentioned, Eugenia does not work on newer versions of Eclipse as the relevant components of GMF were not updated for them. Epsilon 2.5.0 will not include Eugenia any more.

For creating a new graphical notation within Eclipse, these days I would personally recommend Eclipse Sirius instead:

https://eclipse.dev/sirius/
Previous Topic:How to query Sequence<Any> for enum in EMF model?
Next Topic:EOL Script error in standalone execution: The feature 'x' is not a valid feature
Goto Forum:
  


Current Time: Sat Apr 27 12:45:50 GMT 2024

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

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

Back to the top