Package org.jitterbit.integration.data.entity

Examples of org.jitterbit.integration.data.entity.Operation


    private final class Worker extends SwingWorker<Void, Void> {

        @Override
        protected Void doInBackground() throws Exception {
            Operation op = controller.getGraph().getModel().getStartNode().getDataObject().getActivity();
            InterchangeView view = controller.getView();
            new InterchangeDeployFacade(view).deploy(op);
            return null;
        }
View Full Code Here


            showInDialog(opNode);
        }
    }

    private OverlayContainer getOverlayContainer() {
        Operation mainOp = controller.getGraph().getModel().getStartNode().getDataObject().getActivity();
        OperationPage page = (OperationPage) controller.getView().getEditorForEntity(mainOp);
        OverlayContainer container = page.getOverlayContainer();
        return container;
    }
View Full Code Here

            throw new IllegalArgumentException("The route cannot be deleted: " + route);
        }
    }

    private UndoableEdit createSiblingEdit(Route route) {
        Operation sibling = (Operation) route.getTo().getActivity();
        return SiblingOperationEdit.siblingRemoved(controller, route.getFrom(), sibling);
    }
View Full Code Here

            return false;
        }
        if (!(entity instanceof Operation)) {
            return false;
        }
        Operation op = (Operation) entity;
        if (op.getOperationType() == HostedWebServiceOperationType.TYPE) {
            return false;
        }
        DataStructure in = extractInputStructure(op);
        return inputStruct.equals(in);
    }
View Full Code Here

        return collapseAllPipelinesAction;
    }

    @Override
    public boolean isChangeAllowed(OperationWrapperNode node) {
        Operation op = node.getDataObject().getActivity();
        return getGraphManager().isChangeAllowed(op, graph);
    }
View Full Code Here

        return getGraphManager().isChangeAllowed(op, graph);
    }

    @Override
    public boolean isChangeAllowed(OperationWrapper opWrapper) {
        Operation op = opWrapper.getActivity();
        return getGraphManager().isChangeAllowed(op, graph);
    }
View Full Code Here

        return getGraphManager().isChangeAllowed(op, graph);
    }

    @Override
    public boolean isChangeAllowed(PipelineActivityNode node) {
        Operation op = node.getParent().getDataObject().getActivity();
        return getGraphManager().isChangeAllowed(op, graph);
    }
View Full Code Here

   
    public ViewLayoutFileAction(OperationGraphController controller) {
        super("View Layout File...");
        this.appWin = controller.getView().getWindow();
        OperationId opId = controller.getGraph().getModel().getStartNode().getOperationId();
        Operation operation = controller.getEntityLookup().getEntity(opId, Operation.class);
        this.layoutStore = new GraphLayoutFileStore(operation);
    }
View Full Code Here

        }
       
        public synchronized List<?> getActiveObjects() {
            List<Object> selection = getSelectionModel().getSelection();
            if (selection == null || selection.isEmpty()) {
                Operation op = getModel().getStartNode().getDataObject().getActivity();
                return Arrays.asList(op);
            } else {
                return convertSelectionToActiveObjects(selection);
            }
        }
View Full Code Here

        factory = new InterchangeOperationRunnerFactory(view);
    }

    @Override
    public void execute(String[] params) throws CommandException {
        Operation op = page.getObject();
        OperationRunner runner = factory.newRunner();
        runner.run(op, 1, new Receiver<Long>() {

            @Override
            public void handle(Long opInstanceId) {
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.entity.Operation

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.