Package org.eclipse.emf.ecore.impl

Examples of org.eclipse.emf.ecore.impl.EReferenceImpl.eContainer()


        EReferenceImpl eimpl = (EReferenceImpl) bo;
        EClassifier eType = eimpl.getEType();
        if (eType instanceof AbstractNode) {
          AbstractNode target = (AbstractNode) eType;
          Activator.getLogger().debug("==== trying to zap the target: " + target);
          EObject eContainer = eimpl.eContainer();
          if (eContainer instanceof AbstractNode) {
            AbstractNode source = (AbstractNode) eContainer;
            Activator.getLogger().debug("==== trying to source: " + source + " -> target: " + target);
            source.removeConnection(target);
          }
View Full Code Here


        EReferenceImpl eimpl = (EReferenceImpl) bo;
        EClassifier eType = eimpl.getEType();
        if (eType instanceof AbstractNode) {
          AbstractNode target = (AbstractNode) eType;
          Activator.getLogger().debug("==== trying to zap the target: " + target);
          EObject eContainer = eimpl.eContainer();
          if (eContainer instanceof AbstractNode) {
            AbstractNode source = (AbstractNode) eContainer;
            Activator.getLogger().debug("==== trying to source: " + source + " -> target: " + target);
            source.removeConnection(target);
          }
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.