[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.emf] Re: EMF Model Creation Wizard broken / no finish button

Fabrice,

Are you sure the problem isn't just that you need to select one of the choices? If there's only one choice, this code selects it:

     if (initialObjectField.getItemCount() == 1)
     {
       initialObjectField.select(0);
     }

Otherwise nothing is selected...


fabrice wrote:
Hi again Ed,

maybe another clue:

1/ if I remove all the EClasses but one (say USAddress) , I will be able to create a .PPO model of it. It works fine, lets say I can create instance.ppo and populate it with one USAddress

2/ after that I add a second class in the PPO package (say PurchaseOrder), regenerate etc

3/ then creation of a new .PPO file will fail, *however* the PPOeditor will allow me to edit the former instance.ppo file correctly

My intuition is that it could be a problem of definition of a DocumentRoot class or something like that(maybe a default is missing) since editing directly the XML .ppo models can raise such exceptions.

Fabrice