Package org.jbpm.api.model

Examples of org.jbpm.api.model.ActivityCoordinates


      String currentActivity = processInstance.getProcessInstance().getActivityName();

      // get coordinates
      RepositoryService repoService = this.processEngine.getRepositoryService();
      ActivityCoordinates coords = repoService.getActivityCoordinates(
          processInstance.getProcessDefinitionId(), currentActivity
      );


      results.add(new ActiveNodeInfo(
          coords.getWidth(), coords.getHeight(),
          new DiagramNodeInfo(
              currentActivity,
              coords.getX(), coords.getY(),
              coords.getWidth(), coords.getHeight()
          )
      )
      );

    }
View Full Code Here

TOP

Related Classes of org.jbpm.api.model.ActivityCoordinates

Copyright © 2018 www.massapicom. 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.