Package org.drools.eclipse.flow.common.editor.core.command

Examples of org.drools.eclipse.flow.common.editor.core.command.DeleteElementCommand


*/
public class ElementEditPolicy extends ComponentEditPolicy {

    protected Command createDeleteCommand(GroupRequest deleteRequest) {
        ElementContainer parent = (ElementContainer) getHost().getParent().getModel();
        DeleteElementCommand deleteCmd = new DeleteElementCommand();
        deleteCmd.setParent(parent);
        deleteCmd.setChild((ElementWrapper) (getHost().getModel()));
        return deleteCmd;
    }
View Full Code Here

TOP

Related Classes of org.drools.eclipse.flow.common.editor.core.command.DeleteElementCommand

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.