Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/toolsmiths/profilemigration/org.eclipse.papyrus.toolsmiths.profilemigration/src/org/eclipse/papyrus/toolsmiths/profilemigration/migrators/atomic/IAddMigrator.java')
-rw-r--r--plugins/toolsmiths/profilemigration/org.eclipse.papyrus.toolsmiths.profilemigration/src/org/eclipse/papyrus/toolsmiths/profilemigration/migrators/atomic/IAddMigrator.java37
1 files changed, 37 insertions, 0 deletions
diff --git a/plugins/toolsmiths/profilemigration/org.eclipse.papyrus.toolsmiths.profilemigration/src/org/eclipse/papyrus/toolsmiths/profilemigration/migrators/atomic/IAddMigrator.java b/plugins/toolsmiths/profilemigration/org.eclipse.papyrus.toolsmiths.profilemigration/src/org/eclipse/papyrus/toolsmiths/profilemigration/migrators/atomic/IAddMigrator.java
new file mode 100644
index 00000000000..5cbccec2563
--- /dev/null
+++ b/plugins/toolsmiths/profilemigration/org.eclipse.papyrus.toolsmiths.profilemigration/src/org/eclipse/papyrus/toolsmiths/profilemigration/migrators/atomic/IAddMigrator.java
@@ -0,0 +1,37 @@
+/*****************************************************************************
+ * Copyright (c) 2017 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:
+ * Pauline DEVILLE (CEA LIST) pauline.deville@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.toolsmiths.profilemigration.migrators.atomic;
+
+import org.eclipse.uml2.uml.Element;
+
+/**
+ * This is a migrator for the action of adding an element to a container
+ */
+public interface IAddMigrator extends IAtomicMigrator {
+
+ /**
+ * Get the added element
+ *
+ * @return the added element
+ */
+ public Element getAddedElement();
+
+ /**
+ * Get the added element container
+ *
+ * @return the added element container
+ */
+ public Element getAddedElementContainer();
+
+}

Back to the top