Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[stem-dev] GraphEditor update

Hi all,

I hope the addition of labels and their saving should be working now.
But I have had some problems with one aspect:

When I save the graph (with "save & quit" button) the window is
automatically closed, so one of the problems can be avoided. 

Problem 1: after saving, you have to wait about 10 seconds before the
change is visible by re-opening the graph. The "project.refresh" is
obviously not sufficient, do you have ideas?
Problem 2: If I did not close the window automatically, saving would
not work a second time. When I save the graph a second time, all labels,
nodes, edges turn into proxies instead of real objects. Do you know how
I can turn them into objects again? EcoreUtil.resolve seems to do
something like this, but maybe I did not use it correctly.

Unfortunately, our system blocks port 22, so I can commit from here.
I'll try it at home, but to be sure, I upload a patch to bugzilla..
https://bugs.eclipse.org/bugs/show_bug.cgi?id=317129

Jan





Back to the top