Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlorenzo2012-07-05 12:58:21 +0000
committervlorenzo2012-07-05 12:58:21 +0000
commit891247fc5d06eaf064cf5c483c370fc56b736122 (patch)
treed6f3226deb7e86a28ce20f259a1bbc7af880a709 /extraplugins
parent42255365dd495a7df10d9ea9ab84820182bdc2ff (diff)
downloadorg.eclipse.papyrus-891247fc5d06eaf064cf5c483c370fc56b736122.tar.gz
org.eclipse.papyrus-891247fc5d06eaf064cf5c483c370fc56b736122.tar.xz
org.eclipse.papyrus-891247fc5d06eaf064cf5c483c370fc56b736122.zip
384358: [UML Compare] problems with customizations applied on the viewers
https://bugs.eclipse.org/bugs/show_bug.cgi?id=384358
Diffstat (limited to 'extraplugins')
-rw-r--r--extraplugins/uml/compare/org.eclipse.papyrus.uml.compare.diff/plugin.xml7
-rw-r--r--extraplugins/uml/compare/org.eclipse.papyrus.uml.compare.diff/resources/uml_emf_compare_diff.uiCustom13
2 files changed, 20 insertions, 0 deletions
diff --git a/extraplugins/uml/compare/org.eclipse.papyrus.uml.compare.diff/plugin.xml b/extraplugins/uml/compare/org.eclipse.papyrus.uml.compare.diff/plugin.xml
index 7898a4ab9d0..8acc01fdfdb 100644
--- a/extraplugins/uml/compare/org.eclipse.papyrus.uml.compare.diff/plugin.xml
+++ b/extraplugins/uml/compare/org.eclipse.papyrus.uml.compare.diff/plugin.xml
@@ -22,5 +22,12 @@
loadByDefault="true">
</browserCustomization>
</extension>
+ <extension
+ point="org.eclipse.emf.facet.infra.browser.custom.core.registration">
+ <browserCustomization
+ file="resources/uml_emf_compare_diff.uiCustom"
+ loadByDefault="true">
+ </browserCustomization>
+ </extension>
</plugin>
diff --git a/extraplugins/uml/compare/org.eclipse.papyrus.uml.compare.diff/resources/uml_emf_compare_diff.uiCustom b/extraplugins/uml/compare/org.eclipse.papyrus.uml.compare.diff/resources/uml_emf_compare_diff.uiCustom
new file mode 100644
index 00000000000..31419544acb
--- /dev/null
+++ b/extraplugins/uml/compare/org.eclipse.papyrus.uml.compare.diff/resources/uml_emf_compare_diff.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:query="http://www.eclipse.org/EmfFacet/infra/query/0.8.incubation" xmlns:uicustom="http://www.eclipse.org/EmfFacet/infra/browser/custom/0.8" metamodelURI="http://www.eclipse.org/emf/compare/diff/uml2/1.0">
+ <types metaclassName="uml2diff.UMLDiffExtension">
+ <customizedFeatures customizedFeature="label">
+ <defaultValue xsi:type="uicustom:DerivedFeatureValue">
+ <valueCalculator xsi:type="query:JavaModelQuery" href="emffacet:/query/uml_compare_diff#GetDiffElementLabel"/>
+ </defaultValue>
+ </customizedFeatures>
+ <customizedFeatures customizedFeature="hideMetaclassName">
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ </customizedFeatures>
+ </types>
+</uicustom:MetamodelView>

Back to the top