ClickHandler moveDownListener,
ClickHandler moveUpListener) {
final DirtyableHorizontalPane hp = new DirtyableHorizontalPane();
Image addPattern = new ImageButton( images.newItemBelow() );
addPattern.setTitle( title );
addPattern.addClickHandler( addBelowListener );
Image moveDown = new ImageButton( images.shuffleDown() );
moveDown.setTitle( constants.MoveDown() );
moveDown.addClickHandler( moveDownListener );
Image moveUp = new ImageButton( images.shuffleUp() );
moveUp.setTitle( constants.MoveUp() );
moveUp.addClickHandler( moveUpListener );
hp.add( addPattern );
hp.add( moveDown );
hp.add( moveUp );