Search in sources :

Example 1 with IDialogBluePrint

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);
}
Also used : IFrame(org.jowidgets.api.widgets.IFrame) IDialogBluePrint(org.jowidgets.api.widgets.blueprint.IDialogBluePrint)

Example 2 with IDialogBluePrint

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);
}
Also used : IFrame(org.jowidgets.api.widgets.IFrame) IBluePrintFactory(org.jowidgets.api.widgets.blueprint.factory.IBluePrintFactory) IDialogBluePrint(org.jowidgets.api.widgets.blueprint.IDialogBluePrint)

Example 3 with IDialogBluePrint

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);
}
Also used : IFrame(org.jowidgets.api.widgets.IFrame) IDialogBluePrint(org.jowidgets.api.widgets.blueprint.IDialogBluePrint)

Aggregations

IFrame (org.jowidgets.api.widgets.IFrame)3 IDialogBluePrint (org.jowidgets.api.widgets.blueprint.IDialogBluePrint)3 IBluePrintFactory (org.jowidgets.api.widgets.blueprint.factory.IBluePrintFactory)1