*/
public static ClickButtonWidget createTextClickButton(String text,
TextButtonStyle style, String tooltip, ClickButtonListener listener, String debugClassId) {
ClickButton logic = new ClickButton();
logic.setClickButtonListener(listener);
TextButton template = new TextButton(text, style, tooltip);
if (null != debugClassId) {
// DebugClassHelper.addDebugClass(template, debugClassId);
}
template.setStopPropagation(true);
template.setUiListener(logic.getUiEventListener());
logic.setButtonDisplay(template);
return new ClickButtonWidget(logic.getController(), template);
}