Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFanch BONNABESSE2016-11-10 08:23:54 -0500
committerGerrit Code Review @ Eclipse.org2016-11-30 09:58:22 -0500
commit083ab686c404441775a727abe08b12451dbd33f1 (patch)
treea2350c7320bd521bfbe5186af5e569f138d5fe4c /plugins/doc
parenta3ea7ef9891a5d83d0de788df4bafcfcfb50b453 (diff)
downloadorg.eclipse.papyrus-083ab686c404441775a727abe08b12451dbd33f1.tar.gz
org.eclipse.papyrus-083ab686c404441775a727abe08b12451dbd33f1.tar.xz
org.eclipse.papyrus-083ab686c404441775a727abe08b12451dbd33f1.zip
Bug 502531: [CSS] Have a support to insert images in the compartment
symbol Add the property 'imagePath' on the CSS to show all type of image. Change-Id: I098a3a224c93da85e997991fbcf23dc3d7e2fd01 Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net> Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
Diffstat (limited to 'plugins/doc')
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.gmfdiag.css.doc/resource/css.mediawiki2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.css.doc/resource/css.mediawiki b/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.css.doc/resource/css.mediawiki
index a04b0bd8d56..645f37d3bab 100644
--- a/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.css.doc/resource/css.mediawiki
+++ b/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.css.doc/resource/css.mediawiki
@@ -339,6 +339,8 @@ The following properties can be used to bypass the standard UML notation. They c
|-
| svgFile || path || N/A || Shapes || The path to an SVG file, which should be used as a symbol for the element. It will be displayed in the "symbol" compartment of the shape
|-
+| imagePath || path || N/A || Shapes || The path to an image file, which should be used as a symbol for the element. It will be displayed in the "symbol" compartment of the shape. The format of this image can be: SVG, GIF, JPG, PNG, BMP ...
+|-
| followSVGSymbol || boolean || false || Shapes || If the SVG file has a path with the ID "papyrusPath", this path will be used to connect edges
|-
| svgCssFile || path || N/A || Shapes || The path to a CSS file which will be applied to the SVG symbol (If an SVG symbol is used). Can be used to dynamically change the appearance of the SVG image (e.g. change color, ...)

Back to the top