ts.setWidth("100%");
if (widget.hasProperties()) {
if (reloadProperties) {
PropertiesPanel propertiesPanel = new PropertiesPanel();
propertiesPanel.init(widget.getWidgetItem().getClassInfo());
propertiesPanel.refreshForm(false, widget.getProperties());
widget.setWidgetPropertiesPanel(propertiesPanel);
}
ts.addTab(widget.getWidgetPropertiesPanel(), messages.getMessage("form.properties"));
}
if (widget.hasPermissions()) {