}
}
- // 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);
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();
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);