Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas FAUVERGUE2015-04-03 14:00:34 +0000
committervincent lorenzo2015-04-08 09:00:22 +0000
commit9562d1dbe63d443726f2e81cdd1735fd432ba089 (patch)
tree3b9048f3f3b9738112aa3354292ba9cda433632d /examples
parentc4015d70e7533d0a25be624a3cca44294011ff4b (diff)
downloadorg.eclipse.papyrus-9562d1dbe63d443726f2e81cdd1735fd432ba089.tar.gz
org.eclipse.papyrus-9562d1dbe63d443726f2e81cdd1735fd432ba089.tar.xz
org.eclipse.papyrus-9562d1dbe63d443726f2e81cdd1735fd432ba089.zip
Bug 463881: [XText] The ValueSpecification XText editor in properties
view must be defined by XWT element https://bugs.eclipse.org/bugs/show_bug.cgi?id=463881 - Recvery code which allow to get the direct editor configuration to get it from XWT attribute with java reflexive instead of getting direct editor configuration from object to edit with defined extension points Change-Id: I1aa730f216873ea0912bd705ea63761d7e2c69a5 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net> Reviewed-on: https://git.eclipse.org/r/45231 Reviewed-by: vincent lorenzo <vincent.lorenzo@cea.fr> Tested-by: vincent lorenzo <vincent.lorenzo@cea.fr>
Diffstat (limited to 'examples')
-rw-r--r--examples/uml/org.eclipse.papyrus.uml.textual.editors.example/model/UML/ui/PropertyExample.xwt2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/uml/org.eclipse.papyrus.uml.textual.editors.example/model/UML/ui/PropertyExample.xwt b/examples/uml/org.eclipse.papyrus.uml.textual.editors.example/model/UML/ui/PropertyExample.xwt
index f757324cadb..afde1ae27a9 100644
--- a/examples/uml/org.eclipse.papyrus.uml.textual.editors.example/model/UML/ui/PropertyExample.xwt
+++ b/examples/uml/org.eclipse.papyrus.uml.textual.editors.example/model/UML/ui/PropertyExample.xwt
@@ -36,7 +36,7 @@
<ppe:ReferenceDialog input="{Binding}"
property="UML:Property:defaultValue"></ppe:ReferenceDialog>
<xtexteditor:UMLStyledTextReferenceDialog
- property="UML:Property:defaultValue" input="{Binding}" objectInstance="org.eclipse.uml2.uml.ValueSpecification"></xtexteditor:UMLStyledTextReferenceDialog>
+ property="UML:Property:defaultValue" input="{Binding}" directEditorConfiguration="org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.contribution.ValueSpecificationXtextDirectEditorConfiguration"></xtexteditor:UMLStyledTextReferenceDialog>
<ppe:EnumCombo input="{Binding}" property="UML:Property:aggregation"></ppe:EnumCombo>
<ppe:MultiReference input="{Binding}"
property="UML:Property:subsettedProperty"></ppe:MultiReference>

Back to the top