Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Reuse the existing IWorkbenchActionDelegate instance
Reuse the existing IWorkbenchActionDelegate instance [message #1265761] Thu, 06 March 2014 14:19
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
I have an WorkbenchActionDelegate which implements an action.

I am using the same action in 2 different Views. So, one instance is created for each of the views. I want to use only one instance of the WorkbenchActionDelegate in both the views. How can I achieve that.

This is how I invoke the action.


handlerService.executeCommand(ICommandIds.CMD_SWITCH_VIEW, null);



Thanks in advance.

[Updated on: Thu, 06 March 2014 14:20]

Report message to a moderator

Previous Topic:Unable to find plug-in: org.eclipse.equinox.launcher
Next Topic:Circular dependencies, plugins, fragments and modularity
Goto Forum:
  


Current Time: Fri Apr 26 02:46:00 GMT 2024

Powered by FUDForum. Page generated in 0.02798 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top