Examples of IDeleteContext


Examples of org.eclipse.graphiti.features.context.IDeleteContext

        Activity activity = BusinessObjectUtil.getFirstElementOfType(context.getPictogramElement(),
            Activity.class);
        new AbstractBoundaryEventOperation() {
          @Override
          protected void doWorkInternal(ContainerShape container) {
            IDeleteContext delete = new DeleteContext(container);
            getFeatureProvider().getDeleteFeature(delete).delete(delete);
          }
        }.doWork(activity, getDiagram());
        super.delete(context);
      }
View Full Code Here

Examples of org.eclipse.graphiti.features.context.IDeleteContext

  private void deleteConnections(IFeatureProvider fp, EList<Connection> connections) {
    List<Connection> con = new ArrayList<Connection>();
    con.addAll(connections);
    for (Connection connection : con) {
      IDeleteContext conDelete = new DeleteContext(connection);
      fp.getDeleteFeature(conDelete).delete(conDelete);
    }
  }
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.