[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Passing events from Widget to Widget

Tom, you can use widet.notifyListeners(*) to pass on events from one widget to another.

You can check out a (rather complex) example at the bottom of ActionContributionItem ... we create a proxy menu copy that's showing, and must pass on all proxy menu/menu item events to the real menu/menu items.

Later,
PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench.htm