Graphiti "New and Noteworthy" for Eclipse Luna

Last revised October 1, 2013

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

M2

The main focus for this milestone has been set on bugfixing and implementing round-offs.
Mouse wheel support for scrolling and zooming Graphiti now supports the use of the mouse wheel for scrolling and zooming inside diagrams.
DiagramEditorInput adapts to IResource The DiagramEditorInput object now supports calls to the method getAdapter(...) passing an IResource.class object and returns the underlying Eclipse resource in case it can be retrieved.
Bug 414437 Fixed a bug that caused the zoom animation to jump in some cases.
Bug 414954 Fixed a wrong link on the Graphiti web page to the online documentation and the New & Noteworthy documents.
Bug 415884 Fixed a bug in the size calculation for texts that are placed into multi text graphics algorithms. Line breaks and other special characters were not counted correctly, e.g. did not increase the needed height.
Bug 416419 Fixed a wrong return value in DiagramBehavior; getAdapter to IDiagramEditor returned the behavior instance.
Bug 416708 Fixed a bug in the IdPattern that might cause direct editing not to get active in certain situations.
Bug 417577 Fixed a bug that caused that the state callback were not called while creating a connection and using the drag new connection functionality.
Bug 418333 Graphiti now needs Java 1.6 as minimal supported runtime, since the Equinox Core plugins require that version as well in Luna M2. Running the Graphiti framework on top of Java 1.5 is no longer possible. Note that this is an incompatible change.

M1

The main focus for this milestone has been set on bugfixing and implementing round-offs.
Double click feature for diagrams It is now possible for clients to register a double click feature also on diagram level. Until now that was only possible on concrete shapes.
Hook to check read-only state of EMF resource It is now possible for clients to override a hook method for checking if any of the EMF resources used in the editor is read-only. Until now having a resource contained in the platform itself (e.g. EMF core) loaded in the editor caused an exception while trying to save.
Convert image to bytes service Clients may now use a Graphit service method that converts an image into a byte array. The functionality was up to now hidden in the save as image feature.
Bug 403622 Tests that were disabled for dependency issues between Eclipse Kepler and SWTBot are now enabled again.
Bug 411891 Fixed a dependency bug so that the Graphiti SDK can now be installed into Eclipse Juno.
Bug 412877 Fixed a bug that caused reconnection features not to appear on the undo/redo stack in some cases.
Bug 413166 Fixed a bug that caused DiagramEditorDummy not to return the editing domain.