Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368803 - [Profile] GUI does not permit to set a svg shape associated
Summary: [Profile] GUI does not permit to set a svg shape associated
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Patrick Tessier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-17 05:00 EST by Cedric Gava CLA
Modified: 2013-10-15 11:30 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.