Examples of BPMNShapeImpl


Examples of org.eclipse.bpmn2.di.impl.BPMNShapeImpl

    float maxY=0;
    for (BPMNDiagram bpmnDiagram : BPMNDiagramList) {
      for (DiagramElement diagramElement : bpmnDiagram.getPlane().getPlaneElement()) {

        if (diagramElement instanceof BPMNShape) {
          BPMNShapeImpl bpmnShape = (BPMNShapeImpl) diagramElement;
          org.eclipse.emf.ecore.impl.BasicEObjectImpl sssBaseElementImpl=(org.eclipse.emf.ecore.impl.BasicEObjectImpl)bpmnShape.getBpmnElement();
         
          String idString=sssBaseElementImpl.eProxyURI().fragment();
          BaseElement dd=((DefinitionsBehavior)myWeb).getElement(idString);
         
          if (bpmnShape.getBounds().getX() + bpmnShape.getBounds().getWidth() > maxX) {
            maxX = bpmnShape.getBounds().getX() + bpmnShape.getBounds().getWidth();

          }
          if (bpmnShape.getBounds().getY() + bpmnShape.getBounds().getHeight() > maxY) {
            maxY = bpmnShape.getBounds().getY() + bpmnShape.getBounds().getHeight();

          }

          if (dd instanceof StartEvent) {
           
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.