Package org.eclipse.graphiti.features.context

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


  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

Related Classes of org.eclipse.graphiti.features.context.IDeleteContext

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.