当前位置: 首页>>代码示例>>Java>>正文


Java BpmnDiFactory类代码示例

本文整理汇总了Java中org.eclipse.bpmn2.di.BpmnDiFactory的典型用法代码示例。如果您正苦于以下问题:Java BpmnDiFactory类的具体用法?Java BpmnDiFactory怎么用?Java BpmnDiFactory使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


BpmnDiFactory类属于org.eclipse.bpmn2.di包,在下文中一共展示了BpmnDiFactory类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: collectNewChildDescriptors

import org.eclipse.bpmn2.di.BpmnDiFactory; //导入依赖的package包/类
/**
 * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
 * that can be created under this object.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected void collectNewChildDescriptors(
		Collection<Object> newChildDescriptors, Object object) {
	super.collectNewChildDescriptors(newChildDescriptors, object);

	newChildDescriptors.add(createChildParameter(
			DiPackage.Literals.PLANE__PLANE_ELEMENT,
			BpmnDiFactory.eINSTANCE.createBPMNEdge()));

	newChildDescriptors.add(createChildParameter(
			DiPackage.Literals.PLANE__PLANE_ELEMENT,
			BpmnDiFactory.eINSTANCE.createBPMNLabel()));

	newChildDescriptors.add(createChildParameter(
			DiPackage.Literals.PLANE__PLANE_ELEMENT,
			BpmnDiFactory.eINSTANCE.createBPMNPlane()));

	newChildDescriptors.add(createChildParameter(
			DiPackage.Literals.PLANE__PLANE_ELEMENT,
			BpmnDiFactory.eINSTANCE.createBPMNShape()));
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:29,代码来源:PlaneItemProvider.java

示例2: createBpmnEdgeForAssociation

import org.eclipse.bpmn2.di.BpmnDiFactory; //导入依赖的package包/类
private void createBpmnEdgeForAssociation(BpmnDiFactory factory,
                                          BPMNPlane plane,
                                          Association association) {
    BPMNEdge edge = factory.createBPMNEdge();
    edge.setBpmnElement(association);
    DcFactory dcFactory = DcFactory.eINSTANCE;
    Point point = dcFactory.createPoint();
    Bounds sourceBounds = _bounds.get(association.getSourceRef().getId());
    point.setX(sourceBounds.getX() + (sourceBounds.getWidth() / 2));
    point.setY(sourceBounds.getY() + (sourceBounds.getHeight() / 2));
    edge.getWaypoint().add(point);
    List<Point> dockers = _dockers.get(association.getId());
    for (int i = 1; i < dockers.size() - 1; i++) {
        edge.getWaypoint().add(dockers.get(i));
    }
    point = dcFactory.createPoint();
    Bounds targetBounds = _bounds.get(association.getTargetRef().getId());
    point.setX(targetBounds.getX() + (targetBounds.getWidth() / 2));
    point.setY(targetBounds.getY() + (targetBounds.getHeight() / 2));
    edge.getWaypoint().add(point);
    plane.getPlaneElement().add(edge);
}
 
开发者ID:kiegroup,项目名称:kie-wb-common,代码行数:23,代码来源:Bpmn2JsonUnmarshaller.java

示例3: collectNewChildDescriptors

import org.eclipse.bpmn2.di.BpmnDiFactory; //导入依赖的package包/类
/**
 * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
 * that can be created under this object.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected void collectNewChildDescriptors(
		Collection<Object> newChildDescriptors, Object object) {
	super.collectNewChildDescriptors(newChildDescriptors, object);

	newChildDescriptors.add(createChildParameter(
			BpmnDiPackage.Literals.BPMN_DIAGRAM__PLANE,
			BpmnDiFactory.eINSTANCE.createBPMNPlane()));

	newChildDescriptors.add(createChildParameter(
			BpmnDiPackage.Literals.BPMN_DIAGRAM__LABEL_STYLE,
			BpmnDiFactory.eINSTANCE.createBPMNLabelStyle()));
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:21,代码来源:BPMNDiagramItemProvider.java

示例4: collectNewChildDescriptors

import org.eclipse.bpmn2.di.BpmnDiFactory; //导入依赖的package包/类
/**
 * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
 * that can be created under this object.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected void collectNewChildDescriptors(
		Collection<Object> newChildDescriptors, Object object) {
	super.collectNewChildDescriptors(newChildDescriptors, object);

	newChildDescriptors.add(createChildParameter(
			BpmnDiPackage.Literals.DOCUMENT_ROOT__BPMN_DIAGRAM,
			BpmnDiFactory.eINSTANCE.createBPMNDiagram()));

	newChildDescriptors.add(createChildParameter(
			BpmnDiPackage.Literals.DOCUMENT_ROOT__BPMN_EDGE,
			BpmnDiFactory.eINSTANCE.createBPMNEdge()));

	newChildDescriptors.add(createChildParameter(
			BpmnDiPackage.Literals.DOCUMENT_ROOT__BPMN_LABEL,
			BpmnDiFactory.eINSTANCE.createBPMNLabel()));

	newChildDescriptors.add(createChildParameter(
			BpmnDiPackage.Literals.DOCUMENT_ROOT__BPMN_LABEL_STYLE,
			BpmnDiFactory.eINSTANCE.createBPMNLabelStyle()));

	newChildDescriptors.add(createChildParameter(
			BpmnDiPackage.Literals.DOCUMENT_ROOT__BPMN_PLANE,
			BpmnDiFactory.eINSTANCE.createBPMNPlane()));

	newChildDescriptors.add(createChildParameter(
			BpmnDiPackage.Literals.DOCUMENT_ROOT__BPMN_SHAPE,
			BpmnDiFactory.eINSTANCE.createBPMNShape()));
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:37,代码来源:DocumentRootItemProvider.java

示例5: collectNewChildDescriptors

import org.eclipse.bpmn2.di.BpmnDiFactory; //导入依赖的package包/类
/**
 * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
 * that can be created under this object.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected void collectNewChildDescriptors(
		Collection<Object> newChildDescriptors, Object object) {
	super.collectNewChildDescriptors(newChildDescriptors, object);

	newChildDescriptors.add(createChildParameter(
			BpmnDiPackage.Literals.BPMN_EDGE__LABEL,
			BpmnDiFactory.eINSTANCE.createBPMNLabel()));
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:17,代码来源:BPMNEdgeItemProvider.java

示例6: collectNewChildDescriptors

import org.eclipse.bpmn2.di.BpmnDiFactory; //导入依赖的package包/类
/**
 * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
 * that can be created under this object.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected void collectNewChildDescriptors(
		Collection<Object> newChildDescriptors, Object object) {
	super.collectNewChildDescriptors(newChildDescriptors, object);

	newChildDescriptors.add(createChildParameter(
			BpmnDiPackage.Literals.BPMN_SHAPE__LABEL,
			BpmnDiFactory.eINSTANCE.createBPMNLabel()));
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:17,代码来源:BPMNShapeItemProvider.java

示例7: init

import org.eclipse.bpmn2.di.BpmnDiFactory; //导入依赖的package包/类
/**
 * Creates the default factory implementation.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static BpmnDiFactory init() {
    try {
        BpmnDiFactory theBpmnDiFactory = (BpmnDiFactory) EPackage.Registry.INSTANCE
                .getEFactory("http://www.omg.org/spec/BPMN/20100524/DI-XMI");
        if (theBpmnDiFactory != null) {
            return theBpmnDiFactory;
        }
    } catch (Exception exception) {
        EcorePlugin.INSTANCE.log(exception);
    }
    return new BpmnDiFactoryImpl();
}
 
开发者ID:fixteam,项目名称:fixflow,代码行数:19,代码来源:BpmnDiFactoryImpl.java

示例8: createBpmnShapeForElement

import org.eclipse.bpmn2.di.BpmnDiFactory; //导入依赖的package包/类
private void createBpmnShapeForElement(BpmnDiFactory factory,
                                       BPMNPlane plane,
                                       BaseElement element) {
    Bounds bounds = _bounds.get(element.getId());
    if (bounds != null) {
        BPMNShape shape = factory.createBPMNShape();
        shape.setBpmnElement(element);
        shape.setBounds(bounds);
        plane.getPlaneElement().add(shape);
    }
}
 
开发者ID:kiegroup,项目名称:kie-wb-common,代码行数:12,代码来源:Bpmn2JsonUnmarshaller.java

示例9: collectNewChildDescriptors

import org.eclipse.bpmn2.di.BpmnDiFactory; //导入依赖的package包/类
/**
 * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
 * that can be created under this object.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected void collectNewChildDescriptors(
		Collection<Object> newChildDescriptors, Object object) {
	super.collectNewChildDescriptors(newChildDescriptors, object);

	newChildDescriptors.add(createChildParameter(
			DiPackage.Literals.DOCUMENT_ROOT__DIAGRAM_ELEMENT,
			BpmnDiFactory.eINSTANCE.createBPMNEdge()));

	newChildDescriptors.add(createChildParameter(
			DiPackage.Literals.DOCUMENT_ROOT__DIAGRAM_ELEMENT,
			BpmnDiFactory.eINSTANCE.createBPMNLabel()));

	newChildDescriptors.add(createChildParameter(
			DiPackage.Literals.DOCUMENT_ROOT__DIAGRAM_ELEMENT,
			BpmnDiFactory.eINSTANCE.createBPMNPlane()));

	newChildDescriptors.add(createChildParameter(
			DiPackage.Literals.DOCUMENT_ROOT__DIAGRAM_ELEMENT,
			BpmnDiFactory.eINSTANCE.createBPMNShape()));

	newChildDescriptors.add(createChildParameter(
			DiPackage.Literals.DOCUMENT_ROOT__DIAGRAM,
			BpmnDiFactory.eINSTANCE.createBPMNDiagram()));

	newChildDescriptors.add(createChildParameter(
			DiPackage.Literals.DOCUMENT_ROOT__EDGE,
			BpmnDiFactory.eINSTANCE.createBPMNEdge()));

	newChildDescriptors.add(createChildParameter(
			DiPackage.Literals.DOCUMENT_ROOT__LABEL,
			BpmnDiFactory.eINSTANCE.createBPMNLabel()));

	newChildDescriptors.add(createChildParameter(
			DiPackage.Literals.DOCUMENT_ROOT__LABELED_EDGE,
			BpmnDiFactory.eINSTANCE.createBPMNEdge()));

	newChildDescriptors.add(createChildParameter(
			DiPackage.Literals.DOCUMENT_ROOT__LABELED_SHAPE,
			BpmnDiFactory.eINSTANCE.createBPMNShape()));

	newChildDescriptors.add(createChildParameter(
			DiPackage.Literals.DOCUMENT_ROOT__NODE,
			BpmnDiFactory.eINSTANCE.createBPMNLabel()));

	newChildDescriptors.add(createChildParameter(
			DiPackage.Literals.DOCUMENT_ROOT__NODE,
			BpmnDiFactory.eINSTANCE.createBPMNPlane()));

	newChildDescriptors.add(createChildParameter(
			DiPackage.Literals.DOCUMENT_ROOT__NODE,
			BpmnDiFactory.eINSTANCE.createBPMNShape()));

	newChildDescriptors.add(createChildParameter(
			DiPackage.Literals.DOCUMENT_ROOT__PLANE,
			BpmnDiFactory.eINSTANCE.createBPMNPlane()));

	newChildDescriptors.add(createChildParameter(
			DiPackage.Literals.DOCUMENT_ROOT__SHAPE,
			BpmnDiFactory.eINSTANCE.createBPMNShape()));

	newChildDescriptors.add(createChildParameter(
			DiPackage.Literals.DOCUMENT_ROOT__STYLE,
			BpmnDiFactory.eINSTANCE.createBPMNLabelStyle()));
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:73,代码来源:DocumentRootItemProvider.java

示例10: readShapeDI

import org.eclipse.bpmn2.di.BpmnDiFactory; //导入依赖的package包/类
/**
 * 处理图形元素
 * @param objectNode
 * @param parentX
 * @param parentY
 * @param shapeMap
 * @param sourceRefMap
 * @param bpmnModel
 */
