Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Event listener for Workbench



Sunil,

this list is for discussions about the ongoing development of Eclipse. The
correct forum for your questions are the corresponding newsgroups (see:
http://www.eclipse.org/newsgroups/index.html).

Dani


                                                                           
             Sunil Belgaonkar                                              
             <ssb@xxxxxxxxxx>                                              
             Sent by:                                                   To 
             platform-ui-dev-a         platform-ui-dev@xxxxxxxxxxx         
             dmin@xxxxxxxxxxx                                           cc 
                                                                           
                                                                   Subject 
             26.07.2004 21:16          [platform-ui-dev] Event listener    
                                       for Workbench                       
                                                                           
             Please respond to                                             
             platform-ui-dev@e                                             
                clipse.org                                                 
                                                                           
                                                                           




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.

_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ui-dev




Back to the top