简体   繁体   English

在coolbar(Eclipse RCP)中选择的第一个图像

[英]First image selected in coolbar (Eclipse RCP)

After the start of my application the coolbar is loaded and the first item is selected automatically. 在我的应用程序启动后,将加载Coolbar,并自动选择第一项。 I don't want that. 我不要 Is it possible to remove this selection? 是否可以删除此选择?

Screenshot: http://i.imgur.com/q15X1.png 截图: http//i.imgur.com/q15X1.png

Thanks in advance. 提前致谢。

I think this is because that button (or rather the toolbar) currently has the focus. 我认为这是因为该按钮(或更确切地说是工具栏)当前具有焦点。 To remove the focus you have to set it to another control. 要删除焦点,您必须将其设置为另一个控件。 Did you implement the setFocus() method of your "Übersicht" view? 您是否实现了“Übersicht”视图的setFocus()方法?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM