Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPauline DEVILLE2017-11-15 08:43:33 -0500
committerNicolas FAUVERGUE2018-06-29 08:14:36 -0400
commit12c4c7fdc7e8e9dd4324fb23cc11c897d2dc8b10 (patch)
treed1f5503b32168816a3b38dab866e56dc331c1988
parent945aee16985c07abbb5ded2783755910f1013a2c (diff)
downloadorg.eclipse.papyrus-12c4c7fdc7e8e9dd4324fb23cc11c897d2dc8b10.tar.gz
org.eclipse.papyrus-12c4c7fdc7e8e9dd4324fb23cc11c897d2dc8b10.tar.xz
org.eclipse.papyrus-12c4c7fdc7e8e9dd4324fb23cc11c897d2dc8b10.zip
Bug 527286 - [Toolsmiths] ClassCastException on DSML Configuration
Plug-in wizard This patch allow only the selection of .ctx files for Property View elements in the creation wizard. Change-Id: I277020fb5382a5d35872154f4c177e78f111e79a Signed-off-by: Pauline DEVILLE <pauline.deville@cea.fr>
-rw-r--r--plugins/toolsmiths/org.eclipse.papyrus.toolsmiths/models/Customization/ui/SinglePropertyView.xwt13
1 files changed, 12 insertions, 1 deletions
diff --git a/plugins/toolsmiths/org.eclipse.papyrus.toolsmiths/models/Customization/ui/SinglePropertyView.xwt b/plugins/toolsmiths/org.eclipse.papyrus.toolsmiths/models/Customization/ui/SinglePropertyView.xwt
index 6ec1d45f8ca..d0d870f82b3 100644
--- a/plugins/toolsmiths/org.eclipse.papyrus.toolsmiths/models/Customization/ui/SinglePropertyView.xwt
+++ b/plugins/toolsmiths/org.eclipse.papyrus.toolsmiths/models/Customization/ui/SinglePropertyView.xwt
@@ -7,5 +7,16 @@
<ppel:PropertiesLayout></ppel:PropertiesLayout>
</Composite.layout>
<ppe:StringFileSelector input="{Binding}"
- property="customization:FileBasedCustomizableElement:file"></ppe:StringFileSelector>
+ property="customization:FileBasedCustomizableElement:file">
+ <ppe:StringFileSelector.filterNames>
+ <x:Array Type="j:String">
+ <j:String>Property view configuration file</j:String>
+ </x:Array>
+ </ppe:StringFileSelector.filterNames>
+ <ppe:StringFileSelector.filterExtensions>
+ <x:Array Type="j:String">
+ <j:String>*.ctx</j:String>
+ </x:Array>
+ </ppe:StringFileSelector.filterExtensions>
+ </ppe:StringFileSelector>
</Composite> \ No newline at end of file

Back to the top