diff options
author | Laurent Redor | 2017-04-27 08:08:21 +0000 |
---|---|---|
committer | Laurent Redor | 2017-07-07 07:11:54 +0000 |
commit | 59a503ac24c373d3cad49336874643a5f442c85e (patch) | |
tree | 6898388d7112255ce339ed364fb8c0e9756475c4 /plugins/org.eclipse.sirius.ext.gmf.runtime/META-INF/MANIFEST.MF | |
parent | cf7fa922c96573b601d5457d209bf30c18c66302 (diff) | |
download | org.eclipse.sirius-59a503ac24c373d3cad49336874643a5f442c85e.tar.gz org.eclipse.sirius-59a503ac24c373d3cad49336874643a5f442c85e.tar.xz org.eclipse.sirius-59a503ac24c373d3cad49336874643a5f442c85e.zip |
[519305] Fix GMF bug by overriding figure code in EditPart
Before this fix, a small shift can appears because of the computation
delta between using getBounds and using getHandleBounds. This is visible
with snap to grid (in some cases the result is not snapped).
All instantiations of DefaultSizeNodeFigure have been replaced by the
new SiriusDefaultSizeNodeFigure. In future, the fix will be done in GMF
(bug 519250) and Sirius will use again DefaultSizeNodeFigure.
Specific tests have been added in EdgeCreationPositionTes, but this is
in EdgeCreationPositionWithSnapToGridTest that the problem is really
visible.
Some data of EdgeWithBorderNodeCreationPositionWithSnapToGridTest have
been adapted. In fact, now the created border node is correctly snapped
to the grid, and the previous data is not on the grid.
Bug: 519305
Change-Id: I4af970d7a9658adccd91f726c03f4ddcde165757
Signed-off-by: Laurent Redor <laurent.redor@obeo.fr>
Diffstat (limited to 'plugins/org.eclipse.sirius.ext.gmf.runtime/META-INF/MANIFEST.MF')
-rw-r--r-- | plugins/org.eclipse.sirius.ext.gmf.runtime/META-INF/MANIFEST.MF | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/org.eclipse.sirius.ext.gmf.runtime/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.ext.gmf.runtime/META-INF/MANIFEST.MF index a0871a5f49..defd837467 100644 --- a/plugins/org.eclipse.sirius.ext.gmf.runtime/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.sirius.ext.gmf.runtime/META-INF/MANIFEST.MF @@ -21,6 +21,7 @@ Import-Package: org.eclipse.core.runtime, org.eclipse.gmf.runtime.diagram.ui.util, org.eclipse.gmf.runtime.draw2d.ui.figures, org.eclipse.gmf.runtime.draw2d.ui.geometry, + org.eclipse.gmf.runtime.gef.ui.figures, org.eclipse.gmf.runtime.notation, org.eclipse.jface.viewers, org.eclipse.sirius.ext.base;version="2.0.0", @@ -31,4 +32,5 @@ Import-Package: org.eclipse.core.runtime, Export-Package: org.eclipse.sirius.ext.gmf.runtime.diagram.ui.tools;version="2.0.4", org.eclipse.sirius.ext.gmf.runtime.draw2d.ui.geometry;version="2.0.0", org.eclipse.sirius.ext.gmf.runtime.editparts;version="3.0.0", - org.eclipse.sirius.ext.gmf.runtime.editpolicies;version="4.0.0" + org.eclipse.sirius.ext.gmf.runtime.editpolicies;version="4.0.0", + org.eclipse.sirius.ext.gmf.runtime.gef.ui.figures;version="5.1.0" |