Search in sources :

Example 1 with ICompositeBluePrint

use of org.jowidgets.api.widgets.blueprint.ICompositeBluePrint in project jo-client-platform by jo-source.

the class BeanLinkPanelFactory method create.

@Override
public IBeanLinkPanel<Object, Object> create(final Object parentUiReference, final IBeanLinkPanelBluePrint<Object, Object> bluePrint) {
    final ICompositeBluePrint compositeBp = BPF.composite();
    compositeBp.setSetup(bluePrint);
    final IComposite composite = Toolkit.getWidgetFactory().create(parentUiReference, compositeBp);
    return new BeanLinkPanelImpl<Object, Object>(composite, bluePrint);
}
Also used : ICompositeBluePrint(org.jowidgets.api.widgets.blueprint.ICompositeBluePrint) IComposite(org.jowidgets.api.widgets.IComposite)

Example 2 with ICompositeBluePrint

use of org.jowidgets.api.widgets.blueprint.ICompositeBluePrint in project jo-client-platform by jo-source.

the class BeanRelationTreeDetailFactory method create.

@Override
public IBeanRelationTreeDetail<Object> create(final Object parentUiReference, final IBeanRelationTreeDetailBluePrint<Object> bluePrint) {
    final ICompositeBluePrint bp = BPF.composite();
    bp.setSetup(bluePrint);
    final IComposite composite = Toolkit.getWidgetFactory().create(parentUiReference, bp);
    return new BeanRelationTreeDetailImpl<Object>(composite, bluePrint);
}
Also used : ICompositeBluePrint(org.jowidgets.api.widgets.blueprint.ICompositeBluePrint) IComposite(org.jowidgets.api.widgets.IComposite)

Aggregations

IComposite (org.jowidgets.api.widgets.IComposite)2 ICompositeBluePrint (org.jowidgets.api.widgets.blueprint.ICompositeBluePrint)2