[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[platform-ui-dev] Event listener for Workbench
|
- From: Sunil Belgaonkar <ssb@xxxxxxxxxx>
- Date: Mon, 26 Jul 2004 15:16:45 -0400
- Delivered-to: platform-ui-dev@eclipse.org
- Organization: Home
- Thread-index: AcRzRRb/dXcyTruYRM+jXdidLXBLHA==
Hi All
I am a newbie to Eclipse - writing a new plug-in - not sure if this is the
correct forum for UI events question -
I need to create a global event handler to trap Eclipse events and pass them
on to a non-Java based environment. For this, I would like to register an
event listener to the Workbench to listen to all the events like -
- menu selection events (i.e. Edit/Copy or a newly added menu)
- resource events
I have already figured out how to register to resource events
(ResourcesPlugin.getWorkspace().addResourceChangeListener()) but I need help
in registering to the menu selection events. The event listener is not
intended to provide actual actions by retargeting the action but just to
listen to events and pass them along.
Is this possible in Eclipse? Any help is highly appreciated.
Regards,
Sunil.