blob: 348516d989eb7e124164d0fc34aa340a43f19466 [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 December 13, 2011</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">
<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.</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>