Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] KeyBindings

On Wed, Nov 24, 2010 at 6:29 AM, Thomas Kratz <eiswind@xxxxxxxxxxxxxx> wrote:
Hi Paul,
yes I registered the Action, still it doesn't work.
Do I need something in my model for that to work ?



I wouldn't think so.  I created the RCP mail app and then turned the message view into an ISaveablePart.  Then I added 2 lines to the ApplicationActionBarAdvisor:

saveAction = ActionFactory.SAVE.create(window);
register(saveAction);


Of course, then I had to copy out the LegacyIDE.xmi, parts of the plugin.xml, and some images and css stuff from org.eclipse.platform R4_HEAD to be able to launch the RCP mail app on top of the current modeled workbench.

But then CTRL+S worked without adding anything else to the model.

PW

--
Paul Webster
Hi floor.  Make me a sammich! - GIR

Back to the top