Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » One Handler for multiple MenutItem
One Handler for multiple MenutItem [message #568609] Thu, 11 February 2010 12:29
Walter Mising name is currently offline Walter Mising nameFriend
Messages: 128
Registered: July 2009
Senior Member
How do I get the control of a menu item that was clicked ?

<children xsi:type="application:DirectToolItem" id="Btn1"
URI="platform:/plugin/test/handler.ClickHandler" label="Test_1"
<children xsi:type="application:DirectToolItem" id="Btn2"
URI="platform:/plugin/test/handler.ClickHandler" label="Test_2"

The objective is to have 1 ClickHandler and then take action based on the
button clicked.
I would prefer to use "id" to differentiate the button clicked.

Any pointers would help.

Best Regards,
Walter G. Prabhakar.
Previous Topic:Initializing Java Tooling never completes
Next Topic:One Handler for multiple MenutItem
Goto Forum:

Current Time: Sat Jul 04 03:51:17 GMT 2020

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

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

Back to the top