PDA

View Full Version : Menu Item Selection Listener Bug



alex666
10 Mar 2011, 7:56 PM
The listener used in the addSelectionListener method of com.extjs.gxt.ui.client.widget.menu.Item is SelectionListener<? extends MenuEvent> object type.
But the concrete event object pass to the listener when select event fired is MenuEvent but not subclass of MenuEvent.

Can the addSelectionListener method change to addSelectionListener(SelectionListener<MenuEvent> listener)

Thanks.