Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/developer/org.eclipse.papyrus.sysml.modelexplorer.tests.generator/src/org/eclipse/papyrus/sysml/modelexplorer/tests/generator/common/CopyPasteTests.mtl')
-rw-r--r--plugins/developer/org.eclipse.papyrus.sysml.modelexplorer.tests.generator/src/org/eclipse/papyrus/sysml/modelexplorer/tests/generator/common/CopyPasteTests.mtl2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/developer/org.eclipse.papyrus.sysml.modelexplorer.tests.generator/src/org/eclipse/papyrus/sysml/modelexplorer/tests/generator/common/CopyPasteTests.mtl b/plugins/developer/org.eclipse.papyrus.sysml.modelexplorer.tests.generator/src/org/eclipse/papyrus/sysml/modelexplorer/tests/generator/common/CopyPasteTests.mtl
index 959f05a7c47..88546ec4bbf 100644
--- a/plugins/developer/org.eclipse.papyrus.sysml.modelexplorer.tests.generator/src/org/eclipse/papyrus/sysml/modelexplorer/tests/generator/common/CopyPasteTests.mtl
+++ b/plugins/developer/org.eclipse.papyrus.sysml.modelexplorer.tests.generator/src/org/eclipse/papyrus/sysml/modelexplorer/tests/generator/common/CopyPasteTests.mtl
@@ -242,7 +242,7 @@ public class [getFileName(aClass)/] extends [getFileName(aClass.eContainer(Packa
[query public getFileName(aPackage: Package) : String = 'AbstractCopyPaste'.concat(aPackage.name).concat('Test')/]
[** Returns all Rules for the given test model *]
-[query public getAllElementTypesRules(aTestModel : Model) : Set(Package) = aTestModel.ownedElement->select(e : Element | isStereotyped(e, 'ModelExplorerTest::ElementTypeRulesCopyPasteTest'))/]
+[query public getAllElementTypesRules(aTestModel : Model) : Set(Package) = aTestModel.allOwnedElements()->select(e : Element | isStereotyped(e, 'ModelExplorerTest::ElementTypeRulesCopyPasteTest'))/]
[query public getAllSourceTargetRules(elementTypeRule : Package, aTestModel :Model ) : Set(Class) = elementTypeRule.ownedElement->select(e : Element | isStereotyped(e, 'ModelExplorerTest::SourceTargetRulesCopyPasteTest')) /]

Back to the top