blob: a0447f826322c5b1957213257df7c0abdd7aea7a [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<style type="text/css">
table.news td {
border-top: solid thin black;
}
table.news tr {
vertical-align: top;
}
table.news tr td.section {
font-size: 20px;
font-weight: bold;
}
table.news tr td.title {
vertical-align: top;
width: 30%;
font-weight: bold;
}
table.news tr td.content {
vertical-align: top;
width: 70%;
}
</style>
<title>Graphiti &quot;New and Noteworthy&quot;</title>
<link href="book.css" rel="stylesheet" type="text/css">
</head>
<body>
<h1>Graphiti &quot;New and Noteworthy&quot; for Juno</h1>
<p>Last revised June 12, 2012</p>
<p>This document describes the new development topics that were
addressed during the milestones towards the release 0.9.0 within the
Juno release train.</p>
<!-- --------------------------------- Table ----------------------------------------- -->
<table border="0" cellpadding="10" cellspacing="0" class="news"
width="600">
<!-- ---------------------------------------- RC4 ------------------------------- -->
<tr>
<td colspan="2">
<h2>RC4</h2>
</td>
</tr>
<tr>
<td colspan="2">The main focus for this milestone has been set
testing and making minor final corrections.</td>
</tr>
<!-- ---------------------------------------- RC3 ------------------------------- -->
<tr>
<td colspan="2">
<h2>RC3</h2>
</td>
</tr>
<tr>
<td colspan="2">The main focus for this milestone has been set
on documentation round-offs.</td>
</tr>
<tr id="bug 325084">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325084">Bug
325084 </a></td>
<td class="content">The Graphiti pattern concept is now
documented in the Graphiti help. JavaDoc has been updated for the
classes relevant for building patterns.</td>
</tr>
<tr id="bug 379825">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=379825">Bug
379825 </a></td>
<td class="content">A broken link in the Graphiti documentation
has been fixed. Also the missing links in the table of contents for
the JavaDoc have been added.</td>
</tr>
<tr id="bug 363265">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=363265">Bug
363265 </a></td>
<td class="content">The Graphiti tutorial has been played
through to check if it is still up-to-date. Necessary adaptations
have been made.</td>
</tr>
<tr id="bug 350814">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350814">Bug 350814
</a></td>
<td class="content">API filters in the Graphiti framework have been cleaned up.</td>
</tr>
<tr id="bug 371527">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=371527">Bug
371527 </a></td>
<td class="content">A bug in the action enablement check has
been fixed that caused runtime exceptions on Linux machines because
of intersecting part activations has been fixed.</td>
</tr>
<tr id="bug 381312">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=381312">Bug
381312 </a></td>
<td class="content">Two UI update issues have been fixed in the
create new Graphiti plugin wizard.</td>
</tr>
<tr id="bug 381437">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=381437">Bug
381437 </a></td>
<td class="content">A bug in the contribution of menus that lead
to an IllegalStateException when starting a Graphiti diagram editor
in an RCP application without edit menu has been fixed.</td>
</tr>
<!-- ---------------------------------------- RC2 ------------------------------- -->
<tr>
<td colspan="2">
<h2>RC2</h2>
</td>
</tr>
<tr>
<td colspan="2">The main focus for this milestone has been set
on documentation round-offs.</td>
</tr>
<tr id="bug 380400">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=380400">Bug
380400 </a></td>
<td class="content">The method <i>remove</i> in <i>DefaultRemoveFeature</i>
is no longer final to enable clients to modify the standard remove
functionality in a more flexible way.
</td>
</tr>
<tr id="bug 378828">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=378828">Bug
378828 </a></td>
<td class="content">An exception after pressing Shift-Del in a
Graphiti editor within Eclipse 4.2 because of a wrong key binding
has been fixed. The exception did not occur in Eclipse 3.8 because
of a slightly different execution order, but was caused by an
erroneous definition in Graphiti.</td>
</tr>
<tr id="bug 375497">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=375497">Bug
375497 </a></td>
<td class="content">The create new Graphiti editor bundle wizard
has been enhanced to allow users to reference domain objects and to
support patterns. The functional extension has long been prepared
but could only be activated now because of the availability of a
needed API in JDT UI.</td>
</tr>
<tr id="bug 350259">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350259">Bug
350259 </a></td>
<td class="content">Documentation for the Graphiti Test
Preferences page has been added in the Eclipse help. This preference
page provides means besides of debugging to identify and analyse
issues in Graphiti framework or tool coding. The page itself existed
for some releases already, but had never been documented.</td>
</tr>
<tr id="bug 358818">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=358818">Bug
358818 </a></td>
<td class="content">A gap in the documentation for the copy &
paste functionality regarding the save state of EObjects to be
copied has been closed.</td>
</tr>
<!-- ---------------------------------------- RC1 ------------------------------- -->
<tr>
<td colspan="2">
<h2>RC1</h2>
</td>
</tr>
<tr>
<td colspan="2">The main focus for this milestone has been set
on bugfixing.</td>
</tr>
<tr id="bug 371717">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=371717">Bug
371717 </a></td>
<td class="content">A bug in synchronizing the feature execution
on the Graphiti command stack has been solved. Clients are now able
to execute features also from other threads.</td>
</tr>
<tr id="bug 377783">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=377783">Bug
377783 </a></td>
<td class="content">The Graphiti debug feature has been enhanced
to allow users to dump not only the tree of the shapes on a diagram
but to also inlcude the connections into that dump.</td>
</tr>
<tr id="bug 378301">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=378301">Bug
378301 </a></td>
<td class="content">A rendering issue has been solved that lead
to a small gap between the right-hand end of a connection and its
anchor shape has been solved.</td>
</tr>
<tr id="bug 379788">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=379788">Bug
379788 </a></td>
<td class="content">A memory leak in the Graphiti Diagram Editor
has been fixed. A listener registered to the editing domain by the
DefaultMarkerBehavior is now removed when the editor closes.</td>
</tr>
<tr id="bug 379836">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=379836">Bug
379836 </a></td>
<td class="content">A stack overflow in case of an invalid shape
hierarchy has been fixed. The user now gets a hopefully more helpful
error stating the invalid object.</td>
</tr>
<!-- ---------------------------------------- M7 ------------------------------- -->
<tr>
<td colspan="2">
<h2>M7</h2>
</td>
</tr>
<tr>
<td colspan="2">The main focus for this milestone has been set
on</td>
</tr>
<tr id="bug 375497">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=375497">Plug-in
Project Creation Wizard</a></td>
<td class="content">Graphiti now provides a wizard that helps
starting a new editor project. It's hooked into the Eclipse create
new Plug-in Project Wizard and allows to create the relevant
extensions to the Graphiti extension points and generates a basic
version of a feature set to create, add and layout a new shape type
and connections between these shapes.<br> <img
src="NaNimages/PluginWizard.png" width="400px">
</td>
</tr>
<tr id="bug 363186">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=363186">Modification
of Selection and Hover State for Anchors</a></td>
<td class="content">Graphiti now allows clients to change the
way anchors are shown when they are selected or hovered over. Until
now this was possible only for shapes and connections.</td>
</tr>
<tr id="bug 376572">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=376572">Modification
of the Name of the Generic Context Buttons</a></td>
<td class="content">Graphiti now allows to clients to change the
name and description of the generic context buttons (delete, remove,
update) by simply overriding the getName() and get Description()
methods in their features.</td>
</tr>
<tr id="bug 372753">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=372753">Undo/Redo
is now Possible after Saving</a></td>
<td class="content">The Graphiti Diagram Editor now allows users
to trigger undo/redo even after the editor has been saved. Until now
the undo/redo stack was cleared while saving the editor, blocking
undo after that operation. Now all editors can be undone or redone
without hitting that block.</td>
</tr>
<tr id="bug 377419">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=377419">Hide
Underlying Text while Direct Editing is Enabled</a></td>
<td class="content">For MultiLineText shapes the current text is
now hidden when direct editing is enabled. Showing both texts (the
current one on the diagram and the edited one in the direct editing popup)
was irritating and looked ugly.</td>
</tr>
<tr id="bug 361736">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361736">Documentation
of Graphic Algorithm Properties</a></td>
<td class="content">A section in the Graphiti documentation in
Graphic Algorithm properties has been introduced. It answers some
questions that were aften asked on the effect of these properties.</td>
</tr>
<tr id="bug 359227">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359227">Link
with Editor Example</a></td>
<td class="content">The Graphiti tutorial implementation now
provides an example how to implement the Eclipse functionality "link
with editor" for the Project Explorer.</td>
</tr>
<tr id="bug 375533">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=375533">Bug
375533 </a></td>
<td class="content">A bug in the copy and paste implementation
of the tutorial causing an update issue has been fixed.</td>
</tr>
<tr id="bug 361414">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361414">Bug
361414 </a></td>
<td class="content">A bug in the copy and paste framework
functionality that enabled pasting at too many locations has been
fixed. Allowing to paste at some of these locations confused users.</td>
</tr>
<tr id="bug 374744">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=374744">Bug
374744 </a></td>
<td class="content">A bug in the usage of the local transfer
object in the copy and paste framework functionality has been fixed.</td>
</tr>
<tr id="bug 374918">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=374918">Bug
374918 </a></td>
<td class="content">A standard copy and paste functionality of
the Graphiti framework is now based on the usage of the local
transfer object and does not use additional transfer objects.</td>
</tr>
<tr id="bug 374701">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=374701">Bug
374701</a></td>
<td class="content">A bug in the location calculation of the
paste context has been fixed. When a diagram was scrolled or zoomed
a wrong location was set to the paste context.</td>
</tr>
<tr id="bug 378083">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=378083">Bug
378083</a></td>
<td class="content">The Diagram Editor did not get the focus
after a drop operation took place into a diagram.</td>
</tr>
<tr id="bug 368124">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=368124">Bug
368124</a></td>
<td class="content">A bug in the calculation of the position of
text decorators for connections has been fixed.</td>
</tr>
<tr id="bug 370440">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=370440">Bug
370440</a></td>
<td class="content">A bug in the rendering engine that caused
lines to be visualized thicker than they should be has been fixed.</td>
</tr>
<tr id="bug 374190">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=374190">Bug
374190</a></td>
<td class="content">A bug in the rendering engine, causing a
rotated text to disappear, has been fixed.</td>
</tr>
<tr id="bug 376008">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=376008">Bug
376008</a></td>
<td class="content">A bug in the Diagram Editor has been fixed
that caused NullPointerExceptions while browsing through the list of
recently opened editors.</td>
</tr>
<tr id="bug 371513">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=371513">Bug
371513</a></td>
<td class="content">A bug in the Diagram Editor causing a
NullPointerException in a special situation has been fixed.</td>
</tr>
<tr id="bug 378342">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=378342">Bug
378342</a></td>
<td class="content">A bug in the Diagram Editor causing that
only the first diagram in an EMF resource could be opened has been
fixed.</td>
</tr>
<tr id="bug 375037">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=375037">Bug
375037</a></td>
<td class="content">A bug in the SVG export causing an exception
has been fixed.</td>
</tr>
<tr id="bug 369241">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=369241">Bug
369241</a></td>
<td class="content">A bug in the SVG export has been fixed so
that rotated objects are now also rendered correctly in the exported
SVG file.</td>
</tr>
<tr id="bug 373298">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=373298">Bug
373298</a></td>
<td class="content">A resource leak in the Graphiti framework
with respect to font handling has been fixed. Tooltip fonts were not
freed correctly.</td>
</tr>
<tr id="bug 376544">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=376544">Bug
376544</a></td>
<td class="content">A bug in the Graphiti framework with respect
to reconnecting a connection has been fixed. In case of source and
target anchors being identical, source and target were swapped.</td>
</tr>
<tr id="bug 377475">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=377475">Bug
377475</a></td>
<td class="content">A bug in the AbstractCustomfeature has been
fixed. Clients may have run into infinite recursions causing an
exception.</td>
</tr>
<tr id="bug 375122">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=375122">Bug
375122</a></td>
<td class="content">A typo in the turial plugin.xml has been
fixed.</td>
</tr>
<!-- ---------------------------------------- M6 ------------------------------- -->
<tr>
<td colspan="2">
<h2>M6</h2>
</td>
</tr>
<tr>
<td colspan="2">The main focus for this milestone has been set
on rounding off the Graphiti functionality by providing some
features requested (and partly contributed) by the community. Also
several bugfixes are part of this milestone.</td>
</tr>
<tr id="bug 358255">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=358255">Border
and Color Decorators</a></td>
<td class="content">Graphiti supports new decorator types for
shapes (besides the already supported Image decorators). It is now
possible to add decorators that change the way the border or the
colors of a shape are displayed without modifying the diagram
itself. This could e.g. be used to highlight possible target shapes
while drawing a connection; the following screenshot shows the Chess
Example while drawing a move connection.<br> <img
src="NaNimages/Decorators.png" width="600px">
</td>
</tr>
<tr id="bug 367483">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=367483">Composite
Connections</a></td>
<td class="content">Graphiti again supports a new connection
type: Composite Connections can group Curved Connections (Splines)
now. This set of connections appears as one connection with several
lines to the user. <i>Note that this new connection type is
still experimental and that its API might be subject to change in
upcoming versions.<br>
</i><img src="NaNimages/CompositeConnections.png" width="600px">
</td>
</tr>
<tr id="bug 364126">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=364126">Make
Graphics Algorithm Service Extensible</a></td>
<td class="content">The Graphiti service to create Graphics
Algorithms can now be extended by clients to change the default
settings for the involved attributes. By doing that it is e.g.
possible to define an own default font and size that is used for
Text and MultiText objects created within one tool. The affected
class <i>GaServiceImpl</i> has been moved to a public API package
and has been adapted accordingly.
</td>
</tr>
<tr id="bug 341898">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=341898">Advanced
Property Sheet Support</a></td>
<td class="content">It is now possible to define Eclipse
AdvancedPropertySheets using only official Graphiti APIs; they
appear as a standard table format property sheet within a tabbed
property sheet page. To enable that there are new base classes
(org.eclipse.graphiti.ui.platform.GraphitiShapeEditPart and
org.eclipse.graphiti.ui.platform.GraphitiConnectionEditPart) that
can be added to the plugin.xml instead of the formally needed
internal classes. For more details on this see the linked bug and
the documentation on creating property sheets for diagrams.</td>
</tr>
<tr id="bug 370457">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=370457">Feature
for Export Functionality</a></td>
<td class="content">There is now a new Eclipse P2 feature that
wraps the export functionality (export diagram as SVG graphics) that
can be used to install this functionality along with the Graphiti
framework only. Before the export functionality could only be
installed with the complete SDK including also the samples.</td>
</tr>
<tr id="bug 359219">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359219">Anchor
Documentation</a></td>
<td class="content">The documentation on anchors has been
improved, all anchor types are explained now and there's an example
code snippet how to use them.</td>
</tr>
<tr id="bug 352874">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352874">Export
Diagram Improvements</a></td>
<td class="content">A bug in the export for large diagrams has
been fixed. It is now possible to export much larger diagrams. In
the cause of this bugfix a new "export to PNG" functionality has
been added.</td>
</tr>
<tr id="bug 371671">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=371671">Bug
371671</a></td>
<td class="content">A bug in the dark feature processing mode
causing an add feature to return null has been fixed.</td>
</tr>
<tr id="bug 369370">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=369370">Bug
369370</a></td>
<td class="content">A bug in updating the context button pad for
nested shapes has been fixed.</td>
</tr>
<tr id="bug 365536">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365536">Bug
365536</a></td>
<td class="content">A bug in the size calculation for Texts has
been fixed that caused unnecessary ellipsis showing in certain
situations.</td>
</tr>
<!-- ---------------------------------------- M5 ------------------------------- -->
<tr>
<td colspan="2">
<h2>M5</h2>
</td>
</tr>
<tr>
<td colspan="2">The main focus for this milestone has been set
on finalizing the Graphiti API especially in the Diagram Editor
area. Also some functional enhancements are part of this milestone.</td>
</tr>
<tr id="bug 336488">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336488">Move
DiagramEditor base classes to public API</a></td>
<td class="content">The Graphiti Diagram Editor has been moved
to a public package and has been reworked to offer a better and more
understandable API now. It has been split into several classes to
achieve a better separation of concerns and to avoid one huge <i>DiagramEditor</i>
class. The different aspects have been separated into several <i>Default*Behavior</i>
classes clients can exchange to modify the default behavior. The API
has been cleaned up, unneeded methods have been removed, some
methods have been made accessible to clients in cases where we see
the need to modify the behavior of the editor. Also classes around
the editor have have been reworked to be easier to understand and to
be leaner. This especially affects the DiagramEditorInput, which has
been stripped down to no longer hold a reference to the diagram
object itself and an editing domain. It only holds a <i>URI</i> that
can be used to gain hold of the diagram. The changes make it easier
for clients to change the editor behavior while being able to reuse
most or parts of the standard functionality. Another goal we wanted
to achieve was to keep as much of the original API and functionality
available (although probably moved to another class) to make
adoption by clients as easy as possible. <b>Nevertheless this is
a breaking change in non-API classes that were referenced by many
users, so clients might need to adapt their coding after migrating
to M5.</b>
</td>
</tr>
<tr id="bug 364803">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=364803">Editor
Listener Optimizations</a></td>
<td class="content">The listeners (EMF adapters) that are
installed for a Diagram Editor have been optimized. Similar tasks
are now done in just one listener instead of several. Together with
the task of the editor API rework it has been eased to replace
listeners by client functionality and the JavaDoc describing the
listener purposes has been enhanced.</td>
</tr>
<tr id="bug 352119">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352119">Curved
Connections</a></td>
<td class="content">Graphiti supports a new connection type now:
Splines can now be used for displaying curved connection. <img
src="NaNimages/CurvedConnections.png" width="600px">
</td>
</tr>
<tr id="bug 347262">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347262">DirectEditingFeature
with Custom Type</a></td>
<td class="content">An enhancement in direct editing has been
implemented: clients can now provide their own cell editors for
direct editing. Simply set the direct editing type to <i>TYPE_CUSTOM</i>
(<i>TYPE_DIALOG</i> has been renamed) and implement the interface
org.eclipse.graphiti.ui.platform.ICellEditorProvider in the direct
editing feature. By doing that you can hook in your own cell editor
that will be used during direct editing.
</td>
</tr>
<tr id="bug 342869">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342869">Images
can be Scaled</a></td>
<td class="content">Graphiti images (graphics algorithm subclass
Image) support now scaling. If a vertical and horizontal scale
factor is set, it is now reflected in the diagram. Also the
proportional flag is evaluated correctly.</td>
</tr>
<tr id="bug 363796">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=363796">Selection
Width of Connections is now Setable</a></td>
<td class="content">The selection width for connections (how far
the tool user can click besides a connection ans still select it) is
now configurable by the method <i>getLineSelectionWidth(Polyline
polyline)</i> in the tool behavior provider.
</td>
</tr>
<tr id="bug 323034">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323034">Rework
UI Dialogs</a></td>
<td class="content">The Graphiti form-based UIs were reworked
and cleaned-up. This affects mostly the print and save-as popups.</td>
</tr>
<tr id="bug 357922">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=357922">Improve
Tutorial with theory behind of styles and new
create-"plain"-methods</a></td>
<td class="content">The Graphiti tutorial now correctly
describes the <i>Styles</i> concept that can be used to define
coherently looking shapes. Also there's a chapter describing the
theory behind <i>Styles</i> in the online documentation now.
</td>
</tr>
<tr id="bug 363272">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=363272">Extend
JavaDoc of IGaCreateService</a></td>
<td class="content">The JavaDoc of the Graphiti creation service
for graphics algorithms has been improved; e.g. it describes all the
default value now.</td>
</tr>
<tr id="bug 324556">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324556">Bug
324556</a></td>
<td class="content">A bug in the selection propagation to GEF
has been fixed that prevented an easy way of implementing hiding and
showing shapes to enable a simple collapse/expand functionality.</td>
</tr>
<tr id="bug 348844">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348844">Bug
348844</a></td>
<td class="content">A bug causing a file conflict dialogue
misbehavior (popup appearing after each editor change) has been
fixed.</td>
</tr>
<tr id="bug 368146">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=368146">Bug
368146</a></td>
<td class="content">A bug causing a runtime exception during SVG
export has been fixed.</td>
</tr>
<tr id="bug 367204">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=367204">Bug
367204</a></td>
<td class="content">A bug causing the method <i>addIfPossible</i>
in the <i>AbstractFeatureProvider</i> to always returns null has
been fixed.
</td>
</tr>
<tr id="bug 367552">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=367552">Bug
367552</a></td>
<td class="content">An error in the Graphiti documentation has
been fixed.</td>
</tr>
<!-- ---------------------------------------- M4 ------------------------------- -->
<tr>
<td colspan="2">
<h2>M4</h2>
</td>
</tr>
<tr>
<td colspan="2">The main focus for this milestone has been set
on implementing round-offs especially in the area of custom anchors
and styles.</td>
</tr>
<tr id="bug 352542">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352542">Ease
use of styles</a></td>
<td class="content">To ease the usage of styles in Graphiti,
there are now new methods (createPlain...) in the creation service
for graphics algorithms that create graphics algorithms without any
attributes set; by that one can directly use styles to define the
properties of the graphics algorithms, without having to reset any
attributes.</td>
</tr>
<tr id="bug 357922">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=357922">Documentation
on Styles</a></td>
<td class="content">The Graphiti tutorial has been reworked to
explain the styles concept in a better and deeper way; this affects
both the written version in the Eclipse help system and the tutorial
plugin that is part of the SDK download. The new documentation also
reflects the new styles related creation methods for graphics
algorithms as described in the Ease use of styles entry for M4.</td>
</tr>
<tr id="bug 328279">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328279">Decorators
for Connection Texts</a></td>
<td class="content">Graphiti now allows to add decorators to
connection texts that do not overlap the text itself. This was not
possible so far because decorators were added directly to the shape
which was in this case the text itself. Users can simply add
decorators to texts now and can now position them by the standard
means as they like and are used to in other shapes.</td>
</tr>
<tr id="bug 341224">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=341224">Hiding
of Selection Tools</a></td>
<td class="content">It is now possible to hide the connection
tools from the palette of the diagram editor. There are 2 new
methods (isShowSelectionTool and isShowMarqueeTool) in the tool
behavior provider that allow clients to modify the standard behavior
and hide the selection tool and/or the marquee tool from the
palette.</td>
</tr>
<tr id="bug 347421">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347421">DefaultDeleteFeature
allows Access to setDoneChanges</a></td>
<td class="content">Subclasses of DefaultDeleteFeature can now
use the standard behavior to indicate that no changes have been made
while performing (or rather not performing) a delete operation. This
has been achieved by increasing the visibility of the method
setDoneChanges to allow clients to access and override it.</td>
</tr>
<tr id="bug 323351">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323351">Disabling
the Context Buttons</a></td>
<td class="content">End users of Graphiti editors can now
prevent that the context buttons will appear when hovering with the
mouse over a shape. This can be done permanently using a toolbar
button or by holding the Control key (Command key on OS X) while
moving the mouse.</td>
</tr>
<tr id="bug 349416">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349416">Alligned
FixPointAnchor and BoxRelativeAnchor</a></td>
<td class="content">The behaviour of FixPointAnchors and
BoxRelativeAnchors is now aligned, especially dragging a connection
from a FixPointAnchor now works as it did for BoxRelativeAnchors
already before. In the cause of processing this bug the coding on
Graphiti side was very much streamligned.</td>
</tr>
<tr id="bug 347144">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347144">Angle
of MultiText</a></td>
<td class="content">Until now MultiTexts could not be rotated
although the angle attribute could be set for them. Now the method
setAngle() has an impact in the graphical representation. The angle
is specified in degrees, 0 degrees corresponds to the 3 o'clock
position. A positive value indicates a clockwise rotation while a
negative value indicates a counter-clockwise rotation of the text.
The developer is responsible for the correct size and location of
the MultiLineText GA.</td>
</tr>
<tr id="bug 363229">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=363229">Nested
Anchor Shapes</a></td>
<td class="content">Graphiti now supports drawing nested shapes
for representing anchors. These shapes can now be defined for
FixPointAnchors and BoxRelativeAnchors and are correctly rendered by
the framework.</td>
</tr>
<tr id="bug 355968">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=355968">Bug
355968</a></td>
<td class="content">An issue in the calculation of the position
of FixPointAnchors and BoxRelativeAnchors caused a presentation
issue in some cases. This has been fixed and the anchors are
displayed at the correct location now in all cases.</td>
</tr>
<tr id="bug 352440">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352440">Bug
352440</a></td>
<td class="content">A bunch of warnings inside the Graphiti
framework coding has been removed, especially caused by the need to
be compatible with the Eclipse 3.6 version of GEF (3.6). Now
Graphiti switched to support a minimal version of GEF 3.7 (part of
Eclipse Indigo) at least and therefore was able to remove some GEF
deprecations warnings. Also some further warnings in Graphiti coding
have been removed.</td>
</tr>
<tr id="bug 361932">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361932">Bug
361932</a></td>
<td class="content">Graphiti is now source compatible with JDK
1.5. This was done to ease integration with some modeling projects
that use this Java version. Now users will be able to run the
Graphiti framework on top of Java 5</td>
</tr>
<tr id="bug 363539">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=363539">Bug
363539</a></td>
<td class="content">A missing implementation of the method
executeFeature in the dummy editor caused dark feature processing to
fail.</td>
</tr>
<tr id="bug 364035">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=364035">Bug
364035</a></td>
<td class="content">Fixed a bug in DefaultReconnectionFeature
that made it hard for clients to force a connection to a specific
anchor.</td>
</tr>
<tr id="bug 363464">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=363464">Bug
363464</a></td>
<td class="content">The method layoutPictogramElement in
AbstractFeature now returns an IReason object that indicates the
result of the layout operation.</td>
</tr>
<tr id="bug 364124">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=364124">bug
364124</a></td>
<td class="content">Fixed typo errors in the tutorial
documentation.</td>
</tr>
<!-- ---------------------------------------- M3 ------------------------------- -->
<tr>
<td colspan="2">
<h2>M3</h2>
</td>
</tr>
<tr>
<td colspan="2">The main focus for this milestone has been set
implementing round-offs both in functionality and documentation.</td>
</tr>
<tr id="bug 361638">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361638">New
Chess Diagram Example</a></td>
<td class="content">The Chess Diagram Editor as shown in a demo
at EclipseCon Europe 2011 is now part of the Graphiti samples and
available as part of the Graphiti SDK download. A screenshot of the
tool can be seen in the next entry.</td>
</tr>
<tr id="bug 329517">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329517">State
Callbacks during Connection Creation</a></td>
<td class="content">Graphiti now offers state callbacks during
the creation of a new connection. There are hooks for starting and
ending a connection, but also for the state when the connection is
attached to its source anchor. This allows for example highlighting
of allowed targets for the connection.<br> <img
src="NaNimages/CallbacksConnection.png" />
</td>
</tr>
<tr id="bug 343983">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343983">State
Callbacks during Reconnect</a></td>
<td class="content">The reconnection feature now provides a hook
that allows the tool developer to react to reconnect cancellations.</td>
</tr>
<tr id="bug 339525">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339525">Allow
Paste to Location</a></td>
<td class="content">The paste context now provides additional
information about the location of the paste operation to allow
pasting to a user-defined location.</td>
</tr>
<tr id="bug 342262">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342262">Provide
Resize Direction</a></td>
<td class="content">The resize context now provides additional
information on the direction in which the shape is being resized to
allow e.g. better placement of child shapes.</td>
</tr>
<tr id="bug 352109">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352109">Unconditional
Editor Refresh</a></td>
<td class="content">The Graphiti diagram editor now offers an
unconditional refresh mode. Tool developers can enable this mode by
overriding the isAutoRefreshXXX methods in the tool behaviour
provider.</td>
</tr>
<tr id="docu">
<td class="title">Documentation</td>
<td class="content">The complete Graphiti documentation has been
reformatted, is easier to read and looks much nicer now. Besides
some bugs in the documentation and the tutorial have been fixed and
some smaller gaps especially in the styles concept have been filled.</td>
</tr>
<tr id="bug 359221">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359221">Bug
359221</a></td>
<td class="content">Connection were not removed on the removal
of their originating anchor.</td>
</tr>
<tr id="bug 359222">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359222">Bug
359222</a></td>
<td class="content">Moving an anchor shape caused jumping of
that shape.</td>
</tr>
<tr id="bug 359928">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359928">Bug
359928</a></td>
<td class="content">Fixed a minor initialisation issue in
DiagramEditorBehaviour.</td>
</tr>
<tr id="bug 360800">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=360800">Bug
360800</a></td>
<td class="content">The background colour attribute for Texts
was ignored. As an effect of this fix Graphiti introduced version
numbers for diagrams; for older versions than 0.9.0 the Graphiti
diagram editor will perform an auto migration of the background
colour attribute of Text objects to correctly display the background
colour (this behaviour can be changed by the tool developer). For
details on this please have a look into the bug report. <b>Involves
diagram migration!</b>
</td>
</tr>
<tr id="bug 359112">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359112">Bug
359112</a></td>
<td class="content">Fixed an issue in resizing of the direct
editing field for connection decorators.</td>
</tr>
<tr id="bug 357878">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=357878">Bug
357878</a></td>
<td class="content">Fixed a strange behaviour when adding
bendpoints.</td>
</tr>
<tr id="bug 359526">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359526">Bug
359526</a></td>
<td class="content">Fixed a NullPointerException in the refresh
handling for non file-based editors.</td>
</tr>
<!-- ---------------------------------------- M2 ------------------------------- -->
<tr>
<td colspan="2">
<h2>M2</h2>
</td>
</tr>
<tr>
<td colspan="2">The main focus for this milestone has again been
set on bugfixing and implementing round-offs. Besides project
related tasks were focused.</td>
</tr>
<tr id="bug 357764">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=357764">Bug
357764</a></td>
<td class="content">Fixed an index out of bounds exception
during refresh in connection with rendering decorators.</td>
</tr>
<tr id="bug 352200">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352200">Bug
352200</a></td>
<td class="content">The method moveShape in the default move
feature is no longer final.</td>
</tr>
<tr id="bug 352542">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352542">Reworked
styles</a></td>
<td class="content">The styles concept in Graphiti has been
reworked. There are new creator methods for graphics algorithms that
do not set any default attributes (createPlain...) that prevent you
from having to reset certain attributes in order to enable the value
set at a style. For details see <a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352542">Bug
352542</a>.
</td>
</tr>
<tr id="bug 355401">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=355401">Bug
355401</a></td>
<td class="content">Fixed performance issue with printing under
Linux.</td>
</tr>
<tr id="bug 356090">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=356090">Bug
356090</a></td>
<td class="content">Fixed bug with hasDoneChanges for delete
feature in patterns.</td>
</tr>
<tr id="bug 354824">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354824">Bug
354824</a></td>
<td class="content">Fixed bug in positioning within
FixPointAnchors.</td>
</tr>
<tr id="bug 352220">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352220">Bug
352220</a></td>
<td class="content">Cleaned-up the disabling of guides inside
the editor. Note: this can affect tool builders since this is a -
very minor - <b>change in API</b>.
</td>
</tr>
<tr id="bug 355027">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=355027">Bug
355027</a></td>
<td class="content">Fixed a bug in moving connection decorators
in a zoomed diagram.</td>
</tr>
<tr id="bug 355347">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=355347">Bug
355347</a></td>
<td class="content">Fixed a bug in colours and fonts that
invalidated the Graphiti object management. Colours and Fonts are
now immutable. Note: this can affect tool builders since this is a
small <b>change in API</b>.
</td>
</tr>
<tr id="bug 356218">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=356218">Bug
356218</a></td>
<td class="content">Fixed a bug in auto update at startup that
caused the editor to open dirty in any case.</td>
</tr>
<tr id="bug 356828">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=356828">Bug
356828</a></td>
<td class="content">Fixed a bug in editor title decoding.</td>
</tr>
<tr id="bug 351226">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351226">Bug
351226</a></td>
<td class="content">Improved editor behaviour when renaming or
deleting a file.</td>
</tr>
<tr id="bug 357411">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=357411">Bug
357411</a></td>
<td class="content">Removed some unnecessary reflection coding.</td>
</tr>
<tr id="bug 357417">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=357417">Bug
357417</a></td>
<td class="content">DiagramEditorInput now adapts to IFile.</td>
</tr>
<tr id="bug 357549">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=357549">Bug
357549</a></td>
<td class="content">Fixed a bug in setting names and
descriptions for creation entries.</td>
</tr>
<tr id="bug 355968">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=355968">Bug
355968</a></td>
<td class="content">Enabled ChopBoxAnchors to define a reference
point for connections.</td>
</tr>
<!-- ---------------------------------------- M1 ------------------------------- -->
<tr>
<td colspan="2">
<h2>M1</h2>
</td>
</tr>
<tr>
<td colspan="2">The main focus for this milestone has been set
on bugfixing and implementing round-offs. Besides project related
tasks were focused.</td>
</tr>
<tr id="bug 352104">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352104">Git
Migration</a></td>
<td class="content">Graphiti sources have been moved from CVS to
Git.</td>
</tr>
<tr id="bug 352709">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352709">Bug
352709</a></td>
<td class="content">Invalid image provides no longer cause the
editor to crash.</td>
</tr>
<tr id="bug 333985">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=333985">Bug
333985</a></td>
<td class="content">Documentation for Accessibility support for
F2 is now available.</td>
</tr>
<tr id="bug 339185">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339185">Bug
339185</a></td>
<td class="content">Documentation on reconnection feature is now
available.</td>
</tr>
<tr id="bug 348634">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348634">Bug
348634</a></td>
<td class="content">Fixed the bug that direct editing got
invoked again if mouse was placed over the edit field.</td>
</tr>
<tr id="bug 348637">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348637">Bug
348637</a></td>
<td class="content">Fixed sizing bug in direct editing text
decorator.</td>
</tr>
<tr id="bug 348662">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348662">Bug
348662</a></td>
<td class="content">Fixed bug in removing tooltips.</td>
</tr>
<tr id="bug 348772">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348772">Bug
348772</a></td>
<td class="content">Fixed spelling error in
DefaultToolBehaviourProvider API. - Note: this can affect tool
builders since this is a - very minor - <b>change in API</b>.
</td>
</tr>
<tr id="bug 350261">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350261">Bug
350261</a></td>
<td class="content">JAR files get now packed in the central
build.</td>
</tr>
<tr id="bug 350273">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350273">Bug
350273</a></td>
<td class="content">Central Eclipse license feature is no used.</td>
</tr>
<tr id="bug 351053">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351053">Bug
351053</a></td>
<td class="content">Tool builders are more flexible to use other
command stacks.</td>
</tr>
<tr id="bug 349439">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349439">Bug
349439</a></td>
<td class="content">Eased to use Graphiti in an RCP scenario.</td>
</tr>
<tr id="bug 350830">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350830">Bug
350830</a></td>
<td class="content">Tutorial has been updated to correctly
reflect selection border behaviour.</td>
</tr>
<tr id="bug 345748">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345748">Bug
345748</a></td>
<td class="content">Graphiti ZIP file created in nightly uses
time stamp in file name to avoid caching issues.</td>
</tr>
<tr id="bug 334402">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334402">Bug
334402</a></td>
<td class="content">Fixed issues with caching image descriptors.</td>
</tr>
<tr id="bug 323037">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323037">Bug
323037</a></td>
<td class="content">Enabled right click selection on diagram
background.</td>
</tr>
<tr id="bug 323354">
<td class="title"><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323037">Palette
Removal</a></td>
<td class="content">It is now possible to completely remove the
palette from the editor</td>
</tr>
</table>
<!-- ---------------------------------------- END OF TABLE ------------------------------- -->
<p>&nbsp;</p>
</body>
</html>