| /******************************************************************************* |
| * Copyright (c) 2008-2011 Chair for Applied Software Engineering, |
| * Technische Universitaet Muenchen. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| ******************************************************************************/ |
| package org.eclipse.emf.ecp.common.dnd; |
| |
| import org.eclipse.emf.ecore.EClass; |
| import org.eclipse.emf.ecore.EcorePackage; |
| |
| /** |
| * Default Drag and Drop Adapter for all Model elements. |
| * |
| * @author koegel |
| */ |
| public class DefaultMEDropAdapter extends MEDropAdapter { |
| |
| /** |
| * {@inheritDoc} |
| * |
| * @see org.eclipse.emf.ecp.common.dnd.MEDropAdapter#isDropAdapterfor() |
| */ |
| @Override |
| public EClass isDropAdapterfor() { |
| return EcorePackage.eINSTANCE.getEObject(); |
| } |
| |
| } |