|
|
|
|
Re: Contributing about menu? [message #452836 is a reply to message #452689] |
Mon, 17 July 2006 11:32  |
Eclipse User |
|
|
|
Mike Evans schrieb:
> On Wed, 12 Jul 2006 10:40:28 +0200, Hagen Seifert wrote:
>
>> Mike Evans schrieb:
>>> On Tue, 11 Jul 2006 11:35:06 +0200, Hagen Seifert wrote:
>>>
>>>> Hello,
>>>>
>>>> how can i contribute the "about" menu in a plugin.xml/fragment.xml?
>>>>
>>>> Thanks.
>>> See 'About Dialog' in
>>> http://www.eclipse.org/articles/Article-Branding/branding-yo ur-application.html
>>>
>> Thank you for your answer. But i don´t want to brand my about dialog, i
>> want to contribute the "about" entry in the help menu in a
>> fragment.xml/plugin.xml.
>
> Do you eman put the text in a properties file?
> If so set the ABout Dialog text to '%aboutText' and then add the aboutText
> values in a .properties file.
> If you mean create your own About Dialog I think you need to create your
> own Help menu and 'About' action - see RCP tutorial part 3 for an example
> ( http://www.eclipse.org/articles/Article-RCP-3/tutorial3.html)
Thanks again. I think i have to explain whats the problem is and what i
want to do.
We have a application, which defines the about entry (help menu) by code:
this.aboutAction = ActionFactory.ABOUT.create( window );
this.aboutAction.setText( Messages.getString(
"MainWorkbenchAdvisor.menu.help.about" ) ); //$NON-NLS-1$
register( this.aboutAction );
Now we want to create a second application which is using this "main"
plugin, too. The text of this about menu entry is "About blabla" (blabla
is our app name). This text is defined in a messages.properties. Which
possibility do I have to change this text?
|
|
|
Powered by
FUDForum. Page generated in 0.06684 seconds