I've learned that actions in Eclipse-RCP should not be used and instead commands should be used.
The problem is if I try to use the ExtensionPoint org.eclipse.ui.viewActions(makes little icons on top of views, see Image) only Actions can be defined there.
(source: eclipse.org)
Is there a way to use commands with this ExtensionPoint?
If that is not possible, is it possible to execute a command from an action?
Thanks.