Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » [RCP]
[RCP] [message #269212] Mon, 30 August 2004 09:36 Go to next message
Eclipse UserFriend
Originally posted by: avier5.hotmail.com

Hi all,

Somebody can tell me how to configurate the About dialog in RCP.
When I add it to me workbench it works fine but how can I set it as I want
it to be?

Thanks,
Avier5
Re: [RCP] [message #269462 is a reply to message #269212] Tue, 31 August 2004 06:22 Go to previous message
Eclipse UserFriend
seting up the ABOUT dialog wrote:

> Hi all,
>
> Somebody can tell me how to configurate the About dialog in RCP.
> When I add it to me workbench it works fine but how can I set it as I want
> it to be?
>
> Thanks,
> Avier5
>
>
>

You create an action using

ActionFactory.IWorkbenchAction aboutAction

aboutAction = ActionFactory.ABOUT.create(window);


You then add this action to your menu,

You also need some definition of your product within the Plugin

<extension
point="org.eclipse.core.runtime.products"
id="product">
<product
name="IIS - Motor Quote Application"
application="com.ibm.ssw.motorquote.rcp.app">
<property
name="appName"
value="IBM Insurance Services - Motor Insurance Client"/>
<property
name="windowImages"
value="icons/eclipse.gif,icons/eclipse32.gif"/>
<property
name="aboutText"
value="This Rich Client Application allows local Motor
Insurance quotations to be calcluated and saved"/>
<property
name="aboutImage"
value="icons/eclipse_lg.gif"/>
</product>

</extension>

And finally you need to specify the product either in the config.ini
file or on he command line ie.
-Declipse.product=com.ibm.ssw.motorquote.rcp.product

When you run the RCP it will display the about box on the help menu and
use the details specfied in the plugin.

Best of luck

Matt Perrins
IBM Sofware Services
Previous Topic:create ResourceNavigator is not possible?
Next Topic:terminated Debugger Process
Goto Forum:
  


Current Time: Tue May 06 13:35:38 EDT 2025

Powered by FUDForum. Page generated in 0.02664 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top