Package org.enhydra.shark.xpdl.elements

Examples of org.enhydra.shark.xpdl.elements.Activity


            g.drawRoundRect(0, 0, actW - 1 - shadowWidth, actH - 1 - shadowWidth + 2, arc, arc);
        }
    }

    protected Color getFillColor() {
        Activity act = (Activity) ((GraphActivityInterface) view.getCell()).getUserObject();
        Color c = JaWEManager.getInstance().getJaWEController().getTypeResolver().getJaWEType(act).getColor();
        GraphSettings gv = GraphUtilities.getGraphController().getGraphSettings();
        if (!gv.shouldUseBubbles()) {
            boolean isStartingAct = JaWEManager.getInstance().getXPDLUtils().isStartingActivity(act);
            boolean isEndingAct = JaWEManager.getInstance().getXPDLUtils().isEndingActivity(act);
View Full Code Here


        }
        return c;
    }

    public ImageIcon getIcon() {
        Activity act = (Activity) ((GraphActivityInterface) view.getCell()).getUserObject();

        String icon = act.getIcon().replaceAll(".gif", "graph.gif");

        ImageIcon ii = null;
        if (!icon.equals("")) {
            ii = (ImageIcon) Utils.getOriginalActivityIconsMap().get(icon);
        }
View Full Code Here

                                    (String) info.getNewValue());
                            updateSpecialInProgress = false;
                        }
                    } else if (parent instanceof Split || parent instanceof Join) {
                        updateSpecialInProgress = true;
                        Activity act = XMLUtil.getActivity(parent);
                        JaWEManager.getInstance().getXPDLUtils().correctSplitAndJoin(act);
                        updateSpecialInProgress = false;
                    }
                } else if (parent instanceof TypeDeclaration) {
                    updateSpecialInProgress = true;
View Full Code Here

TOP

Related Classes of org.enhydra.shark.xpdl.elements.Activity

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.