performance issue for diagram partitioning [message #126672] |
Tue, 15 May 2007 13:27  |
Eclipse User |
|
|
|
I realized, that, if you use reuse the editing domain in
createEditingDomain() of your "Document Provider Class" (by registering
it at the first time and quering it in the following), then when opening
sub-diagrams (within the same diagram file, by the diagram partioning
feature), the XMI model file is not parsed again, and instead the
existent resource is taken. This makes a big speed difference in my GMF
application from previos 30 seconds to now 1 second to display a
partionioned diagram (my model document is ~1mb). However after opening
several sub-diagrams, it comes to the point that i cannot do any more
modifications like shifting figures around or creating new elements.
(However I can still do changes in the Properties view.) I even cannot
open more sub diagrams.
Any idea to solve this bug?
|
|
|
|
Powered by
FUDForum. Page generated in 0.03620 seconds