The ESC key was processed at wrong listener.
Change-Id: I060b81b33ced5c45ae1e001cb83b398a1921f898
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
case SWT.TRAVERSE_TAB_NEXT:
e.doit = true;
break;
+ case SWT.TRAVERSE_ESCAPE:
+ e.doit = true;
+ break;
}
}
});
case SWT.CR:
fireEventWhenEnterKeyPressed();
break;
- case SWT.ESC:
-// Display.getCurrent().g
-// Display.getCurrent().getActiveShell().dispose();
- break;
}
}
});
return;
}
switch (event.character) {
- case SWT.ESC:
- // Display.getCurrent().getActiveShell().dispose();
- break;
case SWT.CR:
/*
* Filter the key event of focus state