summaryrefslogtreecommitdiff
path: root/org.tizen.common.ui
diff options
context:
space:
mode:
authorkh5325.kim <kh5325.kim@samsung.com>2014-01-22 19:02:29 +0900
committerkh5325.kim <kh5325.kim@samsung.com>2014-01-22 19:02:29 +0900
commitdd7bdbfadd46df51d1bb8eab2f5a906a06f99cfb (patch)
treee9d5c907aea13a5c7e9e95e671facec0e3167cf2 /org.tizen.common.ui
parent93465b348e71d941ffb94ae932a6a4de6fe0985d (diff)
downloadcommon-eplugin-dd7bdbfadd46df51d1bb8eab2f5a906a06f99cfb.tar.gz
common-eplugin-dd7bdbfadd46df51d1bb8eab2f5a906a06f99cfb.tar.bz2
common-eplugin-dd7bdbfadd46df51d1bb8eab2f5a906a06f99cfb.zip
COMMON: COMMAND BAR: Fixed not to overwrite user input with focused table
item Fixed not to overwrite user input with focused table item. Change-Id: I47ad9c0491f8ac5244fa1dcb2659a6e08a66544e Signed-off-by: kh5325.kim <kh5325.kim@samsung.com>
Diffstat (limited to 'org.tizen.common.ui')
-rw-r--r--org.tizen.common.ui/src/org/tizen/common/ui/commandbar/StatusBar.java2
-rw-r--r--org.tizen.common.ui/src/org/tizen/common/ui/commandbar/textAssist/TextAssist.java3
2 files changed, 3 insertions, 2 deletions
diff --git a/org.tizen.common.ui/src/org/tizen/common/ui/commandbar/StatusBar.java b/org.tizen.common.ui/src/org/tizen/common/ui/commandbar/StatusBar.java
index 1cfd3d869..1fe523bde 100644
--- a/org.tizen.common.ui/src/org/tizen/common/ui/commandbar/StatusBar.java
+++ b/org.tizen.common.ui/src/org/tizen/common/ui/commandbar/StatusBar.java
@@ -104,7 +104,7 @@ public class StatusBar extends AbstractWorkbenchTrimWidget implements SubmitList
fAssistant = new Label(fComposite, SWT.NONE);
fAssistant.setImage(Activator.imageDescriptorFromPlugin(Activator.PLUGIN_ID, "icons/commandbar_x24.png").createImage());
- fAssistant.setToolTipText("Command Bar for your convenience. What could I do for you?");
+ fAssistant.setToolTipText("Command Bar for your convenience. What can I do for you?");
//Label glue = new Label(fComposite, SWT.NONE);
//glue.setLayoutData(new RowData(2, -1));
final CommandProvider contentProvider = new CommandProvider(this);
diff --git a/org.tizen.common.ui/src/org/tizen/common/ui/commandbar/textAssist/TextAssist.java b/org.tizen.common.ui/src/org/tizen/common/ui/commandbar/textAssist/TextAssist.java
index f1f7281a9..a9d5e6591 100644
--- a/org.tizen.common.ui/src/org/tizen/common/ui/commandbar/textAssist/TextAssist.java
+++ b/org.tizen.common.ui/src/org/tizen/common/ui/commandbar/textAssist/TextAssist.java
@@ -360,7 +360,8 @@ public class TextAssist extends Composite {
break;
case SWT.CR:
if (TextAssist.this.popup.isVisible() && TextAssist.this.table.getSelectionIndex() != -1) {
- TextAssist.this.text.setText(TextAssist.this.table.getSelection()[0].getText());
+ // fireSubmit with the text in the text box user just types
+ //TextAssist.this.text.setText(TextAssist.this.table.getSelection()[0].getText());
TextAssist.this.popup.setVisible(false);
}
fireSubmit(TextAssist.this.text.getText());