private int oldCount;
public Swipe( Composite parent, SwipeItemProvider itemProvider ) {
whenNull( parent ).throwIllegalArgument( "Parent must not be null" );
whenNull( itemProvider ).throwIllegalArgument( "SwipeItemProvider must not be null" );
this.operationHandler = new SwipeOperationHandler( this );
this.manager = new SwipeManager( itemProvider );
this.listeners = new ArrayList<SwipeListener>();
this.container = new Composite( parent, SWT.NONE );
container.setData( SWIPE.getKey(), Boolean.TRUE );
addDisposeListener();