this.editor = editor;
}
public void init(BarFormat format) {
if (format==null) return;
FormFormat form=format.getForm();
if (form==null) return;
List boxes=form.getBoxes();
if (boxes==null||boxes.size()==0){
return;
}
FormBoxLayout formBoxLayout=form.getLayout(zoom);
FormLayout layout = new FormLayout(
formBoxLayout.getColumnGrid(),
formBoxLayout.getRowGrid());
DefaultFormBuilder builder = new DefaultFormBuilder(this,layout);
if (formBoxLayout.getBorder()==null) builder.setDefaultDialogBorder();