Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 368803

Summary: [Profile] GUI does not permit to set a svg shape associated
Product: [Modeling] Papyrus Reporter: Cedric Gava <gava.c>
Component: CoreAssignee: Patrick Tessier <Patrick.Tessier>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.8.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Cedric Gava CLA 2012-01-17 05:00:18 EST
Defining a shape associated with a profile does not work on linux platform.
Step to reproduce :

1 create a stereotype
2 in the property view, add an icon
3 In the opened window, select Kind=shape (that's ok)
4 click to add a Content -> the filter applied on the file selector is "*.jpg, *.bmp, *.gif, *.png, *.wmf, *.emf", and it is not possible to set this filter to another value

Expected correction :
1 - After setting the Kind=shape for the icon of the stereotype, the filter of the file selector should be set to *.svg
2 - In a general way, it should also be possible to set this filter to *.* to let the end-user choose the file extension (even if the description of the shape is done in xml-svg format inside)
Comment 1 Patrick Tessier CLA 2013-10-15 11:30:28 EDT
To associate a svg, you have only to set the location of the svg in the field location, with the kind shape.