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

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


    /* (non-Javadoc)
     * @see org.eclipse.gef.editpolicies.ContainerEditPolicy#getCreateCommand(org.eclipse.gef.requests.CreateRequest)
     */
    protected Command getCreateCommand(CreateRequest request) {
        CreateAndAssignSourceCommand cmd = new CreateAndAssignSourceCommand();
        cmd.setParent((IWebflowState) getHost().getParent().getModel());
        cmd.setChild((ITransitionableTo) request.getNewObject());
        cmd.setSource((ITransitionableFrom) getHost().getModel());
        return cmd;
    }
View Full Code Here

TOP

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

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.