use of org.jowidgets.api.widgets.blueprint.IDialogBluePrint in project jo-client-platform by jo-source.
the class BeanDialogFactory method create.
@Override
public IBeanDialog<Object> create(final Object parentUiReference, final IBeanDialogBluePrint<Object> beanDialogBp) {
final IDialogBluePrint dialogBp = BPF.dialog();
dialogBp.setSetup(beanDialogBp);
final IFrame dialog = Toolkit.getWidgetFactory().create(parentUiReference, dialogBp);
return new BeanDialogImpl<Object>(dialog, beanDialogBp);
}
use of org.jowidgets.api.widgets.blueprint.IDialogBluePrint in project jo-client-platform by jo-source.
the class BeanTableSettingsDialogFactory method create.
@Override
public IBeanTableSettingsDialog create(final Object parentUiReference, final IBeanTableSettingsDialogBluePrint setup) {
final IBluePrintFactory bpf = Toolkit.getBluePrintFactory();
final IDialogBluePrint dialogBp = bpf.dialog().setCloseable(false);
final IFrame frame = Toolkit.getWidgetFactory().create(parentUiReference, dialogBp);
return new BeanTableSettingsDialogImpl(frame, setup);
}
use of org.jowidgets.api.widgets.blueprint.IDialogBluePrint in project jo-client-platform by jo-source.
the class ExecutionTaskDialogFactory method create.
@Override
public IExecutionTaskDialog create(final Object parentUiReference, final IExecutionTaskDialogBluePrint bluePrint) {
final IDialogBluePrint dialogBp = BPF.dialog();
dialogBp.setSetup(bluePrint);
final IFrame dialog = Toolkit.getWidgetFactory().create(dialogBp);
return new ExecutionTaskDialogImpl(dialog, bluePrint);
}
Aggregations