示例#1
0
  @Override
  public void addProcessNode(ProcessNode n) {
    super.addProcessNode(n);
    // Check if StartEvent, if so change non_interrupting to true
    /*if (((n instanceof MessageStartEvent) ||
            (n instanceof TimerStartEvent) ||
            (n instanceof EscalationStartEvent) ||
            (n instanceof ConditionalStartEvent) ||
            (n instanceof SignalStartEvent) ||
            (n instanceof MultipleStartEvent) ||
            (n instanceof ParallelMultipleStartEvent)) &&
            (getProperty(PROP_EVENT_SUBPROCESS).equals("TRUE"))){
        n.setProperty(StartEvent.PROP_NON_INTERRUPTING, "TRUE");
    }*/

  }
示例#2
0
 public void addWord(WordNode word) {
   f_wordNodes.add(word);
   super.addProcessNode(word);
 }