refactoring SHOW ATTRIBUTE added
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringController$1.class b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringController$1.class new file mode 100644 index 0000000..5b701aa --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringController$1.class Binary files differ
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringController$InternalRefactoringProcessor.class b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringController$InternalRefactoringProcessor.class new file mode 100644 index 0000000..d707a45 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringController$InternalRefactoringProcessor.class Binary files differ
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringController.class b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringController.class new file mode 100644 index 0000000..222fd34 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringController.class Binary files differ
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringDataManagement.class b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringDataManagement.class new file mode 100644 index 0000000..75a1224 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringDataManagement.class Binary files differ
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringGuiHandler.class b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringGuiHandler.class new file mode 100644 index 0000000..760ed58 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringGuiHandler.class Binary files differ
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringInformation.class b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringInformation.class new file mode 100644 index 0000000..f07bd2d --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringInformation.class Binary files differ
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringTest$1.class b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringTest$1.class new file mode 100644 index 0000000..bcdf819 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringTest$1.class Binary files differ
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringTest.class b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringTest.class new file mode 100644 index 0000000..8776599 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringTest.class Binary files differ
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringWizard.class b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringWizard.class new file mode 100644 index 0000000..1872cf2 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringWizard.class Binary files differ
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringWizardPage.class b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringWizardPage.class new file mode 100644 index 0000000..e7850c6 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/bin/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringWizardPage.class Binary files differ
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/plugin.xml b/org.eclipse.emf.refactor.refactorings.uml24.henshin/plugin.xml index 4c0e0d2..6e34dfd 100644 --- a/org.eclipse.emf.refactor.refactorings.uml24.henshin/plugin.xml +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/plugin.xml
@@ -1,17 +1,23 @@ <?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"/> <refactoring controller="org.eclipse.emf.refactor.refactorings.uml24.hideattribute.RefactoringController" gui="org.eclipse.emf.refactor.refactorings.uml24.hideattribute.RefactoringGuiHandler" - id="org.eclipse.emf.refactor.refactorings.uml24.HideAttribute" + id="org.eclipse.emf.refactor.refactorings.uml24.hideattribute" menulabel="Hide Attribute" namespaceUri="http://www.eclipse.org/uml2/4.0.0/UML"/> +<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"/> +<refactoring + controller="org.eclipse.emf.refactor.refactorings.uml24.showattribute.RefactoringController" + gui="org.eclipse.emf.refactor.refactorings.uml24.showattribute.RefactoringGuiHandler" + id="org.eclipse.emf.refactor.refactorings.uml24.showattribute" + menulabel="Show 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/showattribute/RefactoringController.java b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringController.java new file mode 100644 index 0000000..ec6a841 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringController.java
@@ -0,0 +1,173 @@ +/** + * <copyright> + * </copyright> + * + * $Id: RefactoringControllerHenshin.javajet,v 1.1 2010/07/15 13:09:58 tarendt Exp $ + */ + package org.eclipse.emf.refactor.refactorings.uml24.showattribute; + +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>(); + + /** + * HenshinRunner 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.common.core.IController#getParent() + * @generated + */ + @Override + public Refactoring getParent() { + return this.parent; + } + + /** + * Sets the Refactoring supported by the controller. + * @param emfRefactoring Refactoring supported by the controller. + * @see org.eclipse.emf.refactor.common.core.IController# + * setParent(org.eclipse.emf.refactor.common.core.Refactoring) + * @generated + */ + @Override + public void setParent(Refactoring emfRefactoring) { + this.parent = emfRefactoring; + } + + /** + * Returns the DataManagement object of the model refactoring. + * @return DataManagement object of the model refactoring. + * @see org.eclipse.emf.refactor.henshin.core.IHenshinController# + * getDataManagementObject() + * @generated + */ + @Override + public IHenshinDataManagement getDataManagementObject() { + return this.dataManagement; + } + + /** + * Gets a HenshinRunner that executes Henshin transformations using + * the Henshin interpreter. + * @return HenshinRunner that executes Henshin transformations using + * the Henshin interpreter. + * @see org.eclipse.emf.refactor.henshin.core.IHenshinController# + * getHenshinRunner() + * @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.common.core.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.common.core.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/showattribute/RefactoringDataManagement.java b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringDataManagement.java new file mode 100644 index 0000000..56e61bf --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringDataManagement.java
@@ -0,0 +1,123 @@ +/** + * <copyright> + * </copyright> + * + * $Id: RefactoringDataManagementHenshin.javajet,v 1.1 2010/07/15 13:09:58 tarendt Exp $ + */ + package org.eclipse.emf.refactor.refactorings.uml24.showattribute; + +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"; + + /** + * 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)); + } + + /** + * Adds the Henshin informations to the data management. + * @generated + */ + private void addInformation() { + this.initialConditionsInformation. + setTransformationFileName("show_attribute_check_1"); + this.createChangeInformation. + setTransformationFileName("show_attribute_execute"); + } + + /** + * @see org.eclipse.emf.refactor.henshin.core.IHenshinDataManagement# + * getCreateChangeHenshinInformation() + * @generated + */ + @Override + public IHenshinInformation getCreateChangeHenshinInformation() { + return this.createChangeInformation; + } + + /** + * @see org.eclipse.emf.refactor.henshin.core.IHenshinDataManagement# + * getFinalConditionsHenshinInformation() + * @generated + */ + @Override + public IHenshinInformation getFinalConditionsHenshinInformation() { + return this.finalConditionsInformation; + } + + /** + * @see org.eclipse.emf.refactor.henshin.core.IHenshinDataManagement# + * getInitialConditionsHenshinInformation() + * @generated + */ + @Override + public IHenshinInformation getInitialConditionsHenshinInformation() { + return this.initialConditionsInformation; + } + + /** + * @see org.eclipse.emf.refactor.common.core.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/showattribute/RefactoringGuiHandler.java b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringGuiHandler.java new file mode 100644 index 0000000..239b833 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringGuiHandler.java
@@ -0,0 +1,76 @@ +/** + * <copyright> + * </copyright> + * + * $Id: RefactoringGuiHandlerHenshin.javajet,v 1.1 2010/07/15 13:09:58 tarendt Exp $ + */ + package org.eclipse.emf.refactor.refactorings.uml24.showattribute; + +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 + */ + Refactoring parent; + + /** + * @see org.eclipse.emf.refactor.common.core.ui.IGuiHandler#getParent() + * @generated + */ + @Override + public Refactoring getParent() { + return parent; + } + + /** + * @see org.eclipse.emf.refactor.common.core.ui.IGuiHandler# + * setParent(org.eclipse.emf.refactor.common.core.Refactoring) + * @generated + */ + @Override + public void setParent(Refactoring emfRefactoring) { + this.parent = emfRefactoring; + } + + /** + * @see org.eclipse.emf.refactor.common.core.ui.IGuiHandler#show() + * @generated + */ + @Override + public RefactoringWizard show() { + return new org.eclipse.emf.refactor.refactorings.uml24.showattribute.RefactoringWizard + ((RefactoringController)this.parent.getController()); + } + + /** + * @see org.eclipse.emf.refactor.common.core.ui.IGuiHandler# + * showInMenu(java.util.List) + * @generated + */ + @Override + public boolean showInMenu(List<EObject> selection) { + if (selection.size() > 1) return false; + 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/showattribute/RefactoringInformation.java b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringInformation.java new file mode 100644 index 0000000..cd6f172 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringInformation.java
@@ -0,0 +1,79 @@ +/** + * <copyright> + * </copyright> + * + * $Id: RefactoringInformationHenshin.javajet,v 1.2 2011/03/16 14:39:16 tarendt Exp $ + */ + package org.eclipse.emf.refactor.refactorings.uml24.showattribute; + +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.eclipse.emf.refactor.refactorings.uml24.henshin.Activator; +import org.osgi.framework.Bundle; + +/** + * 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.henshin.core.IHenshinInformation# + * getHenshinDataManagement() + * @generated + */ + @Override + public IHenshinDataManagement getHenshinDataManagement() { + return this.dataManagement; + } + + /** + * @see org.eclipse.emf.refactor.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/showattribute/RefactoringTest.java b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringTest.java new file mode 100644 index 0000000..c0aafb0 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringTest.java
@@ -0,0 +1,101 @@ +/** + * <copyright> + * </copyright> + * + * $Id: RefactoringTestHenshin.javajet,v 1.2 2011/03/16 16:14:22 tarendt Exp $ + */ + +package org.eclipse.emf.refactor.refactorings.uml24.showattribute; + +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("icse.showattributehenshin", + "uml", + new File(".").getCanonicalPath(), + new Refactoring(null, "", "http://www.eclipse.org/uml2/3.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/" + "icse.showattributehenshin"; + 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/showattribute/RefactoringWizard.java b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringWizard.java new file mode 100644 index 0000000..a5e4a5a --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringWizard.java
@@ -0,0 +1,40 @@ +/** + * <copyright> + * </copyright> + * + * $Id: RefactoringWizardHenshin.javajet,v 1.1 2010/07/15 13:09:58 tarendt Exp $ + */ + package org.eclipse.emf.refactor.refactorings.uml24.showattribute; + +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/showattribute/RefactoringWizardPage.java b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringWizardPage.java new file mode 100644 index 0000000..12999fe --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/src/org/eclipse/emf/refactor/refactorings/uml24/showattribute/RefactoringWizardPage.java
@@ -0,0 +1,82 @@ +/** + * <copyright> + * </copyright> + * + * $Id: RefactoringWizardPageHenshin.javajet,v 1.1 2010/07/15 13:09:58 tarendt Exp $ + */ + package org.eclipse.emf.refactor.refactorings.uml24.showattribute; + +import java.util.List; + +import org.eclipse.emf.refactor.refactoring.runtime.ltk.ui.AbstractRefactoringWizard; +import org.eclipse.emf.refactor.refactoring.runtime.ui.IInputPageButtonCreator; +import org.eclipse.emf.refactor.refactoring.runtime.ui.InputPageButtonLoader; +import org.eclipse.ltk.ui.refactoring.UserInputWizardPage; +import org.eclipse.swt.SWT; +import org.eclipse.swt.layout.GridLayout; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Event; +import org.eclipse.swt.widgets.Listener; + +/** + * 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; + + + /** + * 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 + */ + @Override + public void handleEvent(Event event) { + getWizard().getContainer().updateButtons(); + + + } + + /** + * @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; + composite.setLayout(gl); + + List<IInputPageButtonCreator> buttonCreators = InputPageButtonLoader.iNSTANCE.getInputPageButtonCreatorClasses(); + for(IInputPageButtonCreator creator : buttonCreators){ + creator.createButton(composite, controller, (AbstractRefactoringWizard)this.getWizard()); + } + + setControl(composite); + } + +} + \ No newline at end of file
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/transformation/show_attribute_check_1.henshin b/org.eclipse.emf.refactor.refactorings.uml24.henshin/transformation/show_attribute_check_1.henshin new file mode 100644 index 0000000..fd39975 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/transformation/show_attribute_check_1.henshin
@@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="ASCII"?> +<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="_vVPIUKKuEeKVq9bLGfaZZA"> + <imports href="http://www.eclipse.org/uml2/4.0.0/UML#/"/> + <units xsi:type="henshin:Rule" xmi:id="_ewChoOgOEeCg8vdvhQpFKA" description="This refactoring can be applied on class attributes only!" name="check_isAttribute"> + <parameters xmi:id="_vkmrAOgOEeCg8vdvhQpFKA" name="prop"/> + <lhs xmi:id="_ewChoegOEeCg8vdvhQpFKA" name="LHS"> + <nodes xmi:id="_8vO5QOgOEeCg8vdvhQpFKA" name="prop"> + <type href="http://www.eclipse.org/uml2/3.0.0/UML#//Property"/> + </nodes> + <formula xsi:type="henshin:Not" xmi:id="_h3Nc8KKuEeKVq8bLGfaZZA"> + <child xsi:type="henshin:NestedCondition" xmi:id="_FWS1sOgPEeCg8vdvhQpFKA"> + <conclusion xmi:id="_FWS1segPEeCg8vdvhQpFKA"> + <nodes xmi:id="_FWS1sugPEeCg8vdvhQpFKA" name="prop" incoming="_KKQT8OgPEeCg8vdvhQpFKA"> + <type href="http://www.eclipse.org/uml2/3.0.0/UML#//Property"/> + </nodes> + <nodes xmi:id="_HYHjgOgPEeCg8vdvhQpFKA" name="cl" outgoing="_KKQT8OgPEeCg8vdvhQpFKA"> + <type href="http://www.eclipse.org/uml2/3.0.0/UML#//Class"/> + </nodes> + <edges xmi:id="_KKQT8OgPEeCg8vdvhQpFKA" source="_HYHjgOgPEeCg8vdvhQpFKA" target="_FWS1sugPEeCg8vdvhQpFKA"> + <type href="http://www.eclipse.org/uml2/3.0.0/UML#//StructuredClassifier/ownedAttribute"/> + </edges> + </conclusion> + <mappings xmi:id="_FWS1s-gPEeCg8vdvhQpFKA" origin="_8vO5QOgOEeCg8vdvhQpFKA" image="_FWS1sugPEeCg8vdvhQpFKA"/> + </child> + </formula> + </lhs> + <rhs xmi:id="_ewChougOEeCg8vdvhQpFKA" name="RHS"> + <nodes xmi:id="_EcQ2YOgPEeCg8vdvhQpFKA" name="prop"> + <type href="http://www.eclipse.org/uml2/3.0.0/UML#//Property"/> + </nodes> + </rhs> + <mappings xmi:id="_EcQ2YegPEeCg8vdvhQpFKA" origin="_8vO5QOgOEeCg8vdvhQpFKA" image="_EcQ2YOgPEeCg8vdvhQpFKA"/> + </units> + <units xsi:type="henshin:Rule" xmi:id="_wxvMgOgOEeCg8vdvhQpFKA" description="This refactoring can be applied on private attributes only!" name="check_isPrivate"> + <parameters xmi:id="_0QkD0OgOEeCg8vdvhQpFKA" name="att"/> + <parameters xmi:id="_AtW6sOgaEeCg8vdvhQpFKA" description="" name="vis"/> + <lhs xmi:id="_wxvMgegOEeCg8vdvhQpFKA" name="LHS"> + <nodes xmi:id="_WfLpQOgPEeCg8vdvhQpFKA" name="att"> + <type href="http://www.eclipse.org/uml2/3.0.0/UML#//Property"/> + </nodes> + <formula xsi:type="henshin:Not" xmi:id="_h3Nc8KKuEeKVq9bLGfaZZA"> + <child xsi:type="henshin:NestedCondition" xmi:id="_eZRK8OgPEeCg8vdvhQpFKA"> + <conclusion xmi:id="_eZRK8egPEeCg8vdvhQpFKA"> + <nodes xmi:id="_eZRK8ugPEeCg8vdvhQpFKA" name="att"> + <type href="http://www.eclipse.org/uml2/3.0.0/UML#//Property"/> + <attributes xmi:id="_jUQeQOgPEeCg8vdvhQpFKA" value="vis"> + <type href="http://www.eclipse.org/uml2/3.0.0/UML#//NamedElement/visibility"/> + </attributes> + </nodes> + </conclusion> + <mappings xmi:id="_eZRK8-gPEeCg8vdvhQpFKA" origin="_WfLpQOgPEeCg8vdvhQpFKA" image="_eZRK8ugPEeCg8vdvhQpFKA"/> + </child> + </formula> + </lhs> + <rhs xmi:id="_wxvMgugOEeCg8vdvhQpFKA" name="RHS"> + <nodes xmi:id="_d2XSMOgPEeCg8vdvhQpFKA" name="att"> + <type href="http://www.eclipse.org/uml2/3.0.0/UML#//Property"/> + </nodes> + </rhs> + <attributeConditions xmi:id="_CpepIOgaEeCg8vdvhQpFKA" description="" conditionText="vis == "private""/> + <mappings xmi:id="_d2XSMegPEeCg8vdvhQpFKA" origin="_WfLpQOgPEeCg8vdvhQpFKA" image="_d2XSMOgPEeCg8vdvhQpFKA"/> + </units> + <units xsi:type="henshin:IndependentUnit" xmi:id="_WwkJoOgOEeCg8vdvhQpFKA" name="mainUnit" subUnits="_ewChoOgOEeCg8vdvhQpFKA _wxvMgOgOEeCg8vdvhQpFKA"> + <parameters xmi:id="_YjOaEOgOEeCg8vdvhQpFKA" name="selectedEObject"/> + <parameterMappings xmi:id="_LVMnoOgQEeCg8vdvhQpFKA" source="_YjOaEOgOEeCg8vdvhQpFKA" target="_vkmrAOgOEeCg8vdvhQpFKA"/> + <parameterMappings xmi:id="_NJqO4OgQEeCg8vdvhQpFKA" source="_YjOaEOgOEeCg8vdvhQpFKA" target="_0QkD0OgOEeCg8vdvhQpFKA"/> + </units> +</henshin:Module>
diff --git a/org.eclipse.emf.refactor.refactorings.uml24.henshin/transformation/show_attribute_execute.henshin b/org.eclipse.emf.refactor.refactorings.uml24.henshin/transformation/show_attribute_execute.henshin new file mode 100644 index 0000000..0158632 --- /dev/null +++ b/org.eclipse.emf.refactor.refactorings.uml24.henshin/transformation/show_attribute_execute.henshin
@@ -0,0 +1,136 @@ +<?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="_hUpO8B7PEeOS7axWbKnJuA"> + <imports href="http://www.eclipse.org/uml2/4.0.0/UML#/"/> + <units xsi:type="henshin:Rule" xmi:id="_60AnEOgsEeCg8vdvhQpFKA" name="change_visibility"> + <parameters xmi:id="_YjOaEOgOEeCg8vdvhQpFKA" name="att"/> + <lhs xmi:id="_60AnEegsEeCg8vdvhQpFKA" name="LHS"> + <nodes xmi:id="__zjqQOgsEeCg8vdvhQpFKA" name="att"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Property"/> + </nodes> + </lhs> + <rhs xmi:id="_60AnEugsEeCg8vdvhQpFKA" name="RHS"> + <nodes xmi:id="_ByqbQOgtEeCg8vdvhQpFKA" name="att"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Property"/> + <attributes xmi:id="_Cd1fMOgtEeCg8vdvhQpFKA" value=""public""> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement/visibility"/> + </attributes> + </nodes> + </rhs> + <mappings xmi:id="_ByqbQegtEeCg8vdvhQpFKA" origin="__zjqQOgsEeCg8vdvhQpFKA" image="_ByqbQOgtEeCg8vdvhQpFKA"/> + </units> + <units xsi:type="henshin:Rule" xmi:id="_QG_VIOgwEeCg8vdvhQpFKA" name="remove_getter" checkDangling="false"> + <parameters xmi:id="_cr-fsOgwEeCg8vdvhQpFKA" name="att"/> + <parameters xmi:id="_leVGIOgwEeCg8vdvhQpFKA" name="attname"/> + <parameters xmi:id="_GjQNsOgzEeCg8vdvhQpFKA" name="opname"/> + <lhs xmi:id="_QG_VIegwEeCg8vdvhQpFKA" name="LHS"> + <nodes xmi:id="_d3LHgOgwEeCg8vdvhQpFKA" name="att" incoming="_bkbzYOgxEeCg8vdvhQpFKA"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Property"/> + <attributes xmi:id="_nUnSUOgwEeCg8vdvhQpFKA" value="attname"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement/name"/> + </attributes> + </nodes> + <nodes xmi:id="_rXTrsOgwEeCg8vdvhQpFKA" name="cl" outgoing="_bkbzYOgxEeCg8vdvhQpFKA _YF7CIOhSEeCg8vdvhQpFKA"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/> + </nodes> + <nodes xmi:id="_U9w-YOhSEeCg8vdvhQpFKA" name="exop" incoming="_YF7CIOhSEeCg8vdvhQpFKA"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Operation"/> + <attributes xmi:id="_fM5dIOhYEeCg8vdvhQpFKA" value="opname"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement/name"/> + </attributes> + </nodes> + <edges xmi:id="_bkbzYOgxEeCg8vdvhQpFKA" source="_rXTrsOgwEeCg8vdvhQpFKA" target="_d3LHgOgwEeCg8vdvhQpFKA"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//StructuredClassifier/ownedAttribute"/> + </edges> + <edges xmi:id="_YF7CIOhSEeCg8vdvhQpFKA" source="_rXTrsOgwEeCg8vdvhQpFKA" target="_U9w-YOhSEeCg8vdvhQpFKA"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Class/ownedOperation"/> + </edges> + </lhs> + <rhs xmi:id="_QG_VIugwEeCg8vdvhQpFKA" name="RHS"> + <nodes xmi:id="_PfqvQOhYEeCg8vdvhQpFKA" name="att" incoming="_PfqvROhYEeCg8vdvhQpFKA"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Property"/> + <attributes xmi:id="_PfqvQehYEeCg8vdvhQpFKA" value="attname"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement/name"/> + </attributes> + </nodes> + <nodes xmi:id="_PfqvQuhYEeCg8vdvhQpFKA" name="cl" outgoing="_PfqvROhYEeCg8vdvhQpFKA"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/> + </nodes> + <edges xmi:id="_PfqvROhYEeCg8vdvhQpFKA" source="_PfqvQuhYEeCg8vdvhQpFKA" target="_PfqvQOhYEeCg8vdvhQpFKA"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//StructuredClassifier/ownedAttribute"/> + </edges> + </rhs> + <attributeConditions xmi:id="_m5JpEOhWEeCg8vdvhQpFKA" conditionText="opname == "get"+attname.substring(0,1).toUpperCase()+attname.substr(1)"/> + <mappings xmi:id="_PfqvRuhYEeCg8vdvhQpFKA" origin="_d3LHgOgwEeCg8vdvhQpFKA" image="_PfqvQOhYEeCg8vdvhQpFKA"/> + <mappings xmi:id="_PfqvR-hYEeCg8vdvhQpFKA" origin="_rXTrsOgwEeCg8vdvhQpFKA" image="_PfqvQuhYEeCg8vdvhQpFKA"/> + </units> + <units xsi:type="henshin:Rule" xmi:id="_KSLAYOg8EeCg8vdvhQpFKA" name="remove_setter" checkDangling="false"> + <parameters xmi:id="_KSLAYeg8EeCg8vdvhQpFKA" name="att"/> + <parameters xmi:id="_KSLAYug8EeCg8vdvhQpFKA" name="attname"/> + <parameters xmi:id="_KSLAY-g8EeCg8vdvhQpFKA" name="opname"/> + <lhs xmi:id="_KSLAZOg8EeCg8vdvhQpFKA" name="LHS"> + <nodes xmi:id="_KSLAZeg8EeCg8vdvhQpFKA" name="att" incoming="_KSLAaOg8EeCg8vdvhQpFKA"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Property"/> + <attributes xmi:id="_KSLAZug8EeCg8vdvhQpFKA" value="attname"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement/name"/> + </attributes> + </nodes> + <nodes xmi:id="_KSLAZ-g8EeCg8vdvhQpFKA" name="cl" incoming="_TnnmoOhZEeCg8vdvhQpFKA" outgoing="_KSLAaOg8EeCg8vdvhQpFKA _-0Wv4OhUEeCg8vdvhQpFKA"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/> + </nodes> + <nodes xmi:id="_r7vrIOhUEeCg8vdvhQpFKA" name="exop" incoming="_-0Wv4OhUEeCg8vdvhQpFKA" outgoing="_TnnmoOhZEeCg8vdvhQpFKA"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Operation"/> + <attributes xmi:id="_ueXY4OhUEeCg8vdvhQpFKA" value="opname"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement/name"/> + </attributes> + </nodes> + <edges xmi:id="_KSLAaOg8EeCg8vdvhQpFKA" source="_KSLAZ-g8EeCg8vdvhQpFKA" target="_KSLAZeg8EeCg8vdvhQpFKA"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//StructuredClassifier/ownedAttribute"/> + </edges> + <edges xmi:id="_-0Wv4OhUEeCg8vdvhQpFKA" source="_KSLAZ-g8EeCg8vdvhQpFKA" target="_r7vrIOhUEeCg8vdvhQpFKA"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Class/ownedOperation"/> + </edges> + <edges xmi:id="_TnnmoOhZEeCg8vdvhQpFKA" source="_r7vrIOhUEeCg8vdvhQpFKA" target="_KSLAZ-g8EeCg8vdvhQpFKA"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Operation/class"/> + </edges> + </lhs> + <rhs xmi:id="_KSLAaeg8EeCg8vdvhQpFKA" name="RHS"> + <nodes xmi:id="_KSLAaug8EeCg8vdvhQpFKA" name="att" incoming="_KSLAceg8EeCg8vdvhQpFKA"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Property"/> + <attributes xmi:id="_KSLAa-g8EeCg8vdvhQpFKA" value="attname"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement/name"/> + </attributes> + </nodes> + <nodes xmi:id="_KSLAbOg8EeCg8vdvhQpFKA" name="cl" outgoing="_KSLAceg8EeCg8vdvhQpFKA"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//Class"/> + </nodes> + <edges xmi:id="_KSLAceg8EeCg8vdvhQpFKA" source="_KSLAbOg8EeCg8vdvhQpFKA" target="_KSLAaug8EeCg8vdvhQpFKA"> + <type href="http://www.eclipse.org/uml2/4.0.0/UML#//StructuredClassifier/ownedAttribute"/> + </edges> + </rhs> + <attributeConditions xmi:id="_iBAOYOhWEeCg8vdvhQpFKA" conditionText="opname == "set"+attname.substring(0,1).toUpperCase()+attname.substr(1)"/> + <mappings xmi:id="_KSLnc-g8EeCg8vdvhQpFKA" origin="_KSLAZeg8EeCg8vdvhQpFKA" image="_KSLAaug8EeCg8vdvhQpFKA"/> + <mappings xmi:id="_KSLndOg8EeCg8vdvhQpFKA" origin="_KSLAZ-g8EeCg8vdvhQpFKA" image="_KSLAbOg8EeCg8vdvhQpFKA"/> + </units> + <units xsi:type="henshin:SequentialUnit" xmi:id="_4dLLMOgvEeCg8vdvhQpFKA" name="mainUnit" description="" subUnits="_60AnEOgsEeCg8vdvhQpFKA _T0Gr0OhLEeCg8vdvhQpFKA _4KaWgOhLEeCg8vdvhQpFKA"> + <parameters xmi:id="_UbZQ8OgtEeCg8vdvhQpFKA" name="selectedEObject"/> + <parameterMappings xmi:id="_-uGWsOgvEeCg8vdvhQpFKA" source="_UbZQ8OgtEeCg8vdvhQpFKA" target="_YjOaEOgOEeCg8vdvhQpFKA"/> + <parameterMappings xmi:id="_lsIdUOhLEeCg8vdvhQpFKA" source="_UbZQ8OgtEeCg8vdvhQpFKA" target="_WTT5MOhLEeCg8vdvhQpFKA"/> + <parameterMappings xmi:id="_EUUHkOhMEeCg8vdvhQpFKA" source="_UbZQ8OgtEeCg8vdvhQpFKA" target="_96mMcOhLEeCg8vdvhQpFKA"/> + </units> + <units xsi:type="henshin:LoopUnit" xmi:id="_T0Gr0OhLEeCg8vdvhQpFKA" name="countedGetter" subUnit="_bxmt4OhLEeCg8vdvhQpFKA"> + <parameters xmi:id="_WTT5MOhLEeCg8vdvhQpFKA" name="selectedEObject"/> + <parameterMappings xmi:id="_i6tekOhLEeCg8vdvhQpFKA" source="_WTT5MOhLEeCg8vdvhQpFKA" target="_eBRDYOhLEeCg8vdvhQpFKA"/> + </units> + <units xsi:type="henshin:IndependentUnit" xmi:id="_bxmt4OhLEeCg8vdvhQpFKA" name="indepGetter" subUnits="_QG_VIOgwEeCg8vdvhQpFKA"> + <parameters xmi:id="_eBRDYOhLEeCg8vdvhQpFKA" name="selectedEObject"/> + <parameterMappings xmi:id="_gwXt8OhLEeCg8vdvhQpFKA" source="_eBRDYOhLEeCg8vdvhQpFKA" target="_cr-fsOgwEeCg8vdvhQpFKA"/> + </units> + <units xsi:type="henshin:LoopUnit" xmi:id="_4KaWgOhLEeCg8vdvhQpFKA" name="countedSetter" subUnit="_7lyRMOhLEeCg8vdvhQpFKA"> + <parameters xmi:id="_96mMcOhLEeCg8vdvhQpFKA" name="selectedEObject"/> + <parameterMappings xmi:id="__-0uAOhLEeCg8vdvhQpFKA" source="_96mMcOhLEeCg8vdvhQpFKA" target="_-NHf0OhLEeCg8vdvhQpFKA"/> + </units> + <units xsi:type="henshin:IndependentUnit" xmi:id="_7lyRMOhLEeCg8vdvhQpFKA" name="indepSetter" subUnits="_KSLAYOg8EeCg8vdvhQpFKA"> + <parameters xmi:id="_-NHf0OhLEeCg8vdvhQpFKA" name="selectedEObject"/> + <parameterMappings xmi:id="_B6CdgOhMEeCg8vdvhQpFKA" source="_-NHf0OhLEeCg8vdvhQpFKA" target="_KSLAYeg8EeCg8vdvhQpFKA"/> + </units> +</henshin:Module>