private void readShapeDI(JsonNode objectNode, double parentX, double parentY, 
    Map<String, JsonNode> shapeMap, Map<String, JsonNode> sourceRefMap, Definitions bpmnModel) {
  
  if (objectNode.get(EDITOR_CHILD_SHAPES) != null) {
    for (JsonNode jsonChildNode : objectNode.get(EDITOR_CHILD_SHAPES)) {
      
      String stencilId = BpmnJsonConverterUtil.getStencilId(jsonChildNode);
      if (STENCIL_SEQUENCE_FLOW.equals(stencilId) == false) {
        
      	String elementId = BpmnJsonConverterUtil.getElementId(jsonChildNode);
   	Bounds graphicInfo=DcFactory.eINSTANCE.createBounds();
   	BPMNShape bpmnShape=BpmnDiFactory.eINSTANCE.createBPMNShape();
   	bpmnShape.setBounds(graphicInfo);
   	bpmnShape.setId(BpmnJsonConverterUtil.getFormatShapeId(elementId));
        JsonNode boundsNode = jsonChildNode.get(EDITOR_BOUNDS);
        ObjectNode upperLeftNode = (ObjectNode) boundsNode.get(EDITOR_BOUNDS_UPPER_LEFT);
        double upLeftX = upperLeftNode.get(EDITOR_BOUNDS_X).asDouble();
        double upLeftY = upperLeftNode.get(EDITOR_BOUNDS_Y).asDouble();
        //坐标修正
        if(DI_CIRCLES.contains(stencilId)){
      	  upLeftX -= REVERSION_X;
      	  upLeftY -= REVERSION_Y;
        }
        graphicInfo.setX((float)(upLeftX + parentX ));
        graphicInfo.setY((float)(upLeftY + parentY ));
        
        ObjectNode lowerRightNode = (ObjectNode) boundsNode.get(EDITOR_BOUNDS_LOWER_RIGHT);
        graphicInfo.setWidth((float)(lowerRightNode.get(EDITOR_BOUNDS_X).asDouble() - graphicInfo.getX() + parentX));
        graphicInfo.setHeight((float)(lowerRightNode.get(EDITOR_BOUNDS_Y).asDouble() - graphicInfo.getY() + parentY));
        
        String childShapeId = jsonChildNode.get(EDITOR_SHAPE_ID).asText();
        
        //bpmnShape.setBpmnElement(BpmnModelUtil.getBaseElement(bpmnModel, BpmnJsonConverterUtil.getElementId(jsonChildNode)));
        //这里注释掉的以后需要实现 bpmnModel.addGraphicInfo(BpmnJsonConverterUtil.getElementId(jsonChildNode), graphicInfo);
        bpmnModel.getDiagrams().get(0).getPlane().getPlaneElement().add(bpmnShape);
        shapeMap.put(childShapeId, jsonChildNode);
        
        ArrayNode outgoingNode = (ArrayNode) jsonChildNode.get("outgoing");
        if (outgoingNode != null && outgoingNode.size() > 0) {
          for (JsonNode outgoingChildNode : outgoingNode) {
            JsonNode resourceNode = outgoingChildNode.get(EDITOR_SHAPE_ID);
            if (resourceNode != null) {
              sourceRefMap.put(resourceNode.asText(), jsonChildNode);
            }
          }
        }
        
        readShapeDI(jsonChildNode, graphicInfo.getX(), graphicInfo.getY(), shapeMap, sourceRefMap, bpmnModel);
      }
    }
  }
}
 
