Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/layout/AbstractBranchViewLayoutStrategy.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/layout/AbstractBranchViewLayoutStrategy.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/layout/AbstractBranchViewLayoutStrategy.java b/plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/layout/AbstractBranchViewLayoutStrategy.java
index e9df346547..fecf78745b 100644
--- a/plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/layout/AbstractBranchViewLayoutStrategy.java
+++ b/plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/layout/AbstractBranchViewLayoutStrategy.java
@@ -176,9 +176,8 @@ public abstract class AbstractBranchViewLayoutStrategy implements BranchViewLayo
DisplayIndependentRectangle bounds = branchView.getBounds();
DisplayIndependentDimension scaling = new DisplayIndependentDimension(bounds.width / targetBounds.width,
bounds.height / targetBounds.height);
- branchView.getLayoutStrategy().scale(branchView, scaling);
- branchView.getLayoutStrategy().translateBy(branchView,
- GeometryUtils.getTranslation(branchView.getBounds(), targetBounds.x, targetBounds.y));
+ scale(branchView, scaling);
+ translateBy(branchView, GeometryUtils.getTranslation(branchView.getBounds(), targetBounds.x, targetBounds.y));
}
protected void scaleSameBranchNodes(BranchView branchView, DisplayIndependentDimension scaling)

Back to the top