Package org.jbpm.ui.common.model

Examples of org.jbpm.ui.common.model.TimerAction


                    ((ITimed) state).setDueDate(dueDate);
                    NodeList actionNodes = stateNodeChild.getChildNodes();
                    for (int l = 0; l < actionNodes.getLength(); l++) {
                        Node aa = actionNodes.item(l);
                        if (ACTION_NODE.equals(aa.getNodeName())) {
                            TimerAction timerAction = new TimerAction(null);
                            timerAction.setDelegationClassName(getAttribute(aa, CLASS_ATTR));
                            timerAction.setDelegationConfiguration(getTextContent(aa));
                            timerAction.setRepeat(getAttribute(stateNodeChild, REPEAT_ATTR));
                            ((ITimed) state).setTimerAction(timerAction);
                        }
                    }
                }
            }
View Full Code Here


    private final boolean deleteEnabled;
   
    public TimerActionEditDialog(ITimed timed) {
        super(Display.getCurrent().getActiveShell());
        this.definition = ((GraphElement) timed).getProcessDefinition();
        editable = new TimerAction(definition);
        deleteEnabled = timed.getTimerAction() != null;
        if (timed.getTimerAction() != null) {
            editable.setDelegationClassName(timed.getTimerAction().getDelegationClassName());
            editable.setDelegationConfiguration(timed.getTimerAction().getDelegationConfiguration());
            editable.setRepeat(timed.getTimerAction().getRepeat().getDuration());
View Full Code Here

   
    public void setTimerAction(TimerAction timerAction) {
        if (timerAction == TimerAction.NONE) {
            timerAction = null;
        }
        TimerAction old = this.timerAction;
        this.timerAction = timerAction;
        firePropertyChange(PROPERTY_TIMER_ACTION, old, this.timerAction);
    }
View Full Code Here

TOP

Related Classes of org.jbpm.ui.common.model.TimerAction

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.