use of org.kie.workbench.common.forms.dynamic.client.rendering.formGroups.impl.def.DefaultFormGroup in project kie-wb-common by kiegroup.
the class DocumentFieldRenderer method getFormGroup.
@Override
protected FormGroup getFormGroup(RenderMode renderMode) {
DefaultFormGroup formGroup = formGroupsInstance.get();
view.setReadOnly(field.getReadOnly() || !renderingContext.getRenderMode().equals(RenderMode.EDIT_MODE));
formGroup.render(view.asWidget(), field);
return formGroup;
}
use of org.kie.workbench.common.forms.dynamic.client.rendering.formGroups.impl.def.DefaultFormGroup in project kie-wb-common by kiegroup.
the class AbstractComboBoxFieldRenderer method getFormGroup.
@Override
protected FormGroup getFormGroup(RenderMode renderMode) {
DefaultFormGroup formGroup = formGroupsInstance.get();
view.setReadOnly(field.getReadOnly());
refreshSelectorOptions();
formGroup.render(view.asWidget(), field);
return formGroup;
}
use of org.kie.workbench.common.forms.dynamic.client.rendering.formGroups.impl.def.DefaultFormGroup in project kie-wb-common by kiegroup.
the class ScriptTypeListFieldRenderer method getFormGroup.
@Override
protected FormGroup getFormGroup(RenderMode renderMode) {
DefaultFormGroup formGroup = formGroupsInstance.get();
formGroup.render(widget, field);
widget.setMode(field.getMode());
return formGroup;
}
use of org.kie.workbench.common.forms.dynamic.client.rendering.formGroups.impl.def.DefaultFormGroup in project kie-wb-common by kiegroup.
the class AssignmentsEditorFieldRenderer method getFormGroup.
@Override
protected FormGroup getFormGroup(RenderMode renderMode) {
DefaultFormGroup formGroup = formGroupsInstance.get();
assignmentsEditor.setBPMNModel(null);
Object model = ContextUtils.getModel(renderingContext);
if (model instanceof BPMNDefinition) {
assignmentsEditor.setBPMNModel((BPMNDefinition) model);
}
formGroup.render(assignmentsEditor, field);
return formGroup;
}
use of org.kie.workbench.common.forms.dynamic.client.rendering.formGroups.impl.def.DefaultFormGroup in project kie-wb-common by kiegroup.
the class ScriptTypeFieldRenderer method getFormGroup.
@Override
protected FormGroup getFormGroup(RenderMode renderMode) {
DefaultFormGroup formGroup = formGroupsInstance.get();
formGroup.render(widget, field);
widget.setMode(field.getMode());
return formGroup;
}
Aggregations