Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [riena-dev] Riena App and eclipse help

With regard to the Help action -  I've investigated it and opened Bug 277416
http://bugs.eclipse.org/277416

Unfortunatelly, we have overlooked the need to support custom
ActionBarAdvisors.

I'm about to paste a workaround snippet to this bug, that I just used
to make help work. It's a bit awkard since it involves reflection...

Elias.

On Thu, May 21, 2009 at 11:08 PM, ekkehard <ekkehard@xxxxxxxxxxxxxxxxx> wrote:
> Elias Volanakis schrieb:
>
> Let continue the discussion on Bug 276874.
>
>
>
> elias,
> I added some screenshots and informations at 276874,
> so we can discuss it there (both: missing about menu and how to add eclipse
> help menu)
> thx
> ekke
>
> I'll post a comment there shortly.
>
> Thanks,
> Elias.
>
> 2009/5/20 ekkehard <ekkehard@xxxxxxxxxxxxxxxxx>:
>
>
> perhaps I'm only missing something simple ;-)
>
> I'm trying to add help to riena ui+navigation app
> so my application extends SwtApplication
>
> I have aplugin with help content
> and extension to org.eclipse.help.toc
> (also all required bundles for help, jetty etc)
>
> then I also have a menu contribution together
> with command
> org.eclipse.ui.help.helpContents
>
> the help was displayed in menu as expected,
> but its greyed out because no help content is found
>
> now comes the interesting part:
>
> in a normal RCP app I would do something like
>
> protected void makeActions(IWorkbenchWindow window) {
>   this.contentsHelpAction = ActionFactory.HELP_CONTENTS.create(window);
>   register(this.contentsHelpAction);
> }
>
> how can I add the help to my menu in a riena app ?
>
> btw: I would prefer to do it all declarative but I found no way
> to use org.eclipse.ui.binding to bind menu content to a command
>
> ekke
>
> _______________________________________________
> riena-dev mailing list
> riena-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/riena-dev
>
>
>
>
>
> _______________________________________________
> riena-dev mailing list
> riena-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/riena-dev
>
>



-- 
Elias Volanakis | Technical Lead | EclipseSource Portland
elias@xxxxxxxxxxxxxxxxx | +1 503 929 5537 | http://eclipsesource.com


Back to the top