diff options
author | Andre Dietisheim | 2010-03-16 23:59:21 +0000 |
---|---|---|
committer | Andre Dietisheim | 2010-03-16 23:59:21 +0000 |
commit | 977b77da1342af1763b7c52d0690f9ff998a421b (patch) | |
tree | b5c7141a6036253185f7314b1d4bdd66891d7370 /plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/layout/AbstractBranchViewLayoutStrategy.java | |
parent | 0e6c9821a29aaacea54e5663843c314845fbeaa5 (diff) | |
download | cdo-977b77da1342af1763b7c52d0690f9ff998a421b.tar.gz cdo-977b77da1342af1763b7c52d0690f9ff998a421b.tar.xz cdo-977b77da1342af1763b7c52d0690f9ff998a421b.zip |
[256624] [UI] Create a Commit History ViewPart
https://bugs.eclipse.org/bugs/show_bug.cgi?id=256624
started to implement custom #fitWithinBounds
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.java | 5 |
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) |