Package org.jitterbit.integration.client.ui.interchange.entity.operation.graph2d.node

Examples of org.jitterbit.integration.client.ui.interchange.entity.operation.graph2d.node.TransformationActivityNode


    @Override
    public boolean isDropAllowed(DropTargetDragEvent evt) {
        IntegrationEntity entity = getDraggedEntity(evt);
        if (entity instanceof Transformation) {
            Transformation tf = (Transformation) entity;
            TransformationActivityNode node = (TransformationActivityNode) getNode();
            if (browser.getRequestActivity() == node.getDataObject()) {
                return tf.getOutputStructure() instanceof WebServiceRequestStructure;
            }
            if (browser.getResponseActivity() == node.getDataObject()) {
                return tf.getInputStructure() instanceof WebServiceResponseStructure;
            }
        }
        return false;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.ui.interchange.entity.operation.graph2d.node.TransformationActivityNode

Copyright © 2018 www.massapicom. 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.