From f6344d0c61e2c85fe178cda0c59d817993603af4 Mon Sep 17 00:00:00 2001 From: Georgetta Igna <igna@fortiss.org> Date: Thu, 21 May 2015 16:38:43 +0000 Subject: [PATCH] canPaste was added into ISpeciallyCopyiable refs 2337 --- org.fortiss.tooling.kernel/trunk/model/kernel.ecore | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/org.fortiss.tooling.kernel/trunk/model/kernel.ecore b/org.fortiss.tooling.kernel/trunk/model/kernel.ecore index 8106694af..c482dee09 100644 --- a/org.fortiss.tooling.kernel/trunk/model/kernel.ecore +++ b/org.fortiss.tooling.kernel/trunk/model/kernel.ecore @@ -111,5 +111,12 @@ </eGenericType> </eParameters> </eOperations> + <eOperations name="canPaste" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="Hook to forbid pasting elements which need a special treatement (e.g, pasting states inside other states)"/> + </eAnnotations> + <eParameters name="editedObject" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject"/> + <eParameters name="target" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject"/> + </eOperations> </eClassifiers> </ecore:EPackage> -- GitLab