Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » [RCP]
[RCP] [message #269212] Mon, 30 August 2004 13: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 10:22 Go to previous message
Matthew Perrins is currently offline Matthew PerrinsFriend
Messages: 18
Registered: July 2009
Junior Member
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 Jul 16 16:08:26 GMT 2024

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

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

Back to the top