diff options
author | Andre Dietisheim | 2010-03-18 09:00:38 +0000 |
---|---|---|
committer | Andre Dietisheim | 2010-03-18 09:00:38 +0000 |
commit | 8d3aa92f915ca060b15878998a0753b9d68b2cfc (patch) | |
tree | 8d5d518d0ce3adf97bb947d4bd8583a2932a3faa /plugins/org.eclipse.emf.cdo.ui.branch/src/org | |
parent | a51e099d75fd3dbd1deb585764cb7bb9e6f2186f (diff) | |
download | cdo-8d3aa92f915ca060b15878998a0753b9d68b2cfc.tar.gz cdo-8d3aa92f915ca060b15878998a0753b9d68b2cfc.tar.xz cdo-8d3aa92f915ca060b15878998a0753b9d68b2cfc.zip |
[256624] [UI] Create a Commit History ViewPart
https://bugs.eclipse.org/bugs/show_bug.cgi?id=256624
fixe tree location
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.ui.branch/src/org')
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/geometry/GeometryUtils.java b/plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/geometry/GeometryUtils.java index 5a76cd3cc6..b3bd1f5997 100644 --- a/plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/geometry/GeometryUtils.java +++ b/plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/geometry/GeometryUtils.java @@ -167,7 +167,7 @@ public class GeometryUtils * @param rectangle * the rectangle */ - public static DisplayIndependentRectangle substractBorder(DisplayIndependentDimension dimension, + public static DisplayIndependentRectangle substractBorders(DisplayIndependentDimension dimension, DisplayIndependentRectangle rectangle) { DisplayIndependentRectangle newRectangle = new DisplayIndependentRectangle(); diff --git a/plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/layout/BranchTreeLayoutAlgorithm.java b/plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/layout/BranchTreeLayoutAlgorithm.java index e61608544b..a8d557d572 100644 --- a/plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/layout/BranchTreeLayoutAlgorithm.java +++ b/plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/layout/BranchTreeLayoutAlgorithm.java @@ -125,7 +125,7 @@ public class BranchTreeLayoutAlgorithm extends AbstractLayoutAlgorithm private void fitWithinBounds(BranchView branchView) { - DisplayIndependentRectangle boundsWithBorder = GeometryUtils.substractBorder(borders, layoutBounds); + DisplayIndependentRectangle boundsWithBorder = GeometryUtils.substractBorders(borders, layoutBounds); branchView.getLayoutStrategy().scale(branchView, boundsWithBorder); } |