Dear all,
I pushed a new gerrit patch for
Bug 435352 (and an additional patch of Papyrus designer that depends on it).
It is based on the cross reference adapter (please ignore my remark below: the GMF class that Alain mentioned provides access to the cross reference adapter registered by GMF, but it is in facet an ECrossReferenceAdapter).
For my example model, it reduces selection time from 8 minutes to ~2 seconds!
However, I agree with Ed that we might need to execute this in a worker threat for larger models.
I propose to move further comments to the bugzilla.
Best regards
Ansgar
From: mdt-papyrus.dev-bounces@xxxxxxxxxxx [mdt-papyrus.dev-bounces@xxxxxxxxxxx] on behalf of RADERMACHER Ansgar 206501
Sent: Tuesday, March 08, 2016 5:31 PM
To: Papyrus Project list
Subject: [PROVENANCE INTERNET] Re: [mdt-papyrus.dev] Performance issues during element selection
Hi Alain,
thanks, I will have a look at this adapter. Do you know what the advantages/differences of the GMF adapter are compared to the ECrossReferenceAdapter in oe.emf.ecore.util?
Best regards
Ansgar
From: mdt-papyrus.dev-bounces@xxxxxxxxxxx [mdt-papyrus.dev-bounces@xxxxxxxxxxx] on behalf of Alain Le Guennec [Alain.LeGuennec@xxxxxxxxxxxxxxxxxxxxxxxx]
Sent: Tuesday, March 08, 2016 1:31 PM
To: Papyrus Project list
Subject: Re: [mdt-papyrus.dev] Performance issues during element selection
Why don't you use the CrossReferenceAdapter of GMF to retrieve notation elements (ie diagrams) referring to semantic elements?
That's what we do here, and it works pretty well.
Isn't that the cache you're looking for?
Regards,