Package pl.net.bluesoft.rnd.processtool.ui.widgets

Examples of pl.net.bluesoft.rnd.processtool.ui.widgets.ProcessToolVaadinRenderable.render()


            try {
              ProcessToolWidget realWidget = getWidget(w, stateConfiguration, ctx, null, widgetEventBus);
              if (realWidget instanceof ProcessToolVaadinRenderable && (!nvl(w.getOptional(), false) || realWidget.hasVisibleData())) {
                processWidgetChildren(w, realWidget, stateConfiguration, ctx, null, widgetEventBus);
                ProcessToolVaadinRenderable vaadinW = (ProcessToolVaadinRenderable) realWidget;
                vl.addComponent(vaadinW.render());
              }
            }
            catch (Exception e) {
              logger.log(Level.SEVERE, e.getMessage(), e);
              vl.addComponent(new Label(getMessage("process.data.widget.exception-occurred")));
View Full Code Here


    public void addChild(ProcessToolWidget child) {
    if (!(child instanceof ProcessToolVaadinRenderable)) {
      throw new IllegalArgumentException("child is not instance of " + ProcessToolVaadinRenderable.class.getName());
        }
    ProcessToolVaadinRenderable vChild = (ProcessToolVaadinRenderable) child;
        Component component = vChild.render();
        panel.addComponent(component);
    }

}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.