Package org.eclipse.gef.editparts

Examples of org.eclipse.gef.editparts.AbstractEditPart


          // select the node
          answer = (AbstractNode)Activator.getDiagramEditor().getFeatureProvider().getBusinessObjectForPictogramElement(element);
        }
      }
    } else if (input instanceof AbstractEditPart) {
      AbstractEditPart editPart = (AbstractEditPart) input;
      Object model = editPart.getModel();
      answer = toAbstractNode(model);
    } else if (input instanceof ContainerShape) {
      ContainerShape shape = (ContainerShape) input;
      answer = (AbstractNode)Activator.getDiagramEditor().getFeatureProvider().getBusinessObjectForPictogramElement(shape);
    }
View Full Code Here

TOP

Related Classes of org.eclipse.gef.editparts.AbstractEditPart

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.