From 80d171fe88d62bb78a483a29daa4d4372abcc5c1 Mon Sep 17 00:00:00 2001 From: "jihye424.kim" Date: Wed, 19 Aug 2015 17:26:58 +0900 Subject: [PATCH] Build: modify build.xml for table class Change-Id: I2eaf4101d3b1609678e701f6f977801e3b7524c3 Signed-off-by: jihye424.kim --- build.xml | 8 ++++++-- .../com/codeaffine/eclipse/swt/widget/scrollbar/Direction.java | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/build.xml b/build.xml index 92f335c..f57d018 100644 --- a/build.xml +++ b/build.xml @@ -54,6 +54,10 @@ + + + + @@ -72,7 +76,7 @@ - + @@ -94,7 +98,7 @@ - + diff --git a/widget_src/com/codeaffine/eclipse/swt/widget/scrollbar/Direction.java b/widget_src/com/codeaffine/eclipse/swt/widget/scrollbar/Direction.java index 18a45ab..8f7f5cd 100644 --- a/widget_src/com/codeaffine/eclipse/swt/widget/scrollbar/Direction.java +++ b/widget_src/com/codeaffine/eclipse/swt/widget/scrollbar/Direction.java @@ -20,7 +20,7 @@ enum Direction { } private ComponentDistribution calculateComponentDistribution( FlatScrollBar scrollBar, int buttonLength ) { - return calculateComponentDistribution( scrollBar, buttonLength, getControlBounds( scrollBar ).width ); + return Direction.calculateComponentDistribution( scrollBar, buttonLength, getControlBounds( scrollBar ).width ); } private Rectangle[] calculateComponentBounds( ComponentDistribution distribution, FlatScrollBar scrollBar ) { @@ -74,7 +74,7 @@ enum Direction { } private ComponentDistribution calculateComponentDistribution( FlatScrollBar scrollBar, int buttonLength ) { - return calculateComponentDistribution( scrollBar, buttonLength, getControlBounds( scrollBar ).height ); + return Direction.calculateComponentDistribution( scrollBar, buttonLength, getControlBounds( scrollBar ).height ); } private Rectangle[] calculateComponentBounds( ComponentDistribution distribution, FlatScrollBar scrollBar ) { -- 2.7.4