Examples of PictogramLink


Examples of org.eclipse.graphiti.mm.pictograms.PictogramLink

public class DIUtils {

  public static void updateDIShape(PictogramElement element) {

    PictogramLink link = element.getLink();
    if (link == null) {
      return;
    }

    BPMNShape bpmnShape = BusinessObjectUtil.getFirstElementOfType(element, BPMNShape.class);
View Full Code Here

Examples of org.eclipse.graphiti.mm.pictograms.PictogramLink

      List<Object> selected = Arrays.asList(sel.toArray());
      if (selected.size() == 0 || !(selected.get(0) instanceof ContainerShapeEditPart)) {
        return null;
      }

      PictogramLink link = ((ContainerShapeEditPart) selected.get(0)).getPictogramElement().getLink();
      if (link == null) {
        return null;
      }

      EList<EObject> businessObjects = link.getBusinessObjects();
      TreeObject[] children = invisibleRoot.getChildren();
      ArrayList<TreeObject> list = getSelectionFromList(businessObjects, children);
      return list.toArray();
    }
    return null;
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.