Actually it seems to be a problem with adding elements to any
relationship. In the textual editor created in TEF, I add a row with
cells like this:
Row(1,2,3,4,5,6,7,8,9), the numbers beeing an int iCellValue in Cell.
I can access these cells in EMF like this:
Row row = (Row) ((EMFModelElement)modelElement).getEMFObject();
EList<Cell> cells = row.getCells();
and cells contains all cells from that row. However, if I try
row.cellsInRow.Add(somecell); the same error occurs as with
puzzle.getElements() or puzzle.getElements().Add(someRow). However,
puzzle.eContents().toString() will return a string with the 9 rows in
the puzzle...
I am e really really confused!