}
}
private void addActionsButtonsToLayout(String title, ClickListener addBelowListener, ClickListener moveDownListener, ClickListener moveUpListener) {
DirtyableHorizontalPane hp = new DirtyableHorizontalPane();
Image addPattern = new ImageButton("images/new_item_below.png");
addPattern.setTitle(title);
addPattern.addClickListener(addBelowListener);
Image moveDown = new ImageButton("images/shuffle_down.gif");
moveDown.setTitle(constants.MoveDown());
moveDown.addClickListener(moveDownListener);
Image moveUp = new ImageButton("images/shuffle_up.gif");
moveUp.setTitle(constants.MoveUp());
moveUp.addClickListener(moveUpListener);
hp.add(addPattern);
hp.add(moveDown);
hp.add(moveUp);
final ExtElement e = new ExtElement(hp.getElement());
e.setOpacity(0.1f, false);
FocusPanel actionPanel = new FocusPanel(hp);
MouseListenerAdapter mouseListenerAdapter = new MouseListenerAdapter() {