Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptessier2011-02-04 11:33:04 -0500
committerptessier2011-02-04 11:33:04 -0500
commitd2ebf2442edd6075c58a162760d8a156f0bbdc69 (patch)
treea4954dc1fcd79189ecd06ae43fcd4ac10b7a8065 /tests/recipes/plugins
parente43b2fddeabc006500cb4dd75f65b2b4b6ac1e57 (diff)
downloadorg.eclipse.papyrus-d2ebf2442edd6075c58a162760d8a156f0bbdc69.tar.gz
org.eclipse.papyrus-d2ebf2442edd6075c58a162760d8a156f0bbdc69.tar.xz
org.eclipse.papyrus-d2ebf2442edd6075c58a162760d8a156f0bbdc69.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/build.properties3
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/plugin.xml3
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/packagedElementsItemLinksWithIcon.uiCustom13
3 files changed, 18 insertions, 1 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 4f623664bdc..e5e07daf5bb 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
@@ -3,5 +3,6 @@ bin.includes = META-INF/,\
.,\
resource/packageInGreen.uiCustom,\
plugin.xml,\
- resource/packageableElementItemLinkNotVisible.uiCustom
+ resource/packageableElementItemLinkNotVisible.uiCustom,\
+ resource/packagedElementsItemLinksWithIcon.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 0cf1335f8be..95156aada46 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
@@ -8,4 +8,7 @@
<extension point="org.eclipse.emf.facet.infra.browser.custom.core.registration">
<browserCustomization file="resource/packageableElementItemLinkNotVisible.uiCustom"/>
</extension>
+ <extension point="org.eclipse.emf.facet.infra.browser.custom.core.registration">
+ <browserCustomization file="resource/packagedElementsItemLinksWithIcon.uiCustom"/>
+ </extension>
</plugin>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/packagedElementsItemLinksWithIcon.uiCustom b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/packagedElementsItemLinksWithIcon.uiCustom
new file mode 100644
index 00000000000..d382a94ee5c
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/packagedElementsItemLinksWithIcon.uiCustom
@@ -0,0 +1,13 @@
+<?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="bold">
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ </customizedFeatures>
+ <references referenceName="packagedElement">
+ <customizedFeatures customizedFeature="icon">
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="/org.eclipse.papyrus.icons.uml/resource/gif/Actor.gif"/>
+ </customizedFeatures>
+ </references>
+ </types>
+</uicustom:MetamodelView>

Back to the top