开发者ID:fixteam,项目名称:fixflow,代码行数:62,代码来源:BpmnJsonConverter.java

示例11: createSubProcessDiagram

import org.eclipse.bpmn2.di.BpmnDiFactory; //导入依赖的package包/类
private void createSubProcessDiagram(BPMNPlane plane,
                                     FlowElement flowElement,
                                     BpmnDiFactory factory) {
    SubProcess sp = (SubProcess) flowElement;
    for (FlowElement subProcessFlowElement : sp.getFlowElements()) {
        if (subProcessFlowElement instanceof SubProcess) {
            createBpmnShapeForElement(factory,
                                      plane,
                                      subProcessFlowElement);
            createSubProcessDiagram(plane,
                                    subProcessFlowElement,
                                    factory);
        } else if (subProcessFlowElement instanceof FlowNode) {
            createBpmnShapeForElement(factory,
                                      plane,
                                      subProcessFlowElement);
            if (subProcessFlowElement instanceof BoundaryEvent) {
                createDockersForBoundaryEvent((BoundaryEvent) subProcessFlowElement);
            }
        } else if (subProcessFlowElement instanceof SequenceFlow) {
            createBpmnEdgeForSequenceFlow(factory,
                                          plane,
                                          (SequenceFlow) subProcessFlowElement);
        }
    }
    if (sp.getArtifacts() != null) {
        List<Association> incompleteAssociations = new ArrayList<Association>();
        for (Artifact artifact : sp.getArtifacts()) {
            //if (artifact instanceof TextAnnotation || artifact instanceof Group) {
            if (artifact instanceof Group) {
                createBpmnShapeForElement(factory,
                                          plane,
                                          artifact);
            }
            if (artifact instanceof Association) {
                Association association = (Association) artifact;
                if (association.getSourceRef() != null && association.getTargetRef() != null) {
                    createBpmnEdgeForAssociation(factory,
                                                 plane,
                                                 association);
                } else {
                    incompleteAssociations.add(association);
                }
            }
        }
        if (!incompleteAssociations.isEmpty()) {
            for (Association incompleteAssociation : incompleteAssociations) {
                sp.getArtifacts().remove(incompleteAssociation);
            }
        }
    }
}
 
