[Title] DACombo bug fix
authorjy.exe.lee <jy.exe.lee@samsung.com>
Tue, 3 Jul 2012 10:29:25 +0000 (19:29 +0900)
committerjy.exe.lee <jy.exe.lee@samsung.com>
Tue, 3 Jul 2012 10:29:25 +0000 (19:29 +0900)
[Type] DynamicAnalyzer
[Module] DynamicAnalyzer
[Priority] normal
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/widgets/combo/DACombo.java

index 18189f8..48d45fb 100644 (file)
@@ -124,16 +124,16 @@ public class DACombo extends Composite {
                                        }
                                }
 
-                               // if (event.type == SWT.MouseExit) {
-                               // changeComboState(STATE_NORMAL);
-                               // if (null != childShell && !childShell.isDisposed()) {
-                               // Rectangle rect = combo.getBounds();
-                               // if (rect.y + rect.height > event.y) {
-                               // childShell.close();
-                               // childShell = null;
-                               // }
-                               // }
-                               // }
+                               if (event.type == SWT.MouseExit) {
+                                       changeComboState(STATE_NORMAL);
+                                       // if (null != childShell && !childShell.isDisposed()) {
+                                       // Rectangle rect = combo.getBounds();
+                                       // if (rect.y + rect.height > event.y) {
+                                       // childShell.close();
+                                       // childShell = null;
+                                       // }
+                                       // }
+                               }
 
                                if (event.type == SWT.MouseDown) {
                                        changeComboState(STATE_PUSH);
@@ -245,8 +245,8 @@ public class DACombo extends Composite {
                        data.height = height;
                        upArrowButton.setLayoutData(data);
                        upArrowButton.addClickListener(upArrowListener);
-//                     upArrowButton.setDAButtonAction(new ComboButtonAction(childShell,
-//                                     upArrowButton, true));
+                       // upArrowButton.setDAButtonAction(new ComboButtonAction(childShell,
+                       // upArrowButton, true));
                        shellHeight += height;
 
                        data = new FormData();
@@ -265,8 +265,9 @@ public class DACombo extends Composite {
                        data.height = height;
                        downArrowButton.setLayoutData(data);
                        downArrowButton.addClickListener(downArrowListener);
-//                     downArrowButton.setDAButtonAction(new ComboButtonAction(childShell,
-//                                     downArrowButton, false));
+                       // downArrowButton.setDAButtonAction(new
+                       // ComboButtonAction(childShell,
+                       // downArrowButton, false));
                        shellHeight += height;
 
                        childShell.setSize(shellWidth, shellHeight);