eymeric - 2006-09-21

Hi !

I'm realizing a plugin using Merlin (great work ! ;-) ) and I am actually customizing the generated GEF editor.

My problem occurs when I'm loading an existing file.

I followed loading thanks to debbuger and I realized that the NodeImpl objects initialization is wrong.

Coordinates, name's label are quite well initialized but the eObject attribute doesn't contain the right model object loaded !

As far as files structure is concerned :

My model file saves an expression defined as an operator plus the first operand (expression too) and the second operand (expression too). Each expression has a type stored (ex : automatically computed, manually computed, etc.)

My diagram file saves information on operand display position, operand label, etc. /!\ The right associated object model is stored too.

When I load the diagram, the root expression is quite well initialized (eObject attribute in ENodeImpl aims at the root object). But for others subExpressions, the eObject attribute in EObjectImpl is initialized with the type of the expression (the name label, the position are well initialized.)

Do you have any idea of the source of this mistake ?

Thanks for your answers ;-)