Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptessier2011-02-07 10:21:28 +0000
committerptessier2011-02-07 10:21:28 +0000
commit89c32ab6b7fee7bbb51dd391ee0434088639446a (patch)
tree319571427ad29c4e68a478088f2d03bca869f91f /tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource
parentaa745fd24457ea77f2b9b434506a343cf7b2b737 (diff)
downloadorg.eclipse.papyrus-89c32ab6b7fee7bbb51dd391ee0434088639446a.tar.gz
org.eclipse.papyrus-89c32ab6b7fee7bbb51dd391ee0434088639446a.tar.xz
org.eclipse.papyrus-89c32ab6b7fee7bbb51dd391ee0434088639446a.zip
336371: [Model Explorer] add element to do recipe test
https://bugs.eclipse.org/bugs/show_bug.cgi?id=336371
Diffstat (limited to 'tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource')
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/umlModelExplorerRecipe.querySet4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/umlModelExplorerRecipe.querySet b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/umlModelExplorerRecipe.querySet
index 33acb96acd8..7f5ac542a67 100644
--- a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/umlModelExplorerRecipe.querySet
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/umlModelExplorerRecipe.querySet
@@ -5,4 +5,8 @@
<returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Dependency"/>
<scope href="http://www.eclipse.org/uml2/3.0.0/UML#//Package"/>
</queries>
+ <queries xsi:type="query:JavaModelQuery" name="getAllPorts" description="get all ports from a classifier" upperBound="-1" implementationClassName="org.eclipse.papyrus.uml.modelexplorer.recipetest.GetAllPorts">
+ <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Property"/>
+ <scope href="http://www.eclipse.org/uml2/3.0.0/UML#//Classifier"/>
+ </queries>
</query:ModelQuerySet>

Back to the top