Bug 546591 - SubDiagramDecorationDescriptorProvider should be optimized
Summary: SubDiagramDecorationDescriptorProvider should be optimized
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 6.1.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 6.2.1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on: 546246
Blocks:
  Show dependency tree
 
Reported: 2019-04-19 09:34 EDT by Pierre Guilet CLA
Modified: 2019-06-24 03:58 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Guilet CLA 2019-04-19 09:34:44 EDT
+++ This bug was initially created as a clone of Bug #546246 +++

The method org.eclipse.sirius.diagram.ui.tools.internal.decoration.SubDiagramDecorationDescriptorProvider.getDecorationDescriptors(IDiagramElementEditPart, Session) takes a lot of time and could be optimized.

At each refresh sub diagram decorators are computed from scratch. Or the computing is not optimized  so in some situations with many elements to refresh it can takes a lot of time.
Comment 1 Eclipse Genie CLA 2019-04-19 09:43:05 EDT
New Gerrit change created: https://git.eclipse.org/r/140877
Comment 2 Eclipse Genie CLA 2019-04-19 09:45:18 EDT
New Gerrit change created: https://git.eclipse.org/r/140880
Comment 4 Pierre-Charles David CLA 2019-05-28 09:40:09 EDT
Fixed by db2b09da7a6a2ee5fb093bc68bf2612e2eb2a8aa.
Comment 5 Pierre-Charles David CLA 2019-06-24 03:58:57 EDT
Available in Sirius 6.2.1: https://wiki.eclipse.org/Sirius/6.2.1