Summary: | Need synchronous support of arrange diagram API | ||
---|---|---|---|
Product: | [Modeling] Sirius | Reporter: | Olivier Haegi <olivier.haegi> |
Component: | Diagram | Assignee: | Project Inbox <sirius.diagram-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | laurent.redor, romain.guider, steve.monnier |
Version: | unspecified | Keywords: | triaged |
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Bug Depends on: | 513145 | ||
Bug Blocks: |
Description
Olivier Haegi
2016-11-04 06:19:54 EDT
Do you remember in which called method there is this Display.asyncExec as it is not directly in SiriusCanonicalLayoutHandler.launchArrangeCommand? The method contains “Display.asyncExec” is org.eclipse.sirius.diagram.ui.internal.refresh.layout.SiriusCanonicalLayoutCommand.doExecute() Thanks for your detailed enhancement submit. We have currently not planned to work on it in the following releases. For information: * Referenced classes in your comment are currently not API. * The asyncExec is probably here for potentiel problem with DeferredLayoutCommand (org.eclipse.gmf.runtime.diagram.ui.commands.DeferredLayoutCommand). I'm not sure we can simply call a syncExec. This needs investigation... The same issue was reported (see Bugzilla 513145) with a diagram and an Xtext Editor. A fix has been pushed to gerrit. Once integrated, this bugzilla should be closed as duplicate. |