Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptessier2011-02-07 08:06:02 -0500
committerptessier2011-02-07 08:06:02 -0500
commit437a8ffa2901ad4bd98509b1c8255523d3c97f55 (patch)
treee2be72d91a5d995885f0233a50724bc0aa5b1412 /tests/recipes/plugins
parenta1e308a5903dd8b5d21a4b9230d5742db5267275 (diff)
downloadorg.eclipse.papyrus-437a8ffa2901ad4bd98509b1c8255523d3c97f55.tar.gz
org.eclipse.papyrus-437a8ffa2901ad4bd98509b1c8255523d3c97f55.tar.xz
org.eclipse.papyrus-437a8ffa2901ad4bd98509b1c8255523d3c97f55.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')
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/LoadRecipeFacet.uiCustom18
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/LoadRecipeFacet2.uiCustom9
2 files changed, 25 insertions, 2 deletions
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/LoadRecipeFacet.uiCustom b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/LoadRecipeFacet.uiCustom
index fc5a3a8371c..3f2114148a3 100644
--- a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/LoadRecipeFacet.uiCustom
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/LoadRecipeFacet.uiCustom
@@ -2,16 +2,34 @@
<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="umlModelExplorerRecipe">
<types metaclassName="umlModelExplorerRecipe.NewClassifier">
<references referenceName="ports">
+ <customizedFeatures customizedFeature="backgroundColor">
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="(255,128,0)"/>
+ </customizedFeatures>
<customizedFeatures customizedFeature="icon">
<defaultValue xsi:type="uicustom:StaticFeatureValue" value="/org.eclipse.papyrus.icons.uml/resource/gif/Port.gif"/>
</customizedFeatures>
+ <customizedFeatures customizedFeature="bold">
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ </customizedFeatures>
+ <customizedFeatures customizedFeature="italic">
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ </customizedFeatures>
</references>
</types>
<types metaclassName="umlModelExplorerRecipe.NewPackage">
<references referenceName="dependencies">
+ <customizedFeatures customizedFeature="label">
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="DEPENDENCIES"/>
+ </customizedFeatures>
+ <customizedFeatures customizedFeature="color">
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="(0,255,0)"/>
+ </customizedFeatures>
<customizedFeatures customizedFeature="icon">
<defaultValue xsi:type="uicustom:StaticFeatureValue" value="/org.eclipse.papyrus.icons.uml/resource/gif/Dependency.gif"/>
</customizedFeatures>
+ <customizedFeatures customizedFeature="bold">
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ </customizedFeatures>
</references>
</types>
</uicustom:MetamodelView>
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/LoadRecipeFacet2.uiCustom
index 0ba85cb3abd..4ea875f22a1 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/LoadRecipeFacet2.uiCustom
@@ -7,8 +7,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>
@@ -23,5 +23,10 @@
<defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
</customizedFeatures>
</references>
+ <references referenceName="others">
+ <customizedFeatures>
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ </customizedFeatures>
+ </references>
</types>
</uicustom:MetamodelView>

Back to the top