private final SwipeManager manager;
public Swipe( Composite parent, SwipeItemProvider itemProvider ) {
checkArgumentNotNull( parent, "Parent" );
checkArgumentNotNull( itemProvider, "SwipeItemProvider" );
this.manager = new SwipeManager( itemProvider );
this.listeners = new ArrayList<SwipeListener>();
this.container = new Composite( parent, SWT.NONE );
container.setData( SWIPE.getKey(), Boolean.TRUE );
this.remoteObject = RWT.getUISession().getConnection().createRemoteObject( TYPE_SWIPE );
initialize();