commit | ef2d04e958c6cda02fdc3b79910a40c762f8d52f | [log] [tgz] |
---|---|---|
author | Laurent Redor <laurent.redor@obeo.fr> | Fri Mar 05 22:58:50 2021 +0100 |
committer | Laurent Redor <laurent.redor@obeo.fr> | Mon Mar 08 19:34:01 2021 +0100 |
tree | 9c6d6587dec439b9821665a34eb11458b1a123d9 | |
parent | 03287238841b5619088ac58bac13afe02212e20e [diff] |
[571249] Avoid potential SWTException exception: "Widget is disposed" This commit fixes the problem seen during validation (comment 7 [1] of the issue): * To avoid the "Widget is disposed" problem that occurs during the UpdateRequest runnable launched in async by the DeferredUpdateManager, the executions of them are forced before cleaning a the offscreen diagram EditPart. * The dispose of the shell is now done in MappingBasedSiriusFormatManagerFactory.cleanAndDispose(DiagramEditPart). Indeed, running it in async caused a problem with the above change. * All the diagramEditPart are disposed. This is a not a problem detected but a potential problem seen during analysis. [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=571249#c7 Bug: 571249 Change-Id: Ib58067fd0cdceb77d42fd9f53ab4118a5525e4dd Signed-off-by: Laurent Redor <laurent.redor@obeo.fr>
Sirius enables the specification of a modeling workbench in terms of graphical, table or tree editors with validation rules and actions using declarative descriptions.
For more details see the project page and the main wiki page.
The build uses Tycho. To launch a complete build, issue
mvn clean package
from the top-level directory. The resulting update-site (p2 repository) can be found in packaging/org.eclipse.sirius.update/target/repository
.
By default the build uses a Neon-based target platform. You can specify a different platform like this:
mvn clean package -Dplatform-version-name=name
where name
can be any of the following values:
mars
(Eclipse 4.5)neon
(Eclipse 4.6, the default and reference target platform)canary
(uses nightly builds of all our dependencies, only used for testing)The corresponding target platform definitions can be found in releng/org.eclipse.sirius.targets
.