From a08b90c510d73ba3fbf994a2c819b8270c783974 Mon Sep 17 00:00:00 2001 From: "jy.exe.lee" Date: Tue, 3 Jul 2012 19:29:25 +0900 Subject: [PATCH] [Title] DACombo bug fix [Type] DynamicAnalyzer [Module] DynamicAnalyzer [Priority] normal [CQ#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- .../dynamicanalyzer/ui/widgets/combo/DACombo.java | 29 +++++++++++----------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/widgets/combo/DACombo.java b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/widgets/combo/DACombo.java index 18189f8..48d45fb 100644 --- a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/widgets/combo/DACombo.java +++ b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/widgets/combo/DACombo.java @@ -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); -- 2.7.4