When pondering about saving memory I was thinking that it would be nice if
we just have the current diagram (or diagrams) rendered and not all of them.
This would mean that when switching to a new diagram, the information about
the diagram (position and color of figures…) is restored from wherever and
the Figs, Editors etc. are created. The switched from diagram will
eventually be garbage collected.

There has been an attempt to do something similar in the past which
which caused nothing but problems.
That was not actually deleting the Figs but was dropping the listeners
of those figs to their owner model element.
This ended up causing all sort of problems as Figs not on the current
diagram were not deleted when the model element was deleted and so a
whole stream of persistence problems.
I'd say steer clear of complicating the code to do anything like this
for some time. Lets continue with bugs and implementing required
functionality.

Bob.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to