Graphiti "New and Noteworthy" for Eclipse Mars

Last revised December 17, 2014

This document describes the new development topics that were addressed during the milestones towards the release 0.12.0 within the Mars release train.

M4

The main focus for this milestone has been set on implementing improvements and fixing bugs.
Provide an abort possibility for delete and remove features Delete and remove features now also support abortion after the preDelete and preRemove hooks.
Bug 450884 The Graphiti "view" menu added in the editor now has an ID that clients can use in case the want to add own entries.
Bug 450993 A rendering issue with the context button pad has been fixed that occurred when the associated shape was not high enough.

M3

The main focus for this milestone has been set on implementing improvements and bugfixing.
Improve undo/redo handling The client options to influence undo/redo handling have been improved. There are now hooks before and after the actual EMF undo to implement own functionality. Also it is possible to abort undo/redo.
Bug 449384 A bug in the enablement check of the print action that on Linux systems potentially caused a hanging Diagram editor during opening has been fixed.

M2

The main focus for this milestone has been set on implementing improvements and bugfixing.
Additional createDiagram method To ease diagram creation a new service method has been introduced.
TextBuilder A TextBuilder helper class has been introduced to ease the creation of TextStyleRegions.
Asynchronous feature execution To enable the asynchronous execution of long running custom features a new base class AbstractAsynchronousCustomFeature has been introduced.
Bug 407894 The configuration and initialization of the graphival viewer inside diagram editors and viewers that happened so far by a hack has been made more robust. This required a minor API change.
Bug 412858 The bug that canUpdate was not called before updatedNeeded in some situations has finally been fixed. Clients might need to adapt to the new behavior, before they only got a warning that they do not behave correctly.
Bug 429531 The Graphiti EMF model has been alingned with the generated coding. This caused no behavioral changes but removed the need for manual corrections (like version tags, comments) after re-generating.
Bug 429532 Deprecations introduced in previous releases in the Graphiti coding have been removed. This required a API change.
Bug 442879 The Graphiti dependencies to other project like Eclipse platforms, EMF, GEF have been increased. Now at least the versions that are part of the Luna release train are required.
Bug 442895 Graphiti now uses Batik 1.7.0 for SVG export, before it used Batik 1.6.0..
Bug 439689 A bug that caused invisible pictogram elements to become marked with a selection border on setting the selection in the editor has been fixed.
Bug 440796 A bug that caused incorrect notifications on changing the rotation attribute of AbstractText has been fixed.

M1

The main focus for this milestone has been set on bugfixing.
Bug 437933 A potential NullPointerExecption in the method isDirty() in DefaultPersistencyBehavior has been fixed.
Bug 436601 A potential race condition in the save logic of DiagramEditor has been fixed. It could have caused erroneous update and refresh behaviors in the editor that are hard to track down.