Examples of GraphElement


Examples of org.jbpm.graph.def.GraphElement

      }

    }
    catch (Exception exception)
    {
      GraphElement graphElement = executionContext.getEventSource();
      if (graphElement != null)
      {
        graphElement.raiseException(exception, executionContext);
      }
      else
      {
        throw new DelegationException(exception, executionContext);
      }
View Full Code Here

Examples of org.jbpm.graph.def.GraphElement

            timer.setGraphElement(
                findReplacementTask(newDef, oldNode, oldTask));
          }
          else {
            // change to new node
            GraphElement oldNode = timer.getGraphElement();
            // TODO: What with other GraphElements?
            timer.setGraphElement(
                findReplacementNode(newDef, oldNode));
          }         
        }
View Full Code Here

Examples of org.jbpm.graph.def.GraphElement

   
    // if this action was executed for a graph element
    if ( (getEvent()!=null)
         && (getEvent().getGraphElement()!=null)
       ) {
      GraphElement graphElement = getEvent().getGraphElement();
      try {
        executionContext.setTimer(timer);
        // fire the create timer event on the same graph element
        graphElement.fireEvent(Event.EVENTTYPE_TIMER_CREATE, executionContext);
      } finally {
        executionContext.setTimer(null);
      }
    }
   
View Full Code Here

Examples of org.jbpm.graph.def.GraphElement

   
    // if this action was executed for a graph element
    if ( (getEvent()!=null)
         && (getEvent().getGraphElement()!=null)
       ) {
      GraphElement graphElement = getEvent().getGraphElement();
      try {
        executionContext.setTimer(timer);
        // fire the create timer event on the same graph element
        graphElement.fireEvent("timer-create", executionContext);
      } finally {
        executionContext.setTimer(null);
      }
    }
   
View Full Code Here

Examples of org.jbpm.graph.def.GraphElement

          performAssignmentPooledActorsExpr(pooledActorsExpression, assignable, executionContext);
        }
      }
     
    } catch (Exception exception) {
      GraphElement graphElement = executionContext.getEventSource();
      if (graphElement!=null) {
        graphElement.raiseException(exception, executionContext);
      } else {
        throw new DelegationException(exception, executionContext);
      }
    }
  }
View Full Code Here

Examples of org.jbpm.graph.def.GraphElement

          performAssignmentPooledActorsExpr(pooledActorsExpression, assignable, executionContext);
        }
      }
     
    } catch (Exception exception) {
      GraphElement graphElement = executionContext.getEventSource();
      if (graphElement!=null) {
        graphElement.raiseException(exception, executionContext);
      } else {
        throw new DelegationException(exception, executionContext);
      }
    }
  }
View Full Code Here

Examples of org.jbpm.graph.def.GraphElement

   
    // if this action was executed for a graph element
    if ( (getEvent()!=null)
         && (getEvent().getGraphElement()!=null)
       ) {
      GraphElement graphElement = getEvent().getGraphElement();
      try {
        executionContext.setTimer(timer);
        // fire the create timer event on the same graph element
        graphElement.fireEvent("timer-create", executionContext);
      } finally {
        executionContext.setTimer(null);
      }
    }
   
View Full Code Here

Examples of org.jbpm.graph.def.GraphElement

          performAssignmentPooledActorsExpr(pooledActorsExpression, assignable, executionContext);
        }
      }
     
    } catch (Exception exception) {
      GraphElement graphElement = executionContext.getEventSource();
      if (graphElement!=null) {
        graphElement.raiseException(exception, executionContext);
      } else {
        throw new DelegationException(exception, executionContext);
      }
    }
  }
View Full Code Here

Examples of org.jbpm.graph.def.GraphElement

   
    // if this action was executed for a graph element
    if ( (getEvent()!=null)
         && (getEvent().getGraphElement()!=null)
       ) {
      GraphElement graphElement = getEvent().getGraphElement();
      try {
        executionContext.setTimer(timer);
        // fire the create timer event on the same graph element
        graphElement.fireEvent("timer-create", executionContext);
      } finally {
        executionContext.setTimer(null);
      }
    }
   
View Full Code Here

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

        treeViewer.refresh();
    }

    public Object getParent(Object element) {
        ElementMatch elementMatch = (ElementMatch) element;
        GraphElement graphElement = elementMatch.getGraphElement();
        if (graphElement instanceof ProcessDefinition)
            return null;
        if (elementMatch.getParent() != null) {
            return elementMatch.getParent();
        }
        return new ElementMatch(graphElement.getParent());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.