Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptessier2011-02-04 11:21:07 -0500
committerptessier2011-02-04 11:21:07 -0500
commite43b2fddeabc006500cb4dd75f65b2b4b6ac1e57 (patch)
tree77bfe8aded9dc110d41bfc3300f92e7fe1020075 /tests/recipes
parent56833d27a447d15547d0171572adbb6745beb323 (diff)
downloadorg.eclipse.papyrus-e43b2fddeabc006500cb4dd75f65b2b4b6ac1e57.tar.gz
org.eclipse.papyrus-e43b2fddeabc006500cb4dd75f65b2b4b6ac1e57.tar.xz
org.eclipse.papyrus-e43b2fddeabc006500cb4dd75f65b2b4b6ac1e57.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')
-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.xml18
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/packageableElementItemLinkNotVisible.uiCustom13
3 files changed, 26 insertions, 8 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 4bcc2fd89a5..4f623664bdc 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
@@ -2,5 +2,6 @@ output.. = bin/
bin.includes = META-INF/,\
.,\
resource/packageInGreen.uiCustom,\
- plugin.xml
+ plugin.xml,\
+ resource/packageableElementItemLinkNotVisible.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 f0718ee9bfe..0cf1335f8be 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
@@ -1,7 +1,11 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
- <extension point="org.eclipse.emf.facet.infra.browser.custom.core.registration">
- <browserCustomization file="resource/packageInGreen.uiCustom"/>
- </extension>
-</plugin>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?eclipse version="3.4"?>
+
+<plugin>
+ <extension point="org.eclipse.emf.facet.infra.browser.custom.core.registration">
+ <browserCustomization file="resource/packageInGreen.uiCustom"/>
+ </extension>
+ <extension point="org.eclipse.emf.facet.infra.browser.custom.core.registration">
+ <browserCustomization file="resource/packageableElementItemLinkNotVisible.uiCustom"/>
+ </extension>
+</plugin>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/packageableElementItemLinkNotVisible.uiCustom b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/packageableElementItemLinkNotVisible.uiCustom
new file mode 100644
index 00000000000..4f6c51ac17b
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.modelexplorer.recipetest/resource/packageableElementItemLinkNotVisible.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="true"/>
+ </customizedFeatures>
+ <references referenceName="packagedElement">
+ <customizedFeatures customizedFeature="collapseLink">
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ </customizedFeatures>
+ </references>
+ </types>
+</uicustom:MetamodelView>

Back to the top