Community
Participate
Working Groups
code e.g: public class ExtendComponent extends Composite { ... public void select(){ ... // Send selection event to the listeners Event event = new Event(); event.data = myObject; notifyListeners(SWT.Selection, event); } ... } myObject lost in Listener of Selection!! in org.eclipse.swt.events.SelectionEvent: public SelectionEvent( final Event e ) { this( e.widget, e.item, e.type, new Rectangle( e.x, e.y, e.width, e.height ), e.stateMask, e.text, e.doit, e.detail ); } no e.data!! it`s a bug?
Yes... Looks like a bug.
Created attachment 183834 [details] Without the prior fixes, can only do so temporarily
Fixed in CVS HEAD.