return clone;
}
@Override
public Widget cloneDisplay(Map<String, Object> data) {
TabLayoutPanel panel = new MyTabLayoutPanel(25, Unit.PX);
panel.getElement().setId(this.id);
panel.getElement().setClassName(this.cssClassName);
for (int index = 0; index < this.titles.size() && index < this.tabs.size(); index++) {
FlowLayoutFormItem flow = this.tabs.get(index);
TabLabelFormItem label = this.titles.get(index);
if (flow != null && label != null) {
Widget newFlow = flow.cloneDisplay(data);
if (this.cssClassName != null && !"".equals(this.cssClassName)) {
newFlow.setStyleName(this.cssClassName);
}
panel.add(newFlow, label.cloneDisplay(data));
}
}
super.populateActions(panel.getElement());
return panel;
}