Examples of CanvasRepresentation


Examples of org.jbpm.formapi.shared.api.items.CanvasRepresentation

        }
    }
   
    @Override
    public FormItemRepresentation getRepresentation() {
        CanvasRepresentation rep = super.getRepresentation(new CanvasRepresentation());
        rep.setCssClassName(cssClassName);
        rep.setFallbackUrl(fallbackUrl);
        rep.setId(id);
        rep.setDataType(dataType);
        return rep;
    }
View Full Code Here

Examples of org.jbpm.formapi.shared.api.items.CanvasRepresentation

    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof CanvasRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "CanvasRepresentation"));
        }
        super.populate(rep);
        CanvasRepresentation crep = (CanvasRepresentation) rep;
        this.fallbackUrl = crep.getFallbackUrl();
        this.cssClassName = crep.getCssClassName();
        this.id = crep.getId();
        this.dataType = crep.getDataType();

        populate(this.canvas);
    }
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.