Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Reuse the existing IWorkbenchActionDelegate instance
Reuse the existing IWorkbenchActionDelegate instance [message #1265765] Thu, 06 March 2014 14:21
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. I want to reuse the same 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:21]

Report message to a moderator

Previous Topic:hide menu item contribution doesn't work depending on the rational tools installed
Next Topic:Icon not appearing for 'new file' wizard despite being proper
Goto Forum:
  


Current Time: Thu Apr 25 23:27:04 GMT 2024

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

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

Back to the top