diff options
author | ptessier | 2011-02-07 13:06:02 +0000 |
---|---|---|
committer | ptessier | 2011-02-07 13:06:02 +0000 |
commit | 437a8ffa2901ad4bd98509b1c8255523d3c97f55 (patch) | |
tree | e2be72d91a5d995885f0233a50724bc0aa5b1412 /tests/recipes/plugins | |
parent | a1e308a5903dd8b5d21a4b9230d5742db5267275 (diff) | |
download | org.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')
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>
|