item
Fixed not to overwrite user input with focused table item.
Change-Id: I47ad9c0491f8ac5244fa1dcb2659a6e08a66544e
Signed-off-by: kh5325.kim <kh5325.kim@samsung.com>
\r
fAssistant = new Label(fComposite, SWT.NONE);\r
fAssistant.setImage(Activator.imageDescriptorFromPlugin(Activator.PLUGIN_ID, "icons/commandbar_x24.png").createImage());\r
- fAssistant.setToolTipText("Command Bar for your convenience. What could I do for you?");\r
+ fAssistant.setToolTipText("Command Bar for your convenience. What can I do for you?");\r
//Label glue = new Label(fComposite, SWT.NONE);\r
//glue.setLayoutData(new RowData(2, -1));\r
final CommandProvider contentProvider = new CommandProvider(this);\r
break;\r
case SWT.CR:\r
if (TextAssist.this.popup.isVisible() && TextAssist.this.table.getSelectionIndex() != -1) {\r
- TextAssist.this.text.setText(TextAssist.this.table.getSelection()[0].getText());\r
+ // fireSubmit with the text in the text box user just types\r
+ //TextAssist.this.text.setText(TextAssist.this.table.getSelection()[0].getText());\r
TextAssist.this.popup.setVisible(false);\r
}\r
fireSubmit(TextAssist.this.text.getText());\r