Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlorenzo2011-03-16 10:14:22 +0000
committervlorenzo2011-03-16 10:14:22 +0000
commitaac38554a97854b3f178ad7a25aad1f2b11e55c2 (patch)
treeed72aec38a510360a39b55ede90f5bc910741d7e /tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/umlModelExplorerRecipe.querySet
parentdad6b4f82d7ae41feab8ad2671ed0c5d0041707c (diff)
downloadorg.eclipse.papyrus-aac38554a97854b3f178ad7a25aad1f2b11e55c2.tar.gz
org.eclipse.papyrus-aac38554a97854b3f178ad7a25aad1f2b11e55c2.tar.xz
org.eclipse.papyrus-aac38554a97854b3f178ad7a25aad1f2b11e55c2.zip
NEW bug 336371: [Model Explorer] add element to do recipe test
https://bugs.eclipse.org/bugs/show_bug.cgi?id=336371 Add the request GetPackageBackgroundColor and backgroundPackage.uiCustom.
Diffstat (limited to 'tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/umlModelExplorerRecipe.querySet')
-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 3f765b509ec..2b8afc9c478 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
@@ -17,4 +17,8 @@
<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>
+ <queries xsi:type="query:JavaModelQuery" name="GetPackageBackgroundColor" description="return Cyan if the package contains memebers and yellow if not" implementationClassName="org.eclipse.papyrus.uml.modelexplorer.recipetest.GetBackgroundPackageColor">
+ <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/3.0.0/UML#//String"/>
+ <scope href="http://www.eclipse.org/uml2/3.0.0/UML#//Package"/>
+ </queries>
</query:ModelQuerySet>

Back to the top