From: jy.exe.lee Date: Tue, 3 Jul 2012 10:29:25 +0000 (+0900) Subject: [Title] DACombo bug fix X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a08b90c510d73ba3fbf994a2c819b8270c783974;p=sdk%2Ftools%2Fdynamic-analyzer.git [Title] DACombo bug fix [Type] DynamicAnalyzer [Module] DynamicAnalyzer [Priority] normal [CQ#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- 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);