Hi,
I am trying to dynamically update one of the datamapper GMF editparts using
the following [1] code snippet. This throws an IllegalStateException [2].
Any idea on how I can update the resource set in run-time?
[1]
TreeNode graphicalTreeModel = rootDiagram.getInput().getTreeNode().get(0);
Hi Gayank,
You are trying to change the EMF model in runtime. In this kind of change
cannot execute without using transaction API[1] (All changes made to the
model should be done using commands). You can find the same kind of issues
in here[2][3].
[1]