diff options
author | Pauline DEVILLE | 2017-11-15 13:43:33 +0000 |
---|---|---|
committer | Nicolas FAUVERGUE | 2018-06-29 12:14:36 +0000 |
commit | 12c4c7fdc7e8e9dd4324fb23cc11c897d2dc8b10 (patch) | |
tree | d1f5503b32168816a3b38dab866e56dc331c1988 | |
parent | 945aee16985c07abbb5ded2783755910f1013a2c (diff) | |
download | org.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.xwt | 13 |
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 |