Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptessier2011-04-07 09:27:03 -0400
committerptessier2011-04-07 09:27:03 -0400
commitaa82fd8bd094df5c8f7aa6cf5e4309fb433f7484 (patch)
tree24e16f0e68c600327613d860bc3ba00b36dc1733 /tests/recipes
parent289a1d4cd260ae05eb023ee5837c98aec0963e66 (diff)
downloadorg.eclipse.papyrus-aa82fd8bd094df5c8f7aa6cf5e4309fb433f7484.tar.gz
org.eclipse.papyrus-aa82fd8bd094df5c8f7aa6cf5e4309fb433f7484.tar.xz
org.eclipse.papyrus-aa82fd8bd094df5c8f7aa6cf5e4309fb433f7484.zip
Bug 336371 - [Model Explorer] add element to do recipe test
Diffstat (limited to 'tests/recipes')
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/build.properties2
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/plugin.xml8
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/LoadRecipeAdvancedFacet.uiCustom (renamed from tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/LoadRecipeFacet2.uiCustom)8
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/packageInGreenWithoutPackageableElement.uiCustom69
4 files changed, 81 insertions, 6 deletions
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/build.properties b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/build.properties
index d8b07494fcc..1450db83a90 100644
--- a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/build.properties
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/build.properties
@@ -8,7 +8,7 @@ bin.includes = META-INF/,\
resource/umlModelExplorerRecipe.querySet,\
resource/umlModelExplorerRecipe.facetSet,\
resource/LoadRecipeFacet.uiCustom,\
- resource/LoadRecipeFacet2.uiCustom,\
+ resource/LoadRecipeAdvancedFacet.uiCustom,\
resource/overlayFacet.uiCustom,\
resource/backgroundPackage.uiCustom
source.. = src/
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/plugin.xml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/plugin.xml
index 91aac4d7574..d17ddd75310 100644
--- a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/plugin.xml
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/plugin.xml
@@ -21,7 +21,7 @@
<browserCustomization file="resource/LoadRecipeFacet.uiCustom"/>
</extension>
<extension point="org.eclipse.emf.facet.infra.browser.custom.core.registration">
- <browserCustomization file="resource/LoadRecipeFacet2.uiCustom">
+ <browserCustomization file="resource/LoadRecipeAdvancedFacet.uiCustom">
</browserCustomization>
</extension>
<extension point="org.eclipse.emf.facet.infra.browser.custom.core.registration">
@@ -35,4 +35,10 @@
file="resource/backgroundPackage.uiCustom"
loadByDefault="true"/>
</extension>
+ <extension
+ point="org.eclipse.emf.facet.infra.browser.custom.core.registration">
+ <browserCustomization
+ file="resource/packageInGreenWithoutPackageableElement.uiCustom">
+ </browserCustomization>
+ </extension>
</plugin>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/LoadRecipeFacet2.uiCustom b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/LoadRecipeAdvancedFacet.uiCustom
index 4ea875f22a1..7f34cbddef2 100644
--- a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/LoadRecipeFacet2.uiCustom
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/LoadRecipeAdvancedFacet.uiCustom
@@ -7,8 +7,8 @@
</customizedFeatures>
</references>
<references referenceName="others">
- <customizedFeatures customizedFeature="collapseLink">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ <customizedFeatures>
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
</customizedFeatures>
</references>
</types>
@@ -24,8 +24,8 @@
</customizedFeatures>
</references>
<references referenceName="others">
- <customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <customizedFeatures customizedFeature="collapseLink">
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
</customizedFeatures>
</references>
</types>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/packageInGreenWithoutPackageableElement.uiCustom b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/packageInGreenWithoutPackageableElement.uiCustom
new file mode 100644
index 00000000000..36b6e0e777f
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/packageInGreenWithoutPackageableElement.uiCustom
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="ASCII"?>
+<uicustom:MetamodelView xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:uicustom="http://www.eclipse.org/EmfFacet/infra/browser/custom/0.8" metamodelURI="http://www.eclipse.org/uml2/3.0.0/UML">
+ <types metaclassName="uml.Package">
+ <customizedFeatures customizedFeature="color">
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="(255,0,0)"/>
+ </customizedFeatures>
+ <customizedFeatures customizedFeature="backgroundColor">
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="(0,128,0)"/>
+ </customizedFeatures>
+ <customizedFeatures customizedFeature="bold">
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ </customizedFeatures>
+ <references referenceName="packagedElement">
+ <customizedFeatures>
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ </customizedFeatures>
+ </references>
+ <references referenceName="ownedElement">
+ <customizedFeatures>
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ </customizedFeatures>
+ </references>
+ <references referenceName="ownedComment">
+ <customizedFeatures>
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ </customizedFeatures>
+ </references>
+ <references referenceName="eAnnotations">
+ <customizedFeatures>
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ </customizedFeatures>
+ </references>
+ <references referenceName="nameExpression">
+ <customizedFeatures>
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ </customizedFeatures>
+ </references>
+ <references referenceName="ownedRule">
+ <customizedFeatures>
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ </customizedFeatures>
+ </references>
+ <references referenceName="nestedPackage">
+ <customizedFeatures>
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ </customizedFeatures>
+ </references>
+ <references referenceName="nestingPackage">
+ <customizedFeatures>
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ </customizedFeatures>
+ </references>
+ <references referenceName="ownedType">
+ <customizedFeatures>
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ </customizedFeatures>
+ </references>
+ <references referenceName="ownedMember">
+ <customizedFeatures>
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ </customizedFeatures>
+ </references>
+ <references referenceName="member">
+ <customizedFeatures>
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ </customizedFeatures>
+ </references>
+ </types>
+</uicustom:MetamodelView>

Back to the top