开发者ID:kiegroup,项目名称:kie-wb-common,代码行数:53,代码来源:Bpmn2JsonUnmarshaller.java

示例12: createDiagram

import org.eclipse.bpmn2.di.BpmnDiFactory; //导入依赖的package包/类
private void createDiagram(Definitions def) {
    for (RootElement rootElement : def.getRootElements()) {
        if (rootElement instanceof Process) {
            Process process = (Process) rootElement;
            BpmnDiFactory factory = BpmnDiFactory.eINSTANCE;
            BPMNDiagram diagram = factory.createBPMNDiagram();
            BPMNPlane plane = factory.createBPMNPlane();
            plane.setBpmnElement(process);
            diagram.setPlane(plane);
            // first process flowNodes
            for (FlowElement flowElement : process.getFlowElements()) {
                if (flowElement instanceof FlowNode) {
                    createBpmnShapeForElement(factory,
                                              plane,
                                              flowElement);
                    if (flowElement instanceof BoundaryEvent) {
                        createDockersForBoundaryEvent((BoundaryEvent) flowElement);
                    }
                    // check if its a subprocess
                    if (flowElement instanceof SubProcess) {
                        createSubProcessDiagram(plane,
                                                flowElement,
                                                factory);
                    }
                } else if (flowElement instanceof DataObject) {
                    createBpmnShapeForElement(factory,
                                              plane,
                                              flowElement);
                } else if (flowElement instanceof SequenceFlow) {
                    createBpmnEdgeForSequenceFlow(factory,
                                                  plane,
                                                  (SequenceFlow) flowElement);
                }
            }
            // then process artifacts
            if (process.getArtifacts() != null) {
                List<Association> incompleteAssociations = new ArrayList<Association>();
                for (Artifact artifact : process.getArtifacts()) {
                    //if (artifact instanceof TextAnnotation || artifact instanceof Group) {
                    if (artifact instanceof Group) {
                        createBpmnShapeForElement(factory,
                                                  plane,
                                                  artifact);
                    }
                    if (artifact instanceof Association) {
                        Association association = (Association) artifact;
                        if (association.getSourceRef() != null && association.getTargetRef() != null) {
                            createBpmnEdgeForAssociation(factory,
                                                         plane,
                                                         association);
                        } else {
                            incompleteAssociations.add(association);
                        }
                    }
                }
                if (!incompleteAssociations.isEmpty()) {
                    for (Association incompleteAssociation : incompleteAssociations) {
                        process.getArtifacts().remove(incompleteAssociation);
                    }
                }
            }
            // finally process lanes
            if (process.getLaneSets() != null && process.getLaneSets().size() > 0) {
                for (LaneSet ls : process.getLaneSets()) {
                    for (Lane lane : ls.getLanes()) {
                        createBpmnShapeForElement(factory,
                                                  plane,
                                                  lane);
                    }
                }
            }
            def.getDiagrams().add(diagram);
        }
    }
}
 
