binary files changed
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/.settings/org.eclipse.core.resources.prefs b/org.eclipse.emf.refactor.refactorings.uml24.henshin/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..fa36405 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,5 @@ +eclipse.preferences.version=1 +encoding//transformation/rename_attribute_exe.henshin=UTF-8 +encoding//transformation/rename_attribute_exe.henshin_diagram=UTF-8 +encoding//transformation/rename_attribute_final.henshin_diagram=UTF-8 +encoding//transformation/rename_attribute_initial.henshin_diagram=UTF-8
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/META-INF/MANIFEST.MF b/org.eclipse.emf.refactor.refactorings.uml24.henshin/META-INF/MANIFEST.MF index 3da71fe..7880016 100644 --- a/org.eclipse.emf.refactor.refactorings.uml24.henshin/META-INF/MANIFEST.MF +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/META-INF/MANIFEST.MF
@@ -1,10 +1,24 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: RefactoringsUML24Henshin -Bundle-SymbolicName: org.eclipse.emf.refactor.refactorings.uml24.henshin;singleton:=true -Bundle-Version: 0.7.0 -Bundle-Activator: org.eclipse.emf.refactor.refactorings.uml24.henshin.Activator -Require-Bundle: org.eclipse.ui, - org.eclipse.core.runtime -Bundle-ActivationPolicy: lazy -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Manifest-Version: 1.0 +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + org.eclipse.core.expressions, + org.eclipse.emf.ecore, + org.eclipse.emf.ecore.change, + org.eclipse.ltk.core.refactoring, + org.eclipse.ltk.ui.refactoring, + org.eclipse.emf.refactor.refactoring, + org.eclipse.emf.refactor.refactoring.runtime, + org.eclipse.emf.refactor.refactoring.henshin, + org.junit;bundle-version="4.8.1", + org.eclipse.uml2.uml, + org.eclipse.emf.henshin.model;bundle-version="0.9.4" +Bundle-ActivationPolicy: lazy +Bundle-Version: 0.7.0 +Bundle-Name: RefactoringsUML24Henshin +Bundle-ManifestVersion: 2 +Bundle-Activator: org.eclipse.emf.refactor.refactorings.uml24.henshin. + Activator +Bundle-SymbolicName: org.eclipse.emf.refactor.refactorings.uml24.hensh + in;singleton:=true +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringController$1.class b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringController$1.class new file mode 100644 index 0000000..31daeb6 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringController$1.class Binary files differ
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringController$InternalRefactoringProcessor.class b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringController$InternalRefactoringProcessor.class new file mode 100644 index 0000000..9fd97ed --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringController$InternalRefactoringProcessor.class Binary files differ
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringController.class b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringController.class new file mode 100644 index 0000000..06a0320 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringController.class Binary files differ
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringDataManagement.class b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringDataManagement.class new file mode 100644 index 0000000..82b11f1 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringDataManagement.class Binary files differ
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringGuiHandler.class b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringGuiHandler.class new file mode 100644 index 0000000..33a7499 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringGuiHandler.class Binary files differ
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringInformation.class b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringInformation.class new file mode 100644 index 0000000..78294fc --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringInformation.class Binary files differ
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringTest$1.class b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringTest$1.class new file mode 100644 index 0000000..85fa913 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringTest$1.class Binary files differ
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringTest.class b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringTest.class new file mode 100644 index 0000000..5af133f --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringTest.class Binary files differ
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringWizard.class b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringWizard.class new file mode 100644 index 0000000..99a50fd --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringWizard.class Binary files differ
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringWizardPage.class b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringWizardPage.class new file mode 100644 index 0000000..50328dc --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringWizardPage.class Binary files differ
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/build.properties b/org.eclipse.emf.refactor.refactorings.uml24.henshin/build.properties index 34d2e4d..e9863e2 100644 --- a/org.eclipse.emf.refactor.refactorings.uml24.henshin/build.properties +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/build.properties
@@ -1,4 +1,5 @@ source.. = src/ output.. = bin/ bin.includes = META-INF/,\ - . + .,\ + plugin.xml
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/plugin.xml b/org.eclipse.emf.refactor.refactorings.uml24.henshin/plugin.xml new file mode 100644 index 0000000..3c67172 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/plugin.xml
@@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<plugin> +<extension point="org.eclipse.emf.refactor.refactorings"> +<refactoring controller="org.eclipse.emf.refactor.refactorings.uml24.renameattribute.RefactoringController" gui="org.eclipse.emf.refactor.refactorings.uml24.renameattribute.RefactoringGuiHandler" id="org.eclipse.emf.refactor.refactorings.uml24.RenameAttribute" menulabel="Rename Attribute" namespaceUri="http://www.eclipse.org/uml2/4.0.0/UML"/> +</extension> +</plugin>
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringController.java b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringController.java new file mode 100644 index 0000000..883efd1 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringController.java
@@ -0,0 +1,173 @@ +/** + * <copyright> + * </copyright> + * + * $Id: RefactoringControllerHenshin.javajet,v 1.2 2012/11/26 15:39:38 tarendt Exp $ + */ +package org.eclipse.emf.refactor.refactorings.uml24.renameattribute; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.refactor.refactoring.core.Refactoring; +import org.eclipse.emf.refactor.refactoring.henshin.interfaces.IHenshinController; +import org.eclipse.emf.refactor.refactoring.henshin.interfaces.IHenshinDataManagement; +import org.eclipse.emf.refactor.refactoring.henshin.managers.HenshinRuntimeManager; +import org.eclipse.emf.refactor.refactoring.henshin.runtime.HenshinLtkEmfRefactoringProcessorAdapter; +import org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor; + +/** + * Concrete EMF model refactoring class implementing IHenshinController. + * @generated + */ +public final class RefactoringController implements IHenshinController{ + + /** + * Refactoring supported by the controller. + * @generated + */ + private Refactoring parent; + + /** + * DataManagement object of the model refactoring. + * @generated + */ + private RefactoringDataManagement dataManagement = + new RefactoringDataManagement(); + + /** + * Invocation context of the model refactoring. + * @generated + */ + private List<EObject> selection = new ArrayList<EObject>(); + + /** + * HenshinRuntimeManager that executes Henshin transformations using + * the Henshin interpreter. + * @generated + */ + private HenshinRuntimeManager henshinRuntimeManager = + new HenshinRuntimeManager(new ArrayList<EObject>(0), dataManagement); + + /** + * Ltk RefactoringProcessor of the model refactoring. + * @generated + */ + private InternalRefactoringProcessor refactoringProcessor = null; + + /** + * Gets the Refactoring supported by the controller. + * @return Refactoring supported by the controller. + * @see org.eclipse.emf.refactor.refactoring.interfaces.IController#getParent() + * @generated + */ + @Override + public Refactoring getParent() { + return this.parent; + } + + /** + * Sets the Refactoring supported by the controller. + * @param refactoring Refactoring supported by the controller. + * @see org.eclipse.emf.refactor.refactoring.interfaces.IController# + * setParent(org.eclipse.emf.refactor.refactoring.core.Refactoring) + * @generated + */ + @Override + public void setParent(Refactoring refactoring) { + this.parent = refactoring; + } + + /** + * Returns the DataManagement object of the model refactoring. + * @return DataManagement object of the model refactoring. + * @see org.eclipse.emf.refactor.refactoring.henshin.interfaces.IHenshinController# + * getDataManagementObject() + * @generated + */ + @Override + public IHenshinDataManagement getDataManagementObject() { + return this.dataManagement; + } + + /** + * Gets a HenshinRuntimeManager that executes Henshin transformations using + * the Henshin interpreter. + * @return HenshinRuntimeManager that executes Henshin transformations using + * the Henshin interpreter. + * @see org.eclipse.emf.refactor.refactoring.henshin.interfaces.IHenshinController# + * getHenshinRuntimeManager() + * @generated + */ + @Override + public HenshinRuntimeManager getHenshinRuntimeManager() { + return this.henshinRuntimeManager; + } + + /** + * Returns the ltk RefactoringProcessor of the model refactoring. + * @return Ltk RefactoringProcessor of the model refactoring. + * @see org.eclipse.emf.refactor.refactoring.interfaces.IController# + * getLtkRefactoringProcessor() + * @generated + */ + @Override + public RefactoringProcessor getLtkRefactoringProcessor() { + return this.refactoringProcessor; + } + + /** + * Sets the selected EObject (invocation context of the model refactoring). + * @param selection Invocation context of the model refactoring. + * @see org.eclipse.emf.refactor.refactoring.interfaces.IController# + * setSelection(java.util.List) + * @generated + */ + @Override + public void setSelection(List<EObject> selection) { + this.selection = selection; + this.henshinRuntimeManager = new HenshinRuntimeManager(this.selection, this.dataManagement); + this.refactoringProcessor = + new InternalRefactoringProcessor(this.selection); + } + + /** + * Returns a Runnable object that executes the model refactoring. + * @return Runnable object that executes the model refactoring. + * @generated + */ + private Runnable applyRefactoring() { + return new Runnable() { + /** + * @see java.lang.Runnable#run() + * @generated + */ + @Override + public void run() { + henshinRuntimeManager = new HenshinRuntimeManager(selection, dataManagement); + henshinRuntimeManager.run(); + } + }; + } + + /** + * Internal class for providing an instance of a LTK RefactoringProcessor + * used for EMF model refactorings using Henshin transformations. + * @generated + */ + public final class InternalRefactoringProcessor extends + HenshinLtkEmfRefactoringProcessorAdapter { + + /** + * Constructor using the invocation context of the model refactoring. + * @param selection Invocation context of the model refactoring. + * @generated + */ + private InternalRefactoringProcessor(List<EObject> selection){ + super(getParent(), selection, applyRefactoring()); + } + + } + +} \ No newline at end of file
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringDataManagement.java b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringDataManagement.java new file mode 100644 index 0000000..15f0ce8 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringDataManagement.java
@@ -0,0 +1,129 @@ +/** + * <copyright> + * </copyright> + * + * $Id: RefactoringDataManagementHenshin.javajet,v 1.2 2012/11/26 15:39:38 tarendt Exp $ + */ +package org.eclipse.emf.refactor.refactorings.uml24.renameattribute; + +import java.util.List; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.refactor.refactoring.core.Port; +import org.eclipse.emf.refactor.refactoring.henshin.interfaces.IHenshinDataManagement; +import org.eclipse.emf.refactor.refactoring.henshin.interfaces.IHenshinInformation; +import org.eclipse.emf.refactor.refactoring.runtime.DataManagementAdapter; + +/** + * Class for specific data concerning a model refactoring. + * @generated + */ +public class RefactoringDataManagement extends DataManagementAdapter + implements IHenshinDataManagement { + + private final String SELECTEDEOBJECT = "selectedEObject"; + + private final String INITIALFILENAME = "rename_attribute_initial"; + private final String FINALFILENAME = "rename_attribute_final"; + private final String CHANGEFILENAME = "rename_attribute_exe"; + + /** + * HenshinInformation object used for checking the initial + * conditions of the EMF model refactoring. + * @generated + */ + private RefactoringInformation initialConditionsInformation = + new RefactoringInformation(this); + + /** + * HenshinInformation object used for checking the final + * conditions of the EMF model refactoring. + * @generated + */ + private RefactoringInformation finalConditionsInformation = + new RefactoringInformation(this); + + /** + * HenshinInformation object used for executing the EMF + * model refactoring. + * @generated + */ + private RefactoringInformation createChangeInformation = + new RefactoringInformation(this); + + /** + * Default constructor. + * @generated + */ + public RefactoringDataManagement() { + this.addPorts(); + this.addInformation(); + } + + /** + * Adds the ports to the data management used for parameter passing. + * @generated + */ + private void addPorts(){ + this.inPorts.add + (new Port<org.eclipse.uml2.uml.Property> + (SELECTEDEOBJECT, org.eclipse.uml2.uml.Property.class)); + this.inPorts.add + (new Port<String> + ("newName", String.class, "unspecified")); + } + + /** + * Adds the Henshin informations to the data management. + * @generated + */ + private void addInformation() { + this.initialConditionsInformation.setTransformationFileName(INITIALFILENAME); + this.finalConditionsInformation.setTransformationFileName(FINALFILENAME); + this.createChangeInformation.setTransformationFileName(CHANGEFILENAME); + } + + /** + * @see org.eclipse.emf.refactor.refactoring.henshin.interfaces.IHenshinDataManagement# + * getCreateChangeHenshinInformation() + * @generated + */ + @Override + public IHenshinInformation getCreateChangeHenshinInformation() { + return this.createChangeInformation; + } + + /** + * @see org.eclipse.emf.refactor.refactoring.henshin.interfaces.IHenshinDataManagement# + * getFinalConditionsHenshinInformation() + * @generated + */ + @Override + public IHenshinInformation getFinalConditionsHenshinInformation() { + return this.finalConditionsInformation; + } + + /** + * @see org.eclipse.emf.refactor.refactoring.henshin.interfaces.IHenshinDataManagement# + * getInitialConditionsHenshinInformation() + * @generated + */ + @Override + public IHenshinInformation getInitialConditionsHenshinInformation() { + return this.initialConditionsInformation; + } + + /** + * @see org.eclipse.emf.refactor.refactoring.interfaces.IDataManagement# + * preselect(java.util.List) + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void preselect(List<EObject> selection) { + getInPortByName(SELECTEDEOBJECT). + setValue((org.eclipse.uml2.uml.Property) selection.get(0)); + } + +} + \ No newline at end of file
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringGuiHandler.java b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringGuiHandler.java new file mode 100644 index 0000000..4e8db9f --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringGuiHandler.java
@@ -0,0 +1,74 @@ +/** + * <copyright> + * </copyright> + * + * $Id: RefactoringGuiHandlerHenshin.javajet,v 1.2 2012/11/26 15:39:38 tarendt Exp $ + */ +package org.eclipse.emf.refactor.refactorings.uml24.renameattribute; + +import java.util.List; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.refactor.refactoring.core.Refactoring; +import org.eclipse.emf.refactor.refactoring.interfaces.IGuiHandler; +import org.eclipse.ltk.ui.refactoring.RefactoringWizard; + +/** + * Class used for specifying gui topics of a specific model refactoring. + * @generated + */ +public class RefactoringGuiHandler implements IGuiHandler { + + /** + * Refactoring supported by the GuiHandler. + * @generated + */ + private Refactoring parent; + + /** + * @see org.eclipse.emf.refactor.refactoring.interfaces.IGuiHandler#getParent() + * @generated + */ + @Override + public Refactoring getParent() { + return parent; + } + + /** + * @see org.eclipse.emf.refactor.refactoring.interfaces.IGuiHandler# + * setParent(org.eclipse.emf.refactor.refactoring.core.Refactoring) + * @generated + */ + @Override + public void setParent(Refactoring refactoring) { + this.parent = refactoring; + } + + /** + * @see org.eclipse.emf.refactor.refactoring.interfaces.IGuiHandler#show() + * @generated + */ + @Override + public RefactoringWizard show() { + return new org.eclipse.emf.refactor.refactorings.uml24.renameattribute.RefactoringWizard + ((RefactoringController) this.parent.getController()); + } + + /** + * @see org.eclipse.emf.refactor.refactoring.interfaces.IGuiHandler# + * showInMenu(java.util.List) + * @generated + */ + @Override + public boolean showInMenu(List<EObject> selection) { + for(EObject o:selection){ + if(null != o){ + if (o instanceof org.eclipse.uml2.uml.Property) { + return true; + } + } + } + return false; + } + +} + \ No newline at end of file
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringInformation.java b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringInformation.java new file mode 100644 index 0000000..68de7fe --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringInformation.java
@@ -0,0 +1,79 @@ +/** + * <copyright> + * </copyright> + * + * $Id: RefactoringInformationHenshin.javajet,v 1.2 2012/11/26 15:39:38 tarendt Exp $ + */ + package org.eclipse.emf.refactor.refactorings.uml24.renameattribute; + +import java.io.File; +import org.eclipse.core.runtime.FileLocator; +import org.eclipse.core.runtime.Platform; +import org.eclipse.emf.refactor.refactoring.henshin.interfaces.IHenshinDataManagement; +import org.eclipse.emf.refactor.refactoring.henshin.runtime.HenshinInformationAdapter; +import org.osgi.framework.Bundle; + +import org.eclipse.emf.refactor.refactorings.uml24.henshin.Activator; + +/** + * Class used for specifying a Henshin file that shall be used by + * a specific EMF model refactoring. + * @generated + */ +public class RefactoringInformation extends HenshinInformationAdapter { + + /** + * HenshinDataManagement object of the specific EMF model refactoring. + * @generated + */ + private RefactoringDataManagement dataManagement; + + /** + * Default constructor using a RefactoringDataManagement object. + * @param dataManagement HenshinDataManagement object of the specific + * EMF model refactoring. + * @generated + */ + public RefactoringInformation + (RefactoringDataManagement dataManagement) { + super(); + this.dataManagement = dataManagement; + } + + /** + * @see org.eclipse.emf.refactor.refactoring.henshin.interfaces.IHenshinInformation# + * getHenshinDataManagement() + * @generated + */ + @Override + public IHenshinDataManagement getHenshinDataManagement() { + return this.dataManagement; + } + + /** + * @see org.eclipse.emf.refactor.refactoring.henshin.runtime. + * HenshinInformationAdapter#getTransformationFileName() + * @generated + */ + @Override + public String getTransformationFileName() { + String emtPath = ""; + final Bundle bundle = Platform.getBundle(Activator.PLUGIN_ID); + try { + if (bundle != null) { + emtPath = FileLocator.toFileURL + (bundle.getEntry("transformation")).getFile(); + emtPath += this.transformationFileName; + } else { + emtPath = new File(".").getCanonicalPath() + + "\\transformation\\" + + this.transformationFileName; + } + } catch (Exception e) { + e.printStackTrace(); + } + System.out.println(emtPath); + return emtPath; + } + +} \ No newline at end of file
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringTest.java b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringTest.java new file mode 100644 index 0000000..2a62718 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringTest.java
@@ -0,0 +1,103 @@ +/** + * <copyright> + * </copyright> + * + * $Id: RefactoringTestHenshin.javajet,v 1.3 2012/11/28 15:30:01 tarendt Exp $ + */ + +package org.eclipse.emf.refactor.refactorings.uml24.renameattribute; + +import java.io.File; +import java.io.FilenameFilter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl; +import org.eclipse.emf.henshin.model.HenshinPackage; +import org.eclipse.emf.refactor.refactoring.core.Refactoring; +import org.eclipse.emf.refactor.refactoring.runtime.test.JUnitTestCaseAdapter; + +// import org.eclipse.uml2.uml.umlPackage; + +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.Parameterized; +import org.junit.runners.Parameterized.Parameters; + +/** + * Class used for running individual JUnit test cases + * of the specific model refactoring. + * @generated + */ +@RunWith(value = Parameterized.class) +public class RefactoringTest extends JUnitTestCaseAdapter { + + /** + * Number of test cases. + * @generated + */ + private String number; + + /** + * Constructor implementation. + * @param number Number of test cases. + * @generated + */ + public RefactoringTest(String number) throws IOException { + super("org.eclipse.emf.refactor.refactorings.uml24.RenameAttribute", + "uml", + new File(".").getCanonicalPath(), + new Refactoring(null, "", "http://www.eclipse.org/uml2/4.0.0/UML", new RefactoringGuiHandler(), new RefactoringController())); + // register(umlPackage.eINSTANCE); + register(HenshinPackage.eINSTANCE); + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap( ).put("henshin", new XMIResourceFactoryImpl()); + this.number = number; + } + + @Parameters + public static Collection<Object[]> data() { + List<String> testNumbers = getTestNumbers(); + Object[][] data = new Object[testNumbers.size()][1]; + for (int i = 0; i < testNumbers.size(); i++) { + data[i][0] = testNumbers.get(i); + } + return Arrays.asList(data); + } + + private static List<String> getTestNumbers() { + List<String> numbers = new ArrayList<String>(); + try { + String pathPrefix = new File(".").getCanonicalPath() + "/tests/" + "org.eclipse.emf.refactor.refactorings.uml24.RenameAttribute"; + File testCaseDir = new File(pathPrefix,"/"); + FilenameFilter filter = new FilenameFilter() { + public boolean accept(File dir, String name) { + return name.startsWith("test_"); + } + }; + String[] children = testCaseDir.list(filter); + if (children != null) { + for (String child : children) { + numbers.add( + child.substring( + child.indexOf('_') + 1)); + } + } + } catch (IOException e) { + e.printStackTrace(); + } + return numbers; + } + + /** + * Runs the test. + */ + @Test + public void test(){ + System.out.println("running test test_" + number); + executeTestCase(number); + } +} \ No newline at end of file
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringWizard.java b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringWizard.java new file mode 100644 index 0000000..a8c3ae2 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringWizard.java
@@ -0,0 +1,39 @@ +/** + * <copyright> + * </copyright> + * + * $Id: RefactoringWizardHenshin.javajet,v 1.2 2012/11/26 15:39:38 tarendt Exp $ + */ +package org.eclipse.emf.refactor.refactorings.uml24.renameattribute; + +import org.eclipse.emf.refactor.refactoring.interfaces.IController; +import org.eclipse.emf.refactor.refactoring.runtime.ltk.ui.AbstractRefactoringWizard; + +/** + * Class used for providing an implementation of an LTK + * RefactoringWizard in EMF Refactor. + * @generated + */ +public class RefactoringWizard extends AbstractRefactoringWizard { + + /** + * Default constructor implementation. + * @param controller Controller of the EMF model refactoring. + * @generated + */ + public RefactoringWizard(IController controller) { + super(controller); + } + + /** + * @see org.eclipse.ltk.ui.refactoring.RefactoringWizard# + * addUserInputPages() + * @generated + */ + @Override + protected void addUserInputPages() { + addPage(new RefactoringWizardPage + (controller.getParent().getName(), (RefactoringController)controller)); + } + +} \ No newline at end of file
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringWizardPage.java b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringWizardPage.java new file mode 100644 index 0000000..2840946 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/renameattribute/RefactoringWizardPage.java
@@ -0,0 +1,115 @@ +/** + * <copyright> + * </copyright> + * + * $Id: RefactoringWizardPageHenshin.javajet,v 1.2 2012/11/26 15:39:38 tarendt Exp $ + */ + package org.eclipse.emf.refactor.refactorings.uml24.renameattribute; + +import org.eclipse.ltk.ui.refactoring.UserInputWizardPage; +import org.eclipse.swt.SWT; +import org.eclipse.swt.layout.GridData; +import org.eclipse.swt.layout.GridLayout; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Event; +import org.eclipse.swt.widgets.Label; +import org.eclipse.swt.widgets.Listener; +import org.eclipse.swt.widgets.Text; + +/** + * Class for setting model refactoring specific parameters + * by the user. + * @generated + */ +public class RefactoringWizardPage extends + UserInputWizardPage implements Listener { + + /** + * Controller of the EMF model refactoring. + * @generated + */ + private final RefactoringController controller; + + /** + * Label for each parameter. + * @generated + */ + private Label newNameLabel; + + /** + * TextField for each parameter. + * @generated + */ + private Text newNameWidget; + + /** + * Default constructor using a name and the controller of the + * EMF model refactoring. + * @param name Name of the WizardPage. + * @param controller Controller of the EMF model refactoring. + * @generated + */ + public RefactoringWizardPage + (String name, RefactoringController controller) { + super(name); + this.controller = controller; + } + + /** + * @see org.eclipse.swt.widgets.Listener# + * handleEvent(org.eclipse.swt.widgets.Event) + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void handleEvent(Event event) { + getWizard().getContainer().updateButtons(); + + if (newNameWidget != null) { + String newName = newNameWidget.getText(); + if (!newName.isEmpty()){ + ((RefactoringDataManagement) + this.controller.getDataManagementObject()). + getInPortByName("newName"). + setValue(newName); + } else { + ((RefactoringDataManagement) + this.controller.getDataManagementObject()). + getInPortByName("newName"). + setValue("unspecified"); + } + } + + } + + /** + * @see org.eclipse.jface.dialogs.IDialogPage# + * createControl(org.eclipse.swt.widgets.Composite) + * @generated + */ + @Override + public void createControl(Composite parent) { + Composite composite = new Composite(parent, SWT.NONE); + GridLayout gl = new GridLayout(); + gl.numColumns = 2; + GridData gd = new GridData(GridData.FILL_HORIZONTAL); + composite.setLayout(gl); + + + newNameLabel = new Label(composite, SWT.NONE); + newNameLabel.setText("New name of the attribute: "); + newNameLabel.setEnabled(true); + + newNameWidget = new Text(composite, SWT.BORDER); + newNameWidget.setToolTipText + ("value of variable 'newName'"); + newNameWidget.setEnabled(true); + newNameWidget.setLayoutData(gd); + newNameWidget.addListener(SWT.Modify, this); + + + setControl(composite); + } + +} + \ No newline at end of file
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/tests/org.eclipse.emf.refactor.refactorings.uml24.RenameAttribute/test_001/config.xml b/org.eclipse.emf.refactor.refactorings.uml24.henshin/tests/org.eclipse.emf.refactor.refactorings.uml24.RenameAttribute/test_001/config.xml new file mode 100644 index 0000000..602659e --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/tests/org.eclipse.emf.refactor.refactorings.uml24.RenameAttribute/test_001/config.xml
@@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<config> + + <param> + <name>newName</name> + <value>enter value here</value> + </param> + +</config> \ No newline at end of file
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/tests/org.eclipse.emf.refactor.refactorings.uml24.RenameAttribute/test_002/config.xml b/org.eclipse.emf.refactor.refactorings.uml24.henshin/tests/org.eclipse.emf.refactor.refactorings.uml24.RenameAttribute/test_002/config.xml new file mode 100644 index 0000000..602659e --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/tests/org.eclipse.emf.refactor.refactorings.uml24.RenameAttribute/test_002/config.xml
@@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<config> + + <param> + <name>newName</name> + <value>enter value here</value> + </param> + +</config> \ No newline at end of file
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/tests/org.eclipse.emf.refactor.refactorings.uml24.RenameAttribute/test_003/config.xml b/org.eclipse.emf.refactor.refactorings.uml24.henshin/tests/org.eclipse.emf.refactor.refactorings.uml24.RenameAttribute/test_003/config.xml new file mode 100644 index 0000000..602659e --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/tests/org.eclipse.emf.refactor.refactorings.uml24.RenameAttribute/test_003/config.xml
@@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<config> + + <param> + <name>newName</name> + <value>enter value here</value> + </param> + +</config> \ No newline at end of file
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/transformation/rename_attribute_exe.henshin b/org.eclipse.emf.refactor.refactorings.uml24.henshin/transformation/rename_attribute_exe.henshin new file mode 100644 index 0000000..a64576a --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/transformation/rename_attribute_exe.henshin
@@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<henshin:Module xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:henshin="http://www.eclipse.org/emf/2011/Henshin" xmi:id="_MU_TIFW2EeK0V4B2JYxJUg"> + <imports href="http://www.eclipse.org/uml2/4.0.0/UML#/"/> + <units xsi:type="henshin:Rule" xmi:id="_U4p9UFW2EeK0V4B2JYxJUg" name="mainUnit"> + <parameters xmi:id="_XrClYFW2EeK0V4B2JYxJUg" name="selectedEObject"/> + <parameters xmi:id="_XrDMcFW2EeK0V4B2JYxJUg" name="newName"/> + <lhs xmi:id="_U4wD8FW2EeK0V4B2JYxJUg" name="Lhs"> + <nodes xmi:id="_kmehEFW2EeK0V4B2JYxJUg" name="selectedEObject"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Property"/> + </nodes> + </lhs> + <rhs xmi:id="_U4wD8VW2EeK0V4B2JYxJUg" name="Rhs"> + <nodes xmi:id="_kmhkYFW2EeK0V4B2JYxJUg" name="selectedEObject"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Property"/> + <attributes xmi:id="_osxoEFW2EeK0V4B2JYxJUg" value="newName"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement/name"/> + </attributes> + </nodes> + </rhs> + <mappings xmi:id="_kmhkYVW2EeK0V4B2JYxJUg" origin="_kmehEFW2EeK0V4B2JYxJUg" image="_kmhkYFW2EeK0V4B2JYxJUg"/> + </units> +</henshin:Module>
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/transformation/rename_attribute_exe.henshin_diagram b/org.eclipse.emf.refactor.refactorings.uml24.henshin/transformation/rename_attribute_exe.henshin_diagram new file mode 100644 index 0000000..366c2b0 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/transformation/rename_attribute_exe.henshin_diagram
@@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:henshin="http://www.eclipse.org/emf/2011/Henshin" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmi:id="_hTH58FW2EeK0V4B2JYxJUg" type="Henshin" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_hW3xgFW2EeK0V4B2JYxJUg" type="2001" fontName="Segoe UI" italic="true" fillColor="16114135" lineColor="0"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kmhkYlW2EeK0V4B2JYxJUg" source="defaultAction"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_kmhkY1W2EeK0V4B2JYxJUg" key="value" value="preserve"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_hW3xglW2EeK0V4B2JYxJUg" type="5001"/> + <children xmi:type="notation:DecorationNode" xmi:id="_hW3xg1W2EeK0V4B2JYxJUg" type="7001"> + <children xmi:type="notation:Shape" xmi:id="_kmjZkFW2EeK0V4B2JYxJUg" type="3001" fontName="Segoe UI"> + <children xmi:type="notation:DecorationNode" xmi:id="_kmkAoFW2EeK0V4B2JYxJUg" type="5002"/> + <children xmi:type="notation:DecorationNode" xmi:id="_kmkAoVW2EeK0V4B2JYxJUg" type="5003"/> + <children xmi:type="notation:DecorationNode" xmi:id="_kmkAolW2EeK0V4B2JYxJUg" type="7002"> + <styles xmi:type="notation:SortingStyle" xmi:id="_kmkAo1W2EeK0V4B2JYxJUg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_kmkApFW2EeK0V4B2JYxJUg"/> + </children> + <element xmi:type="henshin:Node" href="rename_attribute_exe.henshin#_kmehEFW2EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kmjZkVW2EeK0V4B2JYxJUg" x="65" y="39"/> + </children> + </children> + <element xmi:type="henshin:Rule" href="rename_attribute_exe.henshin#_U4p9UFW2EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hW3xgVW2EeK0V4B2JYxJUg" x="21" y="41" width="338" height="201"/> + </children> + <styles xmi:type="notation:DiagramStyle" xmi:id="_hTH58VW2EeK0V4B2JYxJUg"/> + <element xmi:type="henshin:Module" href="rename_attribute_exe.henshin#_MU_TIFW2EeK0V4B2JYxJUg"/> +</notation:Diagram>
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/transformation/rename_attribute_final.henshin b/org.eclipse.emf.refactor.refactorings.uml24.henshin/transformation/rename_attribute_final.henshin new file mode 100644 index 0000000..b85efe3 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/transformation/rename_attribute_final.henshin
@@ -0,0 +1,129 @@ +<?xml version="1.0" encoding="UTF-8"?> +<henshin:Module xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:henshin="http://www.eclipse.org/emf/2011/Henshin" xmi:id="_MU_TIFW2EeK0V4B2JYxJUg"> + <imports href="http://www.eclipse.org/uml2/4.0.0/UML#/"/> + <units xsi:type="henshin:Rule" xmi:id="_U4p9UFW2EeK0V4B2JYxJUg" name="same_name" description="The selected attribute is already named as specified!"> + <parameters xmi:id="_XrClYFW2EeK0V4B2JYxJUg" name="selectedEObject"/> + <parameters xmi:id="_XrDMcFW2EeK0V4B2JYxJUg" name="newName"/> + <lhs xmi:id="_U4wD8FW2EeK0V4B2JYxJUg" name="Lhs"> + <nodes xmi:id="_kmehEFW2EeK0V4B2JYxJUg" name="selectedEObject" description=""> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Property"/> + <attributes xmi:id="_Hm0zgFW5EeK0V4B2JYxJUg" value="newName"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement/name"/> + </attributes> + </nodes> + </lhs> + <rhs xmi:id="_U4wD8VW2EeK0V4B2JYxJUg" name="Rhs"> + <nodes xmi:id="_kmhkYFW2EeK0V4B2JYxJUg" name="selectedEObject"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Property"/> + <attributes xmi:id="_Hm320FW5EeK0V4B2JYxJUg" value="newName"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement/name"/> + </attributes> + </nodes> + </rhs> + <mappings xmi:id="_kmhkYVW2EeK0V4B2JYxJUg" origin="_kmehEFW2EeK0V4B2JYxJUg" image="_kmhkYFW2EeK0V4B2JYxJUg"/> + </units> + <units xsi:type="henshin:Rule" xmi:id="_RIpZ8FW3EeK0V4B2JYxJUg" name="existing_name" description="The owning class already owns an attribute named as specified!"> + <parameters xmi:id="_RIpZ8VW3EeK0V4B2JYxJUg" name="selectedEObject"/> + <parameters xmi:id="_RIpZ8lW3EeK0V4B2JYxJUg" name="newName"/> + <lhs xmi:id="_RIpZ81W3EeK0V4B2JYxJUg" name="Lhs"> + <nodes xmi:id="_RIpZ9FW3EeK0V4B2JYxJUg" name="selectedEObject" incoming="_ijCiUFW5EeK0V4B2JYxJUg"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Property"/> + </nodes> + <nodes xmi:id="_P8fd8FW5EeK0V4B2JYxJUg" incoming="_jTiLIFW5EeK0V4B2JYxJUg"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Property"/> + <attributes xmi:id="_SdroUFW5EeK0V4B2JYxJUg" value="newName"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement/name"/> + </attributes> + </nodes> + <nodes xmi:id="_RGaTYFW5EeK0V4B2JYxJUg" outgoing="_ijCiUFW5EeK0V4B2JYxJUg _jTiLIFW5EeK0V4B2JYxJUg"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/> + </nodes> + <edges xmi:id="_ijCiUFW5EeK0V4B2JYxJUg" source="_RGaTYFW5EeK0V4B2JYxJUg" target="_RIpZ9FW3EeK0V4B2JYxJUg"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//StructuredClassifier/ownedAttribute"/> + </edges> + <edges xmi:id="_jTiLIFW5EeK0V4B2JYxJUg" source="_RGaTYFW5EeK0V4B2JYxJUg" target="_P8fd8FW5EeK0V4B2JYxJUg"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//StructuredClassifier/ownedAttribute"/> + </edges> + </lhs> + <rhs xmi:id="_RIpZ9VW3EeK0V4B2JYxJUg" name="Rhs"> + <nodes xmi:id="_RIpZ9lW3EeK0V4B2JYxJUg" name="selectedEObject" incoming="_ijEXgFW5EeK0V4B2JYxJUg"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Property"/> + </nodes> + <nodes xmi:id="_P8ihQFW5EeK0V4B2JYxJUg" incoming="_jTmckFW5EeK0V4B2JYxJUg"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Property"/> + <attributes xmi:id="_SdsPYFW5EeK0V4B2JYxJUg" value="newName"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement/name"/> + </attributes> + </nodes> + <nodes xmi:id="_RGa6cFW5EeK0V4B2JYxJUg" outgoing="_ijEXgFW5EeK0V4B2JYxJUg _jTmckFW5EeK0V4B2JYxJUg"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/> + </nodes> + <edges xmi:id="_ijEXgFW5EeK0V4B2JYxJUg" source="_RGa6cFW5EeK0V4B2JYxJUg" target="_RIpZ9lW3EeK0V4B2JYxJUg"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//StructuredClassifier/ownedAttribute"/> + </edges> + <edges xmi:id="_jTmckFW5EeK0V4B2JYxJUg" source="_RGa6cFW5EeK0V4B2JYxJUg" target="_P8ihQFW5EeK0V4B2JYxJUg"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//StructuredClassifier/ownedAttribute"/> + </edges> + </rhs> + <mappings xmi:id="_RIpZ91W3EeK0V4B2JYxJUg" origin="_RIpZ9FW3EeK0V4B2JYxJUg" image="_RIpZ9lW3EeK0V4B2JYxJUg"/> + <mappings xmi:id="_P8ihQVW5EeK0V4B2JYxJUg" origin="_P8fd8FW5EeK0V4B2JYxJUg" image="_P8ihQFW5EeK0V4B2JYxJUg"/> + <mappings xmi:id="_RGa6cVW5EeK0V4B2JYxJUg" origin="_RGaTYFW5EeK0V4B2JYxJUg" image="_RGa6cFW5EeK0V4B2JYxJUg"/> + </units> + <units xsi:type="henshin:Rule" xmi:id="_i-qZQFW3EeK0V4B2JYxJUg" name="inherited_name" description="The owning class already inherits an attribute named as specified!"> + <parameters xmi:id="_i-qZQVW3EeK0V4B2JYxJUg" name="selectedEObject"/> + <parameters xmi:id="_i-qZQlW3EeK0V4B2JYxJUg" name="newName"/> + <lhs xmi:id="_i-qZQ1W3EeK0V4B2JYxJUg" name="Lhs"> + <nodes xmi:id="_i-qZRFW3EeK0V4B2JYxJUg" name="selectedEObject" incoming="_kRavsFW5EeK0V4B2JYxJUg"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Property"/> + </nodes> + <nodes xmi:id="_W6kDUFW5EeK0V4B2JYxJUg" incoming="_k0SMMFW5EeK0V4B2JYxJUg"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Property"/> + <attributes xmi:id="_ZYZXsFW5EeK0V4B2JYxJUg" value="newName"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement/name"/> + </attributes> + </nodes> + <nodes xmi:id="_YMUmIFW5EeK0V4B2JYxJUg" outgoing="_kRavsFW5EeK0V4B2JYxJUg _k0SMMFW5EeK0V4B2JYxJUg"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/> + </nodes> + <edges xmi:id="_kRavsFW5EeK0V4B2JYxJUg" source="_YMUmIFW5EeK0V4B2JYxJUg" target="_i-qZRFW3EeK0V4B2JYxJUg"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//StructuredClassifier/ownedAttribute"/> + </edges> + <edges xmi:id="_k0SMMFW5EeK0V4B2JYxJUg" source="_YMUmIFW5EeK0V4B2JYxJUg" target="_W6kDUFW5EeK0V4B2JYxJUg"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Classifier/inheritedMember"/> + </edges> + </lhs> + <rhs xmi:id="_i-qZRVW3EeK0V4B2JYxJUg" name="Rhs"> + <nodes xmi:id="_i-qZRlW3EeK0V4B2JYxJUg" name="selectedEObject" incoming="_kRgPQFW5EeK0V4B2JYxJUg"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Property"/> + </nodes> + <nodes xmi:id="_W6kqYFW5EeK0V4B2JYxJUg" incoming="_k0Y54FW5EeK0V4B2JYxJUg"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Property"/> + <attributes xmi:id="_ZYcbAFW5EeK0V4B2JYxJUg" value="newName"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement/name"/> + </attributes> + </nodes> + <nodes xmi:id="_YMUmIVW5EeK0V4B2JYxJUg" outgoing="_kRgPQFW5EeK0V4B2JYxJUg _k0Y54FW5EeK0V4B2JYxJUg"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/> + </nodes> + <edges xmi:id="_kRgPQFW5EeK0V4B2JYxJUg" source="_YMUmIVW5EeK0V4B2JYxJUg" target="_i-qZRlW3EeK0V4B2JYxJUg"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//StructuredClassifier/ownedAttribute"/> + </edges> + <edges xmi:id="_k0Y54FW5EeK0V4B2JYxJUg" source="_YMUmIVW5EeK0V4B2JYxJUg" target="_W6kqYFW5EeK0V4B2JYxJUg"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Classifier/inheritedMember"/> + </edges> + </rhs> + <mappings xmi:id="_i-qZR1W3EeK0V4B2JYxJUg" origin="_i-qZRFW3EeK0V4B2JYxJUg" image="_i-qZRlW3EeK0V4B2JYxJUg"/> + <mappings xmi:id="_W6kqYVW5EeK0V4B2JYxJUg" origin="_W6kDUFW5EeK0V4B2JYxJUg" image="_W6kqYFW5EeK0V4B2JYxJUg"/> + <mappings xmi:id="_YMVNMFW5EeK0V4B2JYxJUg" origin="_YMUmIFW5EeK0V4B2JYxJUg" image="_YMUmIVW5EeK0V4B2JYxJUg"/> + </units> + <units xsi:type="henshin:IndependentUnit" xmi:id="_BShHYFW6EeK0V4B2JYxJUg" name="mainUnit" subUnits="_U4p9UFW2EeK0V4B2JYxJUg _RIpZ8FW3EeK0V4B2JYxJUg _i-qZQFW3EeK0V4B2JYxJUg"> + <parameters xmi:id="_CGLY8FW6EeK0V4B2JYxJUg" name="selectedEObject"/> + <parameters xmi:id="_CGNOIFW6EeK0V4B2JYxJUg" name="newName" description="New name of the attribute"/> + <parameterMappings xmi:id="_FDRcMFW6EeK0V4B2JYxJUg" source="_CGLY8FW6EeK0V4B2JYxJUg" target="_XrClYFW2EeK0V4B2JYxJUg"/> + <parameterMappings xmi:id="_FDVGkFW6EeK0V4B2JYxJUg" source="_CGNOIFW6EeK0V4B2JYxJUg" target="_XrDMcFW2EeK0V4B2JYxJUg"/> + <parameterMappings xmi:id="_H7N5sFW6EeK0V4B2JYxJUg" source="_CGLY8FW6EeK0V4B2JYxJUg" target="_RIpZ8VW3EeK0V4B2JYxJUg"/> + <parameterMappings xmi:id="_H7RkEFW6EeK0V4B2JYxJUg" source="_CGNOIFW6EeK0V4B2JYxJUg" target="_RIpZ8lW3EeK0V4B2JYxJUg"/> + <parameterMappings xmi:id="_JTkzwFW6EeK0V4B2JYxJUg" source="_CGLY8FW6EeK0V4B2JYxJUg" target="_i-qZQVW3EeK0V4B2JYxJUg"/> + <parameterMappings xmi:id="_JTn3EFW6EeK0V4B2JYxJUg" source="_CGNOIFW6EeK0V4B2JYxJUg" target="_i-qZQlW3EeK0V4B2JYxJUg"/> + </units> +</henshin:Module>
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/transformation/rename_attribute_final.henshin_diagram b/org.eclipse.emf.refactor.refactorings.uml24.henshin/transformation/rename_attribute_final.henshin_diagram new file mode 100644 index 0000000..056350f --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/transformation/rename_attribute_final.henshin_diagram
@@ -0,0 +1,255 @@ +<?xml version="1.0" encoding="UTF-8"?> +<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:henshin="http://www.eclipse.org/emf/2011/Henshin" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmi:id="_81GWUFW4EeK0V4B2JYxJUg" type="Henshin" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_84iE0FW4EeK0V4B2JYxJUg" type="2001" fontName="Segoe UI" italic="true" fillColor="16114135" lineColor="0"> + <children xmi:type="notation:DecorationNode" xmi:id="_84iE0lW4EeK0V4B2JYxJUg" type="5001"/> + <children xmi:type="notation:DecorationNode" xmi:id="_84iE01W4EeK0V4B2JYxJUg" type="7001"> + <children xmi:type="notation:Shape" xmi:id="_84lIIFW4EeK0V4B2JYxJUg" type="3001" fontName="Segoe UI"> + <children xmi:type="notation:DecorationNode" xmi:id="_84lIIlW4EeK0V4B2JYxJUg" type="5002"/> + <children xmi:type="notation:DecorationNode" xmi:id="_84lII1W4EeK0V4B2JYxJUg" type="5003"/> + <children xmi:type="notation:DecorationNode" xmi:id="_84lIJFW4EeK0V4B2JYxJUg" type="7002"> + <children xmi:type="notation:Node" xmi:id="_Hm5sAFW5EeK0V4B2JYxJUg" type="3002"> + <element xmi:type="henshin:Attribute" href="rename_attribute_final.henshin#_Hm0zgFW5EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_Hm5sAVW5EeK0V4B2JYxJUg"/> + </children> + <styles xmi:type="notation:SortingStyle" xmi:id="_84lIJVW4EeK0V4B2JYxJUg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_84lIJlW4EeK0V4B2JYxJUg"/> + </children> + <element xmi:type="henshin:Node" href="rename_attribute_final.henshin#_kmehEFW2EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_84lIIVW4EeK0V4B2JYxJUg" x="116" y="11"/> + </children> + </children> + <element xmi:type="henshin:Rule" href="rename_attribute_final.henshin#_U4p9UFW2EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_84iE0VW4EeK0V4B2JYxJUg" x="19" y="14" width="425" height="130"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_84ir4FW4EeK0V4B2JYxJUg" type="2001" fontName="Segoe UI" italic="true" fillColor="16114135" lineColor="0"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_P8jIUFW5EeK0V4B2JYxJUg" source="defaultAction"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_P8jIUVW5EeK0V4B2JYxJUg" key="value" value="preserve"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_84ir4lW4EeK0V4B2JYxJUg" type="5001"/> + <children xmi:type="notation:DecorationNode" xmi:id="_84ir41W4EeK0V4B2JYxJUg" type="7001"> + <children xmi:type="notation:Shape" xmi:id="_84oLcFW4EeK0V4B2JYxJUg" type="3001" fontName="Segoe UI"> + <children xmi:type="notation:DecorationNode" xmi:id="_84oLclW4EeK0V4B2JYxJUg" type="5002"/> + <children xmi:type="notation:DecorationNode" xmi:id="_84oLc1W4EeK0V4B2JYxJUg" type="5003"/> + <children xmi:type="notation:DecorationNode" xmi:id="_84oygFW4EeK0V4B2JYxJUg" type="7002"> + <styles xmi:type="notation:SortingStyle" xmi:id="_84oygVW4EeK0V4B2JYxJUg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_84oyglW4EeK0V4B2JYxJUg"/> + </children> + <element xmi:type="henshin:Node" href="rename_attribute_final.henshin#_RIpZ9FW3EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_84oLcVW4EeK0V4B2JYxJUg" x="18" y="14"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_P8k9gFW5EeK0V4B2JYxJUg" type="3001" fontName="Segoe UI"> + <children xmi:type="notation:DecorationNode" xmi:id="_P8lkkFW5EeK0V4B2JYxJUg" type="5002"/> + <children xmi:type="notation:DecorationNode" xmi:id="_P8lkkVW5EeK0V4B2JYxJUg" type="5003"/> + <children xmi:type="notation:DecorationNode" xmi:id="_P8lkklW5EeK0V4B2JYxJUg" type="7002"> + <children xmi:type="notation:Node" xmi:id="_SduEkFW5EeK0V4B2JYxJUg" type="3002"> + <element xmi:type="henshin:Attribute" href="rename_attribute_final.henshin#_SdroUFW5EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_SduEkVW5EeK0V4B2JYxJUg"/> + </children> + <styles xmi:type="notation:SortingStyle" xmi:id="_P8lkk1W5EeK0V4B2JYxJUg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_P8lklFW5EeK0V4B2JYxJUg"/> + </children> + <element xmi:type="henshin:Node" href="rename_attribute_final.henshin#_P8fd8FW5EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_P8k9gVW5EeK0V4B2JYxJUg" x="240" y="14"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_RGdWsFW5EeK0V4B2JYxJUg" type="3001" fontName="Segoe UI"> + <children xmi:type="notation:DecorationNode" xmi:id="_RGdWslW5EeK0V4B2JYxJUg" type="5002"/> + <children xmi:type="notation:DecorationNode" xmi:id="_RGdWs1W5EeK0V4B2JYxJUg" type="5003"/> + <children xmi:type="notation:DecorationNode" xmi:id="_RGdWtFW5EeK0V4B2JYxJUg" type="7002"> + <styles xmi:type="notation:SortingStyle" xmi:id="_RGdWtVW5EeK0V4B2JYxJUg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_RGdWtlW5EeK0V4B2JYxJUg"/> + </children> + <element xmi:type="henshin:Node" href="rename_attribute_final.henshin#_RGaTYFW5EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RGdWsVW5EeK0V4B2JYxJUg" x="129" y="109"/> + </children> + </children> + <element xmi:type="henshin:Rule" href="rename_attribute_final.henshin#_RIpZ8FW3EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_84ir4VW4EeK0V4B2JYxJUg" x="18" y="160" width="428"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_84ir5FW4EeK0V4B2JYxJUg" type="2001" fontName="Segoe UI" italic="true" fillColor="16114135" lineColor="0"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_W6lRcFW5EeK0V4B2JYxJUg" source="defaultAction"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_W6lRcVW5EeK0V4B2JYxJUg" key="value" value="preserve"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_84ir5lW4EeK0V4B2JYxJUg" type="5001"/> + <children xmi:type="notation:DecorationNode" xmi:id="_84ir51W4EeK0V4B2JYxJUg" type="7001"> + <children xmi:type="notation:Shape" xmi:id="_84qnsFW4EeK0V4B2JYxJUg" type="3001" fontName="Segoe UI"> + <children xmi:type="notation:DecorationNode" xmi:id="_84rOwFW4EeK0V4B2JYxJUg" type="5002"/> + <children xmi:type="notation:DecorationNode" xmi:id="_84rOwVW4EeK0V4B2JYxJUg" type="5003"/> + <children xmi:type="notation:DecorationNode" xmi:id="_84rOwlW4EeK0V4B2JYxJUg" type="7002"> + <styles xmi:type="notation:SortingStyle" xmi:id="_84rOw1W4EeK0V4B2JYxJUg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_84rOxFW4EeK0V4B2JYxJUg"/> + </children> + <element xmi:type="henshin:Node" href="rename_attribute_final.henshin#_i-qZRFW3EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_84qnsVW4EeK0V4B2JYxJUg"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_W6ntsFW5EeK0V4B2JYxJUg" type="3001" fontName="Segoe UI"> + <children xmi:type="notation:DecorationNode" xmi:id="_W6ntslW5EeK0V4B2JYxJUg" type="5002"/> + <children xmi:type="notation:DecorationNode" xmi:id="_W6nts1W5EeK0V4B2JYxJUg" type="5003"/> + <children xmi:type="notation:DecorationNode" xmi:id="_W6nttFW5EeK0V4B2JYxJUg" type="7002"> + <children xmi:type="notation:Node" xmi:id="_ZYfeUFW5EeK0V4B2JYxJUg" type="3002"> + <element xmi:type="henshin:Attribute" href="rename_attribute_final.henshin#_ZYZXsFW5EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ZYfeUVW5EeK0V4B2JYxJUg"/> + </children> + <styles xmi:type="notation:SortingStyle" xmi:id="_W6nttVW5EeK0V4B2JYxJUg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_W6nttlW5EeK0V4B2JYxJUg"/> + </children> + <element xmi:type="henshin:Node" href="rename_attribute_final.henshin#_W6kDUFW5EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W6ntsVW5EeK0V4B2JYxJUg" x="227" y="8"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_YMXpcFW5EeK0V4B2JYxJUg" type="3001" fontName="Segoe UI"> + <children xmi:type="notation:DecorationNode" xmi:id="_YMXpclW5EeK0V4B2JYxJUg" type="5002"/> + <children xmi:type="notation:DecorationNode" xmi:id="_YMXpc1W5EeK0V4B2JYxJUg" type="5003"/> + <children xmi:type="notation:DecorationNode" xmi:id="_YMXpdFW5EeK0V4B2JYxJUg" type="7002"> + <styles xmi:type="notation:SortingStyle" xmi:id="_YMXpdVW5EeK0V4B2JYxJUg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_YMXpdlW5EeK0V4B2JYxJUg"/> + </children> + <element xmi:type="henshin:Node" href="rename_attribute_final.henshin#_YMUmIFW5EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_YMXpcVW5EeK0V4B2JYxJUg" x="74" y="107"/> + </children> + </children> + <element xmi:type="henshin:Rule" href="rename_attribute_final.henshin#_i-qZQFW3EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_84ir5VW4EeK0V4B2JYxJUg" x="19" y="375" width="427"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_BSmm8FW6EeK0V4B2JYxJUg" type="2002" fontName="Segoe UI" italic="true" fillColor="14808535" lineColor="0"> + <children xmi:type="notation:DecorationNode" xmi:id="_BSnOAFW6EeK0V4B2JYxJUg" type="5004"/> + <children xmi:type="notation:DecorationNode" xmi:id="_BSnOAVW6EeK0V4B2JYxJUg" type="7003"> + <children xmi:type="notation:Node" xmi:id="_BSnOAlW6EeK0V4B2JYxJUg" type="3004"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BSnOBlW6EeK0V4B2JYxJUg" source="symbol"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BSnOB1W6EeK0V4B2JYxJUg" key="type" value="UNIT_BEGIN"/> + </eAnnotations> + <styles xmi:type="notation:DescriptionStyle" xmi:id="_BSnOA1W6EeK0V4B2JYxJUg"/> + <styles xmi:type="notation:FontStyle" xmi:id="_BSnOBFW6EeK0V4B2JYxJUg" fontName="Segoe UI"/> + <element xmi:type="henshin:IndependentUnit" href="rename_attribute_final.henshin#_BShHYFW6EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_BSnOCFW6EeK0V4B2JYxJUg" x="36" y="60"/> + </children> + <children xmi:type="notation:Node" xmi:id="_BSn1EFW6EeK0V4B2JYxJUg" type="3004"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BSn1FFW6EeK0V4B2JYxJUg" source="symbol"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BSn1FVW6EeK0V4B2JYxJUg" key="type" value="UNIT_END"/> + </eAnnotations> + <styles xmi:type="notation:DescriptionStyle" xmi:id="_BSn1EVW6EeK0V4B2JYxJUg"/> + <styles xmi:type="notation:FontStyle" xmi:id="_BSn1ElW6EeK0V4B2JYxJUg" fontName="Segoe UI"/> + <element xmi:type="henshin:IndependentUnit" href="rename_attribute_final.henshin#_BShHYFW6EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_BSn1FlW6EeK0V4B2JYxJUg" x="503" y="280"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_EDn9EFW6EeK0V4B2JYxJUg" type="3003" fontName="Segoe UI" italic="true" lineColor="0"> + <children xmi:type="notation:DecorationNode" xmi:id="_EDn9ElW6EeK0V4B2JYxJUg" type="5005"> + <element xmi:type="henshin:Rule" href="rename_attribute_final.henshin#_U4p9UFW2EeK0V4B2JYxJUg"/> + </children> + <element xmi:type="henshin:Rule" href="rename_attribute_final.henshin#_U4p9UFW2EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EDn9EVW6EeK0V4B2JYxJUg" x="115" y="37"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_G08OIFW6EeK0V4B2JYxJUg" type="3003" fontName="Segoe UI" italic="true" lineColor="0"> + <children xmi:type="notation:DecorationNode" xmi:id="_G08OIlW6EeK0V4B2JYxJUg" type="5005"> + <element xmi:type="henshin:Rule" href="rename_attribute_final.henshin#_RIpZ8FW3EeK0V4B2JYxJUg"/> + </children> + <element xmi:type="henshin:Rule" href="rename_attribute_final.henshin#_RIpZ8FW3EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_G08OIVW6EeK0V4B2JYxJUg" x="131" y="240"/> + </children> + <children xmi:type="notation:Node" xmi:id="_G08OI1W6EeK0V4B2JYxJUg" type="3004"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_G081MFW6EeK0V4B2JYxJUg" source="symbol"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_G081MVW6EeK0V4B2JYxJUg" key="type" value="INDEPENDENT_CHOICE"/> + </eAnnotations> + <styles xmi:type="notation:DescriptionStyle" xmi:id="_G08OJFW6EeK0V4B2JYxJUg"/> + <styles xmi:type="notation:FontStyle" xmi:id="_G08OJVW6EeK0V4B2JYxJUg" fontName="Segoe UI"/> + <element xmi:type="henshin:IndependentUnit" href="rename_attribute_final.henshin#_BShHYFW6EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_G081MlW6EeK0V4B2JYxJUg" x="37" y="212"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_IDjWUFW6EeK0V4B2JYxJUg" type="3003" fontName="Segoe UI" italic="true" lineColor="0"> + <children xmi:type="notation:DecorationNode" xmi:id="_IDjWUlW6EeK0V4B2JYxJUg" type="5005"> + <element xmi:type="henshin:Rule" href="rename_attribute_final.henshin#_i-qZQFW3EeK0V4B2JYxJUg"/> + </children> + <element xmi:type="henshin:Rule" href="rename_attribute_final.henshin#_i-qZQFW3EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_IDjWUVW6EeK0V4B2JYxJUg" x="13" y="363"/> + </children> + </children> + <element xmi:type="henshin:IndependentUnit" href="rename_attribute_final.henshin#_BShHYFW6EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BSmm8VW6EeK0V4B2JYxJUg" x="478" y="14" width="559" height="561"/> + </children> + <styles xmi:type="notation:DiagramStyle" xmi:id="_81GWUVW4EeK0V4B2JYxJUg"/> + <element xmi:type="henshin:Module" href="rename_attribute_final.henshin#_MU_TIFW2EeK0V4B2JYxJUg"/> + <edges xmi:type="notation:Connector" xmi:id="_ijHa0FW5EeK0V4B2JYxJUg" type="4001" source="_RGdWsFW5EeK0V4B2JYxJUg" target="_84oLcFW4EeK0V4B2JYxJUg"> + <children xmi:type="notation:DecorationNode" xmi:id="_ijHa01W5EeK0V4B2JYxJUg" type="6001"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ijHa1FW5EeK0V4B2JYxJUg" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_ijIB4FW5EeK0V4B2JYxJUg" type="6002"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ijIB4VW5EeK0V4B2JYxJUg" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_ijHa0VW5EeK0V4B2JYxJUg" fontName="Segoe UI"/> + <element xmi:type="henshin:Edge" href="rename_attribute_final.henshin#_ijCiUFW5EeK0V4B2JYxJUg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ijHa0lW5EeK0V4B2JYxJUg" points="[-19, -26, 45, 69]$[-70, -121, -6, -26]"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_jTrVEFW5EeK0V4B2JYxJUg" type="4001" source="_RGdWsFW5EeK0V4B2JYxJUg" target="_P8k9gFW5EeK0V4B2JYxJUg"> + <children xmi:type="notation:DecorationNode" xmi:id="_jTr8IFW5EeK0V4B2JYxJUg" type="6001"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_jTr8IVW5EeK0V4B2JYxJUg" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_jTr8IlW5EeK0V4B2JYxJUg" type="6002"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_jTr8I1W5EeK0V4B2JYxJUg" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_jTrVEVW5EeK0V4B2JYxJUg" fontName="Segoe UI"/> + <element xmi:type="henshin:Edge" href="rename_attribute_final.henshin#_jTiLIFW5EeK0V4B2JYxJUg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_jTrVElW5EeK0V4B2JYxJUg" points="[38, -21, -106, 69]$[216, -90, 72, 0]"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_kRmV4FW5EeK0V4B2JYxJUg" type="4001" source="_YMXpcFW5EeK0V4B2JYxJUg" target="_84qnsFW4EeK0V4B2JYxJUg"> + <children xmi:type="notation:DecorationNode" xmi:id="_kRmV41W5EeK0V4B2JYxJUg" type="6001"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_kRmV5FW5EeK0V4B2JYxJUg" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_kRmV5VW5EeK0V4B2JYxJUg" type="6002"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_kRm88FW5EeK0V4B2JYxJUg" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_kRmV4VW5EeK0V4B2JYxJUg" fontName="Segoe UI"/> + <element xmi:type="henshin:Edge" href="rename_attribute_final.henshin#_kRavsFW5EeK0V4B2JYxJUg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_kRmV4lW5EeK0V4B2JYxJUg" points="[-5, -26, 22, 81]$[-20, -133, 7, -26]"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_k0hcwFW5EeK0V4B2JYxJUg" type="4001" source="_YMXpcFW5EeK0V4B2JYxJUg" target="_W6ntsFW5EeK0V4B2JYxJUg"> + <children xmi:type="notation:DecorationNode" xmi:id="_k0iD0FW5EeK0V4B2JYxJUg" type="6001"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_k0iD0VW5EeK0V4B2JYxJUg" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_k0iD0lW5EeK0V4B2JYxJUg" type="6002"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_k0iD01W5EeK0V4B2JYxJUg" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_k0hcwVW5EeK0V4B2JYxJUg" fontName="Segoe UI"/> + <element xmi:type="henshin:Edge" href="rename_attribute_final.henshin#_k0SMMFW5EeK0V4B2JYxJUg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_k0hcwlW5EeK0V4B2JYxJUg" points="[38, -18, -148, 76]$[196, -62, 10, 32]"/> + </edges> + <edges xmi:type="notation:Edge" xmi:id="_EDokJFW6EeK0V4B2JYxJUg" type="4002" source="_EDn9EFW6EeK0V4B2JYxJUg" target="_BSn1EFW6EeK0V4B2JYxJUg"> + <styles xmi:type="notation:RoutingStyle" xmi:id="_EDokJVW6EeK0V4B2JYxJUg" routing="Rectilinear"/> + <styles xmi:type="notation:FontStyle" xmi:id="_EDokJlW6EeK0V4B2JYxJUg" fontName="Segoe UI"/> + <element xmi:type="henshin:IndependentUnit" href="rename_attribute_final.henshin#_BShHYFW6EeK0V4B2JYxJUg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_EDokJ1W6EeK0V4B2JYxJUg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + </edges> + <edges xmi:type="notation:Edge" xmi:id="_G081M1W6EeK0V4B2JYxJUg" type="4002" source="_BSnOAlW6EeK0V4B2JYxJUg" target="_G08OI1W6EeK0V4B2JYxJUg"> + <styles xmi:type="notation:RoutingStyle" xmi:id="_G081NFW6EeK0V4B2JYxJUg" routing="Rectilinear"/> + <styles xmi:type="notation:FontStyle" xmi:id="_G081NVW6EeK0V4B2JYxJUg" fontName="Segoe UI"/> + <element xmi:type="henshin:IndependentUnit" href="rename_attribute_final.henshin#_BShHYFW6EeK0V4B2JYxJUg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_G081NlW6EeK0V4B2JYxJUg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + </edges> + <edges xmi:type="notation:Edge" xmi:id="_G09cQFW6EeK0V4B2JYxJUg" type="4002" source="_G08OI1W6EeK0V4B2JYxJUg" target="_EDn9EFW6EeK0V4B2JYxJUg"> + <styles xmi:type="notation:RoutingStyle" xmi:id="_G09cQVW6EeK0V4B2JYxJUg" routing="Rectilinear"/> + <styles xmi:type="notation:FontStyle" xmi:id="_G09cQlW6EeK0V4B2JYxJUg" fontName="Segoe UI"/> + <element xmi:type="henshin:IndependentUnit" href="rename_attribute_final.henshin#_BShHYFW6EeK0V4B2JYxJUg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_G09cQ1W6EeK0V4B2JYxJUg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + </edges> + <edges xmi:type="notation:Edge" xmi:id="_G09cRFW6EeK0V4B2JYxJUg" type="4002" source="_G08OI1W6EeK0V4B2JYxJUg" target="_G08OIFW6EeK0V4B2JYxJUg"> + <styles xmi:type="notation:RoutingStyle" xmi:id="_G09cRVW6EeK0V4B2JYxJUg" routing="Rectilinear"/> + <styles xmi:type="notation:FontStyle" xmi:id="_G09cRlW6EeK0V4B2JYxJUg" fontName="Segoe UI"/> + <element xmi:type="henshin:IndependentUnit" href="rename_attribute_final.henshin#_BShHYFW6EeK0V4B2JYxJUg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_G09cR1W6EeK0V4B2JYxJUg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + </edges> + <edges xmi:type="notation:Edge" xmi:id="_G0-DUFW6EeK0V4B2JYxJUg" type="4002" source="_G08OIFW6EeK0V4B2JYxJUg" target="_BSn1EFW6EeK0V4B2JYxJUg"> + <styles xmi:type="notation:RoutingStyle" xmi:id="_G0-DUVW6EeK0V4B2JYxJUg" routing="Rectilinear"/> + <styles xmi:type="notation:FontStyle" xmi:id="_G0-DUlW6EeK0V4B2JYxJUg" fontName="Segoe UI"/> + <element xmi:type="henshin:IndependentUnit" href="rename_attribute_final.henshin#_BShHYFW6EeK0V4B2JYxJUg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_G0-DU1W6EeK0V4B2JYxJUg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + </edges> + <edges xmi:type="notation:Edge" xmi:id="_IDjWU1W6EeK0V4B2JYxJUg" type="4002" source="_G08OI1W6EeK0V4B2JYxJUg" target="_IDjWUFW6EeK0V4B2JYxJUg"> + <styles xmi:type="notation:RoutingStyle" xmi:id="_IDjWVFW6EeK0V4B2JYxJUg" routing="Rectilinear"/> + <styles xmi:type="notation:FontStyle" xmi:id="_IDjWVVW6EeK0V4B2JYxJUg" fontName="Segoe UI"/> + <element xmi:type="henshin:IndependentUnit" href="rename_attribute_final.henshin#_BShHYFW6EeK0V4B2JYxJUg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_IDjWVlW6EeK0V4B2JYxJUg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + </edges> + <edges xmi:type="notation:Edge" xmi:id="_IDj9YFW6EeK0V4B2JYxJUg" type="4002" source="_IDjWUFW6EeK0V4B2JYxJUg" target="_BSn1EFW6EeK0V4B2JYxJUg"> + <styles xmi:type="notation:RoutingStyle" xmi:id="_IDj9YVW6EeK0V4B2JYxJUg" routing="Rectilinear"/> + <styles xmi:type="notation:FontStyle" xmi:id="_IDj9YlW6EeK0V4B2JYxJUg" fontName="Segoe UI"/> + <element xmi:type="henshin:IndependentUnit" href="rename_attribute_final.henshin#_BShHYFW6EeK0V4B2JYxJUg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_IDj9Y1W6EeK0V4B2JYxJUg" points="[62, -16, -290, 73]$[62, -45, -290, 44]$[352, -45, 0, 44]$[352, -79, 0, 10]"/> + </edges> +</notation:Diagram>
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/transformation/rename_attribute_initial.henshin b/org.eclipse.emf.refactor.refactorings.uml24.henshin/transformation/rename_attribute_initial.henshin new file mode 100644 index 0000000..347aea6 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/transformation/rename_attribute_initial.henshin
@@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> +<henshin:Module xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:henshin="http://www.eclipse.org/emf/2011/Henshin" xmi:id="_m8pcUFW4EeK0V4B2JYxJUg"> + <imports href="http://www.eclipse.org/uml2/4.0.0/UML#/"/> + <units xsi:type="henshin:Rule" xmi:id="_m8pcUVW4EeK0V4B2JYxJUg" name="no_attribute" description="The selected Property is no Class attribute!"> + <parameters xmi:id="_m8qDYFW4EeK0V4B2JYxJUg" name="selectedEObject"/> + <parameters xmi:id="_m8qDYVW4EeK0V4B2JYxJUg" name="newName"/> + <lhs xmi:id="_m8qDYlW4EeK0V4B2JYxJUg" name="Lhs"> + <nodes xmi:id="_m8qDY1W4EeK0V4B2JYxJUg" name="selectedEObject"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Property"/> + </nodes> + <formula xsi:type="henshin:Not" xmi:id="_m8qqcFW4EeK0V4B2JYxJUg"> + <child xsi:type="henshin:NestedCondition" xmi:id="_m8qqcVW4EeK0V4B2JYxJUg"> + <conclusion xmi:id="_m8qqclW4EeK0V4B2JYxJUg"> + <nodes xmi:id="_m8qqc1W4EeK0V4B2JYxJUg" name="selectedEObject" incoming="_m8rRgFW4EeK0V4B2JYxJUg"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Property"/> + </nodes> + <nodes xmi:id="_m8qqdFW4EeK0V4B2JYxJUg" name="owner" outgoing="_m8rRgFW4EeK0V4B2JYxJUg"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/> + </nodes> + <edges xmi:id="_m8rRgFW4EeK0V4B2JYxJUg" source="_m8qqdFW4EeK0V4B2JYxJUg" target="_m8qqc1W4EeK0V4B2JYxJUg"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//StructuredClassifier/ownedAttribute"/> + </edges> + </conclusion> + <mappings xmi:id="_m8rRgVW4EeK0V4B2JYxJUg" origin="_m8qDY1W4EeK0V4B2JYxJUg" image="_m8qqc1W4EeK0V4B2JYxJUg"/> + </child> + </formula> + </lhs> + <rhs xmi:id="_m8rRglW4EeK0V4B2JYxJUg" name="Rhs"> + <nodes xmi:id="_m8rRg1W4EeK0V4B2JYxJUg" name="selectedEObject"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Property"/> + </nodes> + </rhs> + <mappings xmi:id="_m8r4kFW4EeK0V4B2JYxJUg" origin="_m8qDY1W4EeK0V4B2JYxJUg" image="_m8rRg1W4EeK0V4B2JYxJUg"/> + </units> + <units xsi:type="henshin:IndependentUnit" xmi:id="_m8r4kVW4EeK0V4B2JYxJUg" name="mainUnit" subUnits="_m8pcUVW4EeK0V4B2JYxJUg"> + <parameters xmi:id="_m8r4klW4EeK0V4B2JYxJUg" name="selectedEObject"/> + <parameters xmi:id="_m8r4k1W4EeK0V4B2JYxJUg" name="newName"/> + <parameterMappings xmi:id="_m8sfoFW4EeK0V4B2JYxJUg" source="_m8r4klW4EeK0V4B2JYxJUg" target="_m8qDYFW4EeK0V4B2JYxJUg"/> + <parameterMappings xmi:id="_m8sfoVW4EeK0V4B2JYxJUg" source="_m8r4k1W4EeK0V4B2JYxJUg" target="_m8qDYVW4EeK0V4B2JYxJUg"/> + </units> +</henshin:Module>
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/transformation/rename_attribute_initial.henshin_diagram b/org.eclipse.emf.refactor.refactorings.uml24.henshin/transformation/rename_attribute_initial.henshin_diagram new file mode 100644 index 0000000..5978e4c --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/transformation/rename_attribute_initial.henshin_diagram
@@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="UTF-8"?> +<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:henshin="http://www.eclipse.org/emf/2011/Henshin" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmi:id="_1et0EFW3EeK0V4B2JYxJUg" type="Henshin" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_1gn4kFW3EeK0V4B2JYxJUg" type="2001" fontName="Segoe UI" italic="true" fillColor="16114135" lineColor="0"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4RcaYlW3EeK0V4B2JYxJUg" source="defaultAction"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_4RcaY1W3EeK0V4B2JYxJUg" key="value" value="forbid"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_1gn4klW3EeK0V4B2JYxJUg" type="5001"/> + <children xmi:type="notation:DecorationNode" xmi:id="_1gn4k1W3EeK0V4B2JYxJUg" type="7001"> + <children xmi:type="notation:Shape" xmi:id="_1gq74FW3EeK0V4B2JYxJUg" type="3001" fontName="Segoe UI"> + <children xmi:type="notation:DecorationNode" xmi:id="_1gq74lW3EeK0V4B2JYxJUg" type="5002"/> + <children xmi:type="notation:DecorationNode" xmi:id="_1gq741W3EeK0V4B2JYxJUg" type="5003"/> + <children xmi:type="notation:DecorationNode" xmi:id="_1gri8FW3EeK0V4B2JYxJUg" type="7002"> + <styles xmi:type="notation:SortingStyle" xmi:id="_1gri8VW3EeK0V4B2JYxJUg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_1gri8lW3EeK0V4B2JYxJUg"/> + </children> + <element xmi:type="henshin:Node" href="rename_attribute_initial.henshin#_m8qDY1W4EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1gq74VW3EeK0V4B2JYxJUg" x="72" y="19"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_m-B8YFW4EeK0V4B2JYxJUg" type="3001" fontName="Segoe UI"> + <children xmi:type="notation:DecorationNode" xmi:id="_m-B8YlW4EeK0V4B2JYxJUg" type="5002"/> + <children xmi:type="notation:DecorationNode" xmi:id="_m-B8Y1W4EeK0V4B2JYxJUg" type="5003"/> + <children xmi:type="notation:DecorationNode" xmi:id="_m-B8ZFW4EeK0V4B2JYxJUg" type="7002"> + <styles xmi:type="notation:SortingStyle" xmi:id="_m-B8ZVW4EeK0V4B2JYxJUg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_m-B8ZlW4EeK0V4B2JYxJUg"/> + </children> + <element xmi:type="henshin:Node" href="rename_attribute_initial.henshin#_m8qqdFW4EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_m-B8YVW4EeK0V4B2JYxJUg" x="117" y="139"/> + </children> + </children> + <element xmi:type="henshin:Rule" href="rename_attribute_initial.henshin#_m8pcUVW4EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1gn4kVW3EeK0V4B2JYxJUg" x="17" y="17" width="351" height="273"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_Sqg_4FW4EeK0V4B2JYxJUg" type="2002" fontName="Segoe UI" italic="true" fillColor="14808535" lineColor="0"> + <children xmi:type="notation:DecorationNode" xmi:id="_Sqhm8FW4EeK0V4B2JYxJUg" type="5004"/> + <children xmi:type="notation:DecorationNode" xmi:id="_Sqhm8VW4EeK0V4B2JYxJUg" type="7003"> + <children xmi:type="notation:Node" xmi:id="_SrGOsFW4EeK0V4B2JYxJUg" type="3004"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_SrG1wFW4EeK0V4B2JYxJUg" source="symbol"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_SrG1wVW4EeK0V4B2JYxJUg" key="type" value="UNIT_BEGIN"/> + </eAnnotations> + <styles xmi:type="notation:DescriptionStyle" xmi:id="_SrGOsVW4EeK0V4B2JYxJUg"/> + <styles xmi:type="notation:FontStyle" xmi:id="_SrGOslW4EeK0V4B2JYxJUg" fontName="Segoe UI"/> + <element xmi:type="henshin:IndependentUnit" href="rename_attribute_initial.henshin#_m8r4kVW4EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_SrG1wlW4EeK0V4B2JYxJUg" x="15" y="15"/> + </children> + <children xmi:type="notation:Node" xmi:id="_SrG1w1W4EeK0V4B2JYxJUg" type="3004"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_SrG1x1W4EeK0V4B2JYxJUg" source="symbol"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_SrG1yFW4EeK0V4B2JYxJUg" key="type" value="UNIT_END"/> + </eAnnotations> + <styles xmi:type="notation:DescriptionStyle" xmi:id="_SrG1xFW4EeK0V4B2JYxJUg"/> + <styles xmi:type="notation:FontStyle" xmi:id="_SrG1xVW4EeK0V4B2JYxJUg" fontName="Segoe UI"/> + <element xmi:type="henshin:IndependentUnit" href="rename_attribute_initial.henshin#_m8r4kVW4EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_SrG1yVW4EeK0V4B2JYxJUg" x="297" y="15"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_X1yx8FW4EeK0V4B2JYxJUg" type="3003" fontName="Segoe UI" italic="true" lineColor="0"> + <children xmi:type="notation:DecorationNode" xmi:id="_X1yx8lW4EeK0V4B2JYxJUg" type="5005"> + <element xmi:type="henshin:Rule" href="rename_attribute_initial.henshin#_m8pcUVW4EeK0V4B2JYxJUg"/> + </children> + <element xmi:type="henshin:Rule" href="rename_attribute_initial.henshin#_m8pcUVW4EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_X1yx8VW4EeK0V4B2JYxJUg" x="46" y="151"/> + </children> + </children> + <element xmi:type="henshin:IndependentUnit" href="rename_attribute_initial.henshin#_m8r4kVW4EeK0V4B2JYxJUg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Sqg_4VW4EeK0V4B2JYxJUg" x="393" y="17" height="273"/> + </children> + <styles xmi:type="notation:DiagramStyle" xmi:id="_1et0EVW3EeK0V4B2JYxJUg"/> + <element xmi:type="henshin:Module" href="rename_attribute_initial.henshin#_m8pcUFW4EeK0V4B2JYxJUg"/> + <edges xmi:type="notation:Edge" xmi:id="_X1yx81W4EeK0V4B2JYxJUg" type="4002" source="_SrGOsFW4EeK0V4B2JYxJUg" target="_X1yx8FW4EeK0V4B2JYxJUg"> + <styles xmi:type="notation:RoutingStyle" xmi:id="_X1yx9FW4EeK0V4B2JYxJUg" routing="Rectilinear"/> + <styles xmi:type="notation:FontStyle" xmi:id="_X1yx9VW4EeK0V4B2JYxJUg" fontName="Segoe UI"/> + <element xmi:type="henshin:IndependentUnit" href="rename_attribute_initial.henshin#_m8r4kVW4EeK0V4B2JYxJUg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_X1yx9lW4EeK0V4B2JYxJUg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + </edges> + <edges xmi:type="notation:Edge" xmi:id="_X1zZAFW4EeK0V4B2JYxJUg" type="4002" source="_X1yx8FW4EeK0V4B2JYxJUg" target="_SrG1w1W4EeK0V4B2JYxJUg"> + <styles xmi:type="notation:RoutingStyle" xmi:id="_X1zZAVW4EeK0V4B2JYxJUg" routing="Rectilinear"/> + <styles xmi:type="notation:FontStyle" xmi:id="_X1zZAlW4EeK0V4B2JYxJUg" fontName="Segoe UI"/> + <element xmi:type="henshin:IndependentUnit" href="rename_attribute_initial.henshin#_m8r4kVW4EeK0V4B2JYxJUg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_X1zZA1W4EeK0V4B2JYxJUg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_m-E_sFW4EeK0V4B2JYxJUg" type="4001" source="_m-B8YFW4EeK0V4B2JYxJUg" target="_1gq74FW3EeK0V4B2JYxJUg"> + <children xmi:type="notation:DecorationNode" xmi:id="_m-FmwFW4EeK0V4B2JYxJUg" type="6001"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_m-FmwVW4EeK0V4B2JYxJUg" x="-4" y="72"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_m-FmwlW4EeK0V4B2JYxJUg" type="6002"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_m-Fmw1W4EeK0V4B2JYxJUg" x="5" y="-57"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_m-E_sVW4EeK0V4B2JYxJUg" fontName="Segoe UI"/> + <element xmi:type="henshin:Edge" href="rename_attribute_initial.henshin#_m8rRgFW4EeK0V4B2JYxJUg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_m-E_slW4EeK0V4B2JYxJUg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + </edges> +</notation:Diagram>
diff --git a/org.eclipse.emf.refactor.refactorings.uml24/build.properties b/org.eclipse.emf.refactor.refactorings.uml24/build.properties index 34d2e4d..e9863e2 100644 --- a/org.eclipse.emf.refactor.refactorings.uml24/build.properties +++ b/org.eclipse.emf.refactor.refactorings.uml24/build.properties
@@ -1,4 +1,5 @@ source.. = src/ output.. = bin/ bin.includes = META-INF/,\ - . + .,\ + plugin.xml