コード例 #1
0
  /* (non-Javadoc)
   * @see de.hpi.bpmn2_0.factory.AbstractBpmnFactory#createDiagramElement(org.oryxeditor.server.diagram.Shape)
   */
  @Override
  protected ConversationLinkConnector createDiagramElement(Shape shape) {
    ConversationLinkConnector conLink = new ConversationLinkConnector();
    conLink.setId(shape.getResourceId() + "_gui");

    conLink.setLabel(shape.getProperty("name"));
    // TODO: Label position

    this.setBendpoints(conLink, shape);

    return conLink;
  }