// 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);
}