return fromJson
}
+function newArea(parent, style, layout) {
+ var control = new Composite(parent, SWT.NONE)
+ control.setLayout(layout)
+ CmsUtils.style(control, style)
+ return control
+}
+
function newLabel(parent, style, text) {
var control = new Label(parent, SWT.NONE)
control.setText(text)
return control
}
+function newButton(parent, style, text) {
+ var control = new Button(parent, SWT.FLAT)
+ control.setText(text)
+ CmsUtils.style(control, style)
+ CmsUtils.markup(control)
+ return control
+}
+
function newFormLabel(parent, style, text) {
return newLabel(parent, style, '<b>' + text + '</b>')
}