diff --git a/org.fortiss.tooling.kernel/trunk/model/kernel.ecore b/org.fortiss.tooling.kernel/trunk/model/kernel.ecore index 8106694af254c699b7a2fa01db43d744ec0cebfb..c482dee09068f8cbe38dd585e0ac04e44e59a06a 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>