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

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

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

  
so there are two different points:
a) custom ActionBarAdvisors
b) where to place menu under OSX
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...

  

great !

ekke
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


    


  


--

ekke (ekkehard gentz)
independent software-architect
senior erp-consultant
eclipse | osgi | equinox | mdsd | oaw | emf | uml
max-josefs-platz 30, D-83022 rosenheim, germany
mailto:ekke@xxxxxxxxxxxxxxxx
homepages (de): http://ekkehard.org || http://gentz-software.de
blog (en): http://ekkes-corner.org
blog (de): http://ekkes-ecke.org
skype: ekkes-corner
Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490


Back to the top