Package org.springframework.ide.eclipse.webflow.ui.graph.commands

Examples of org.springframework.ide.eclipse.webflow.ui.graph.commands.AddAndAssignSourceCommand


     */
    protected Command getAddCommand(GroupRequest request) {
        CompoundCommand cmd = new CompoundCommand();
        for (int i = 0; i < request.getEditParts().size(); i++) {
            if (getHost().getModel() instanceof ITransitionableFrom) {
                AddAndAssignSourceCommand add = new AddAndAssignSourceCommand();
                add.setParent((IWebflowState) getHost().getParent().getModel());
                add.setSource((ITransitionableFrom) getHost().getModel());
                add.setChild(((ITransitionableTo) ((EditPart) request
                        .getEditParts().get(i)).getModel()));
                cmd.add(add);
            }
        }
        return cmd;
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.webflow.ui.graph.commands.AddAndAssignSourceCommand

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.