Examples of IMoveShapeFeature


Examples of org.eclipse.graphiti.features.IMoveShapeFeature

        newContext.setTargetContainer(context.getTargetContainer());
        newContext.setTargetConnection(context.getTargetConnection());
        newContext.setLocation(ga.getX(), ga.getY());
        newContext.putProperty(ACTIVITY_MOVE_PROPERTY, true);

        IMoveShapeFeature moveFeature = getFeatureProvider().getMoveShapeFeature(newContext);
        if (moveFeature.canMoveShape(newContext)) {
          moveFeature.moveShape(newContext);
        }
      }
    }.doWork(activity, getDiagram());
  }
View Full Code Here

Examples of org.eclipse.graphiti.features.IMoveShapeFeature

    for (FeatureContainer container : containers) {
      if (id!=null && !(container instanceof CustomTaskFeatureContainer))
        continue;
      Object o = container.getApplyObject(context);
      if (o != null && container.canApplyTo(o)) {
        IMoveShapeFeature feature = container.getMoveFeature(this);
        if (feature == null) {
          break;
        }
        return feature;
      }
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.