[Title] Added callback methods
authorkamuru <kamuru@kamuru-Samsung-Desktop-System.(none)>
Mon, 16 Dec 2013 08:04:44 +0000 (17:04 +0900)
committerkamuru <kamuru@kamuru-Samsung-Desktop-System.(none)>
Mon, 16 Dec 2013 08:04:44 +0000 (17:04 +0900)
[Desc.] Added scale change callback, scroll change callback
[Issue]

org.tizen.dynamicanalyzer.widgets/src/org/tizen/dynamicanalyzer/widgets/chartBoard/DAChartBoard.java

index 8fa6b5e..52738d1 100644 (file)
@@ -358,6 +358,7 @@ public class DAChartBoard extends Composite {
                @Override
                public void widgetSelected() {
                        boardManager.scaleChanged(scale.getSelection());
+                       callBackScaleChanged();
                }
        };
 
@@ -366,6 +367,7 @@ public class DAChartBoard extends Composite {
                public void widgetSelected(SelectionEvent e) {
                        int sel = hScroll.getSelection();
                        boardManager.scrollbarSelectionChanged(sel);
+                       callBackScrollChanged();
                }
 
                @Override
@@ -759,4 +761,10 @@ public class DAChartBoard extends Composite {
        public ScrollBar getHScrollBar() {
                return hScroll;
        }
+       
+       protected void callBackScaleChanged() {
+       }
+       
+       protected void callBackScrollChanged() {
+       }
 }