Package org.drools.eclipse.flow.ruleflow.editor.editpart.figure

Examples of org.drools.eclipse.flow.ruleflow.editor.editpart.figure.DefaultNodeFigure


import org.jbpm.workflow.core.NodeExtension;

public class DefaultNodeEditPart extends ElementEditPart {

    protected IFigure createFigure() {
        DefaultNodeFigure figure = new DefaultNodeFigure();
        Node node = ((NodeWrapper) getElementWrapper()).getNode();
        if (node instanceof NodeExtension) {
            figure.setIcon(((NodeExtension) node).getIcon());
        }
        return figure;
    }
View Full Code Here

TOP

Related Classes of org.drools.eclipse.flow.ruleflow.editor.editpart.figure.DefaultNodeFigure

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.