import org.eclipse.jface.preference.IPreferenceStore;\r
import org.eclipse.swt.SWT;\r
import org.eclipse.swt.custom.StyledText;\r
+import org.eclipse.swt.graphics.Cursor;\r
import org.eclipse.swt.layout.RowData;\r
import org.eclipse.swt.layout.RowLayout;\r
import org.eclipse.swt.widgets.Composite;\r
import org.eclipse.swt.widgets.Label;\r
import org.eclipse.swt.widgets.Listener;\r
import org.eclipse.ui.IWorkbenchWindow;\r
+import org.eclipse.ui.PlatformUI;\r
import org.eclipse.ui.menus.AbstractWorkbenchTrimWidget;\r
import org.mihalis.opal.promptSupport.PromptSupport;\r
import org.mihalis.opal.promptSupport.PromptSupport.FocusBehavior;\r
import org.slf4j.LoggerFactory;\r
import org.tizen.common.CommonPlugin;\r
import org.tizen.common.ui.Activator;\r
-import org.tizen.common.ui.HelpToolTip;\r
import org.tizen.common.ui.commandbar.assistant.AssistantBubble;\r
import org.tizen.common.ui.commandbar.assistant.AssistantBubble.Order;\r
import org.tizen.common.ui.commandbar.command.HelpCommand;\r
final StyledText txt = fTxtAssist.getTextControl();\r
PromptSupport.setPrompt("Search or type a command", txt);\r
PromptSupport.setFontStyle(SWT.NONE, txt);\r
- PromptSupport.setFocusBehavior(FocusBehavior.HIGHLIGHT_PROMPT, txt);\r
+ PromptSupport.setFocusBehavior(FocusBehavior.HIDE_PROMPT, txt);\r
PromptSupport.setForeground(txt.getDisplay().getSystemColor(SWT.COLOR_GRAY), txt);\r
\r
fTxtAssist.setCustomFont(SWTUtil.deriveFont(fTxtAssist.getTableControl().getFont(), SWT.ITALIC));\r
fTxtAssist.addSubmitListener(this);\r
//fTxtAssist.addTableSelectionListener(this);\r
\r
- HelpToolTip toolTip = new HelpToolTip(fComposite);\r
- toolTip.setText("Show command bar help");\r
- toolTip.addControlSelectionListener(new Listener() {\r
+ Label helpIcon = new Label(fComposite, SWT.NONE);\r
+ helpIcon.setImage(PlatformUI.getWorkbench().getSharedImages().getImage("IMG_LCL_LINKTO_HELP"));\r
+ helpIcon.setCursor(new Cursor(helpIcon.getDisplay(), SWT.CURSOR_HAND));\r
+ helpIcon.addListener(SWT.MouseDown, new Listener() {\r
@Override\r
public void handleEvent(Event event) {\r
HelpCommand command = new HelpCommand(StatusBar.this);\r