简体   繁体   English

在Eclipse RCP过程中为用户添加提示灯泡

[英]Add hint bulb for users in eclipse rcp procuct

I am working on eclipse RCP product. 我正在研究Eclipse RCP产品。 I want to know how to add hints to users. 我想知道如何向用户添加提示。 I mean when they open our tool for the first time, I want to add some hints to click here and there (kind of a walk-through of the tool). 我的意思是,当他们第一次打开我们的工具时,我想添加一些提示以单击此处和此处(该工具的逐步介绍)。 Not just light bulb hint (which we see in eclipse), some other different types of arrows as well. 不只是灯泡提示(我们在日食中看到),还有其他一些不同类型的箭头。 My requirement can be best illustrated with the interactive tutorial of criminal case game in facebook. 我的要求可以用Facebook上的刑事案件游戏互动教程来最好地说明。 Please check this image with hints: http://www.mobygames.com/images/shots/l/673844-criminal-case-browser-screenshot-first-crime-scene-a-tutorial.jpg . 请使用以下提示检查此图片: http : //www.mobygames.com/images/shots/l/673844-criminal-case-browser-screenshot-first-crime-scene-a-tutorial.jpg When the user accesses the game for the first time, they have a very nice walk through. 当用户首次访问游戏时,他们会经历一个非常不错的过程。 Can this be done in eclipse? 可以在日食中做到吗? May be not this much fancier, but at least basic version with an arrow to indicate user to click the button, and then the next button, and so on. 可能不是那么多,但是至少是基本版本,带有箭头指示用户单击该按钮,然后单击下一个按钮,依此类推。 Please let me know if any of you have idea on this. 请让我知道您是否对此有任何想法。 It would be of great help. 这将有很大的帮助。 Please point me to any example if it is available online. 如果可以在线访问,请给我指出任何示例。

You could try to use popup to achieve this. 您可以尝试使用popup来实现此目的。 Each hint is an SWT popup and place it in the right location. 每个提示都是一个SWT popup ,并将其放置在正确的位置。

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

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