|
|
Re: Cannot integrate evl with emf tree-editor [message #1014646 is a reply to message #1014524] |
Tue, 26 February 2013 08:01 |
oskar saiz Messages: 17 Registered: February 2013 |
Junior Member |
|
|
Hi Dimitris.
First of all, thanks for the super-quick reply.
Second: Yes, I added the 2nd markerResolutions, successfully.
Just a silly question about this: This extensions are to be added to the integration plugin I've created, not to the editor. Am I wright?
Third: You are right, I did not include the context in my post, but I did in my system. Here it is the full evl file.
context GenIkPerson {
constraint AlwaysFail {
check {
return false;
}
message : 'Always false fired for ' + self.eClass().name
}
}
The model is very simple (emfatic):
@namespace(uri="flowchartdsl", prefix="")
@emf.gen(basePackage="org.ttc10")
package flowchartdsl;
class GenIkTown {
val GenIkPerson[*] listOfCitycens;
}
class GenIkPerson {
attr String[1] name;
attr Integer[1] age;
}
And the process I follow is also fairly simple:
1.- From this emf, I generate the ecore model
2.- From the ecore model generated, I do: Eugenia->Generate EMF Gen Model
3.- From the genModel, I do: Generate All
4.- Then I run the generated editor
5.- On the other hand, I created the plugin with the evl.
This is my eclipse version:
ECLIPSE VERSION
Eclipse Modeling Tools
Version: Juno Service Release 1
Build id: 20120920-0800
Epsilon version: 1.0.0.201211082326
I attach the following files:
1.- MMfirst.emf
A Meta Model
2.- mondra.flowchartdsl
A model
3.- minimal.zip
The exported eclipse projects
4.- Eclipse Application (1).launch
The launch configuration
Thank you very much in advance.
Oskar
Pd.- Just a personal thing: I work for Ikerlan, with Salva Trujillo, and I also studied at York Univ.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03827 seconds