diff options
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); } |