Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/infra/emf/org.eclipse.papyrus.infra.emf.embeddededitor/src/org/eclipse/papyrus/infra/emf/embeddededitor/editor/actions/MoDiscoPasteAction.java')
-rw-r--r--plugins/infra/emf/org.eclipse.papyrus.infra.emf.embeddededitor/src/org/eclipse/papyrus/infra/emf/embeddededitor/editor/actions/MoDiscoPasteAction.java52
1 files changed, 0 insertions, 52 deletions
diff --git a/plugins/infra/emf/org.eclipse.papyrus.infra.emf.embeddededitor/src/org/eclipse/papyrus/infra/emf/embeddededitor/editor/actions/MoDiscoPasteAction.java b/plugins/infra/emf/org.eclipse.papyrus.infra.emf.embeddededitor/src/org/eclipse/papyrus/infra/emf/embeddededitor/editor/actions/MoDiscoPasteAction.java
deleted file mode 100644
index 69ab344b53d..00000000000
--- a/plugins/infra/emf/org.eclipse.papyrus.infra.emf.embeddededitor/src/org/eclipse/papyrus/infra/emf/embeddededitor/editor/actions/MoDiscoPasteAction.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.embeddededitor.editor.actions;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.emf.edit.ui.action.PasteAction;
-import org.eclipse.papyrus.infra.emf.embeddededitor.util.ActionUtil;
-
-/**
- * An adapter for the EMF "Paste" Action, compatible with the
- * MoDisco customizable content provider.
- *
- * @author Camille Letavernier
- */
-public class MoDiscoPasteAction extends PasteAction {
-
- /**
- * Constructor.
- */
- public MoDiscoPasteAction() {
- }
-
- /**
- *
- * Constructor.
- *
- * @param domain
- * The editing domain on which the command will be called
- */
- public MoDiscoPasteAction(EditingDomain domain) {
- super(domain);
- }
-
- @Override
- public Command createCommand(Collection<?> selection) {
- Collection<?> newSelection = ActionUtil.getAdaptedSelection(selection);
- return super.createCommand(newSelection);
- }
-
-}

Back to the top