Examples of ParticipantBandKind


Examples of org.eclipse.bpmn2.di.ParticipantBandKind

     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public void setParticipantBandKind(ParticipantBandKind newParticipantBandKind) {
        ParticipantBandKind oldParticipantBandKind = participantBandKind;
        participantBandKind = newParticipantBandKind == null ? PARTICIPANT_BAND_KIND_EDEFAULT
                : newParticipantBandKind;
        if (eNotificationRequired())
            eNotify(new ENotificationImpl(this, Notification.SET,
                    BpmnDiPackage.BPMN_SHAPE__PARTICIPANT_BAND_KIND, oldParticipantBandKind,
View Full Code Here

Examples of org.eclipse.bpmn2.di.ParticipantBandKind

     * <!-- end-user-doc -->
     * @generated
     */
    public ParticipantBandKind createParticipantBandKindFromString(EDataType eDataType,
            String initialValue) {
        ParticipantBandKind result = ParticipantBandKind.get(initialValue);
        if (result == null)
            throw new IllegalArgumentException("The value '" + initialValue
                    + "' is not a valid enumerator of '" + eDataType.getName() + "'");
        return result;
    }
View Full Code Here

Examples of org.eclipse.bpmn2.di.ParticipantBandKind

    List<ContainerShape> top = new ArrayList<ContainerShape>();
    List<ContainerShape> bottom = new ArrayList<ContainerShape>();

    if (participantBands.size() == 1) {
      BPMNShape bpmnShape = BusinessObjectUtil.getFirstElementOfType(participantBands.get(0), BPMNShape.class);
      ParticipantBandKind bandKind = bpmnShape.getParticipantBandKind();
      if (bandKind == ParticipantBandKind.TOP_INITIATING || bandKind == ParticipantBandKind.TOP_NON_INITIATING) {
        top.add(participantBands.get(0));
      } else if (bandKind == ParticipantBandKind.BOTTOM_INITIATING
          || bandKind == ParticipantBandKind.BOTTOM_NON_INITIATING) {
        bottom.add(participantBands.get(0));
View Full Code Here

Examples of org.eclipse.bpmn2.di.ParticipantBandKind

    while (iterator.hasNext()) {
      Participant participant = iterator.next();

      ContainerShape bandShape = peService.createContainerShape(choreographyContainer, true);

      ParticipantBandKind bandKind = getNewParticipantBandKind(choreography, participant, first,
          !iterator.hasNext());

      boolean multiple = participant.getParticipantMultiplicity() != null
          && participant.getParticipantMultiplicity().getMaximum() > 1;
View Full Code Here

Examples of org.eclipse.bpmn2.di.ParticipantBandKind

    for (ContainerShape band : bands) {
      BPMNShape bpmnShape = BusinessObjectUtil.getFirstElementOfType(band, BPMNShape.class);
      if (!bpmnShape.isIsMessageVisible()) {
        continue;
      }
      ParticipantBandKind bandKind = bpmnShape.getParticipantBandKind();
      if (bandKind == ParticipantBandKind.TOP_INITIATING || bandKind == ParticipantBandKind.BOTTOM_INITIATING
          || bandKind == ParticipantBandKind.MIDDLE_INITIATING) {
        filled = false;
        break;
      }
View Full Code Here

Examples of org.eclipse.bpmn2.di.ParticipantBandKind

        filteredShapes.add(shape);
      }
    }

    for (BPMNShape bpmnShape : filteredShapes) {
      ParticipantBandKind bandKind = bpmnShape.getParticipantBandKind();
      ContainerShape createdShape = ChoreographyUtil.createParticipantBandContainerShape(bandKind,
          choreographyContainer, bpmnShape, isShowNames());
      createDIShape(createdShape, bpmnShape.getBpmnElement(), bpmnShape);
      Participant p = (Participant) bpmnShape.getBpmnElement();
      if (p.getParticipantMultiplicity() != null && p.getParticipantMultiplicity().getMaximum() > 1) {
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.