[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: KeyBindings, ActionSets and more

I guess it depends on what kind of actions you create.

For example, org.eclipse.ui.actionSets are for global window actions, and show up in the main menu and main toolbar.

org.eclipse.ui.viewActions and programmatic actions added to your getViewSite().getActionBars().getMenuManager() are specific to your view. They show up in the view menu and view toolbar.

If you are using the action bars to add actions directly, you don't need actionSets ... you just have to define a command in org.eclipse.ui.commands, define a keybinding in org.eclipse.ui.bindings, and then do your step 5.

If you have 3.2.x, there are even more options open to you. See http://wiki.eclipse.org/index.php/Platform_Command_Framework#Using_an_IActionDelegate_to_execute_a_command

Later,
PW