Package org.eclipse.graphiti.features.context

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


      return ((IAddContext) context).getNewObject();
    } else if (context instanceof IPictogramElementContext) {
      return BusinessObjectUtil.getFirstElementOfType(
          (((IPictogramElementContext) context).getPictogramElement()), BaseElement.class);
    } else if (context instanceof IReconnectionContext) {
      IReconnectionContext rc = (IReconnectionContext)context;
      return BusinessObjectUtil.getFirstElementOfType(rc.getConnection(), BaseElement.class);
    }
    return null;
  }
View Full Code Here

TOP

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

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.