Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » I can't use my model editor
I can't use my model editor [message #648437] Wed, 12 January 2011 22:26 Go to next message
aurelienfaravelon is currently offline aurelienfaravelonFriend
Messages: 7
Registered: January 2011
Junior Member
Dear all,

my question may come accross as naive but I have just created my first model editor with EMF by following these steps:

- I created an ecore mode called "Family.ecore"l ;
- I created a model generator based on this mode called "Family.genmodel" ;
- I created an editor from this generator and obtained two new packages ending with ".edit" and ".editor";

- I launched this editor as an Eclipse application
- I created a new project;
- I tried to create a new model by selecting File>New>Other>Example EMF Creation Wizards and selecting my own example.

However, when I name my file and then try to select a model element, I cannot complete the creation of my model, the "finish" button is never enabled. Have you ever encountered this problem?

Thanks in advance,

A.
Re: I can't use my model editor [message #648443 is a reply to message #648437] Wed, 12 January 2011 22:57 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi,

can you select a model object in the wizard or is there an empty combo box?

~Christian


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: I can't use my model editor [message #648447 is a reply to message #648443] Wed, 12 January 2011 23:00 Go to previous messageGo to next message
aurelienfaravelon is currently offline aurelienfaravelonFriend
Messages: 7
Registered: January 2011
Junior Member
Hi,

I can select an object from the combo but the "finish" button is never activated.
I am searching the Internet and it seems to be linked to my platform, MacOS X.

~A.
Re: I can't use my model editor [message #648451 is a reply to message #648437] Wed, 12 January 2011 23:06 Go to previous message
aurelienfaravelon is currently offline aurelienfaravelonFriend
Messages: 7
Registered: January 2011
Junior Member
I have just solved my problem, it is a bug related to MacOS, the selection of an element in the wizzard's display is not correctly understood by the system.

The bug is analyzed here, with a possible solution (adding a few lines of code in the wizzard) :

https://bugs.eclipse.org/bugs/show_bug.cgi?id=294192

-A
Previous Topic:[EMF Compare] Epatch and NullPointerException
Next Topic:Cannot create an instance of my model in my editor
Goto Forum:
  


Current Time: Fri Apr 26 09:44:21 GMT 2024

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

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

Back to the top