the second column on command bar help in Windows.
Change-Id: Ia0b2d04d74699e9edc13772551c34a9bdf880cf2
Signed-off-by: hyocheol.ahn <hyocheol.ahn@samsung.com>
return new Listener() {
@Override
public void handleEvent(final Event event) {
- String text = TextAssist.this.table.getSelection()[0].getText();
+ //String text = TextAssist.this.table.getSelection()[0].getText();
+ TableItem item = TextAssist.this.table.getItem( new Point(0, event.y));
+ if(item == null){
+ return;
+ }
+ String text = item.getText();
TextAssist.this.text.setForeground(SWTUtil.getDisplay().getSystemColor(SWT.COLOR_BLACK));
TextAssist.this.text.setText(text);
TextAssist.this.popup.setVisible(false);