@Override
public View decorate(final View view, final Axes axes) {
// TODO reintroduce the 'Apply' notion, but under control from
// the method declaration
final ButtonAction[] actions = new ButtonAction[] { new ExecuteAndCloseAction(), new CancelAction() };
final ButtonBorder buttonBorder = new ButtonBorder(actions, new IconBorder(view, Toolkit.getText(ColorsAndFonts.TEXT_TITLE_SMALL)));
buttonBorder.setFocusManager(new ActionDialogFocusManager(buttonBorder));
return buttonBorder;
}
});
}