如何在RCP / SWT表单元格中完全准确地获得Eclipse Editor的工具提示 [英] How to get exactly Eclipse Editor kind of Tool Tip in RCP/SWT Table cell
本文介绍了如何在RCP / SWT表单元格中完全准确地获得Eclipse Editor的工具提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想得到如下完美的eclipse编辑器高度自定义的工具提示 -
如何重用这些工具提示,任何一个例子都有帮助。
解决方案
你只需要扩展 org.eclipse.jface.window.ToolTip
并覆盖
protected abstract Composite createToolTipContentArea(Event event,
Composite parent);
您可以添加 org.eclipse.swt.browser.Browser
并设置格式化的内容并添加所需的控件。
I want to get Exactly eclipse editor kind highly customized tooltip like below-
I used eclipse provided snippets of customized Tooltips but none of them were so highly improvised performance and easy to use. How to reuse these Tooltips , any example would help.
解决方案
you just need to extend org.eclipse.jface.window.ToolTip
and override
protected abstract Composite createToolTipContentArea(Event event,
Composite parent);
you can add org.eclipse.swt.browser.Browser
and set formatted content and add required controls.
这篇关于如何在RCP / SWT表单元格中完全准确地获得Eclipse Editor的工具提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文