开发者ID:kiegroup,项目名称:kie-wb-common,代码行数:76,代码来源:Bpmn2JsonUnmarshaller.java

示例13: createBpmnEdgeForSequenceFlow

import org.eclipse.bpmn2.di.BpmnDiFactory; //导入依赖的package包/类
private void createBpmnEdgeForSequenceFlow(BpmnDiFactory factory,
                                           BPMNPlane plane,
                                           SequenceFlow sequenceFlow) {
    BPMNEdge edge = factory.createBPMNEdge();
    edge.setBpmnElement(sequenceFlow);
    DcFactory dcFactory = DcFactory.eINSTANCE;
    Point point = dcFactory.createPoint();
    List<Point> dockers = _dockers.get(sequenceFlow.getId());
    if (sequenceFlow.getSourceRef() != null) {
        Bounds sourceBounds = _bounds.get(sequenceFlow.getSourceRef().getId());
        // Test for valid docker with X and Y  > -1, created by EdgeParser
        if (dockers != null && dockers.size() > 0 && dockers.get(0).getX() > -1 && dockers.get(0).getY() > -1) {
            // First docker is connection to Source
            point.setX(sourceBounds.getX() + dockers.get(0).getX());
            point.setY(sourceBounds.getY() + dockers.get(0).getY());
        } else {
            // Default is right middle of Source
            point.setX(sourceBounds.getX() + sourceBounds.getWidth());
            point.setY(sourceBounds.getY() + (sourceBounds.getHeight() / 2));
        }
    }
    edge.getWaypoint().add(point);
    for (int i = 1; i < dockers.size() - 1; i++) {
        edge.getWaypoint().add(dockers.get(i));
    }
    point = dcFactory.createPoint();
    if (sequenceFlow.getTargetRef() != null) {
        Bounds targetBounds = _bounds.get(sequenceFlow.getTargetRef().getId());
        // Test for valid docker with X and Y  > -1, created by EdgeParser
        if (dockers != null && dockers.size() > 1 && dockers.get(dockers.size() - 1).getX() > -1 && dockers.get(dockers.size() - 1).getY() > -1) {
            // Last docker is connection to Target
            point.setX(targetBounds.getX() + dockers.get(dockers.size() - 1).getX());
            point.setY(targetBounds.getY() + dockers.get(dockers.size() - 1).getY());
        } else {
            // Default is left middle of Target
            point.setX(targetBounds.getX());
            point.setY(targetBounds.getY() + (targetBounds.getHeight() / 2));
        }
    }
    edge.getWaypoint().add(point);
    plane.getPlaneElement().add(edge);
}
 
开发者ID:kiegroup,项目名称:kie-wb-common,代码行数:43,代码来源:Bpmn2JsonUnmarshaller.java

示例14: setUp

import org.eclipse.bpmn2.di.BpmnDiFactory; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @see junit.framework.TestCase#setUp()
 * @generated
 */
@Override
protected void setUp() throws Exception {
	setFixture(BpmnDiFactory.eINSTANCE.createBPMNEdge());
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:11,代码来源:BPMNEdgeTest.java

示例15: setUp

import org.eclipse.bpmn2.di.BpmnDiFactory; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @see junit.framework.TestCase#setUp()
 * @generated
 */
@Override
protected void setUp() throws Exception {
	setFixture(BpmnDiFactory.eINSTANCE.createBPMNLabelStyle());
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:11,代码来源:BPMNLabelStyleTest.java


注:本文中的org.eclipse.bpmn2.di.BpmnDiFactory类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。