Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFanch BONNABESSE2016-11-10 13:23:54 +0000
committerGerrit Code Review @ Eclipse.org2016-11-30 14:58:22 +0000
commit083ab686c404441775a727abe08b12451dbd33f1 (patch)
treea2350c7320bd521bfbe5186af5e569f138d5fe4c /plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css3.xtext.ui
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/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css3.xtext.ui')
-rw-r--r--plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css3.xtext.ui/src/org/eclipse/papyrus/infra/gmfdiag/css3/ui/contentassist/CustomCSSProposalProvider.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css3.xtext.ui/src/org/eclipse/papyrus/infra/gmfdiag/css3/ui/contentassist/CustomCSSProposalProvider.java b/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css3.xtext.ui/src/org/eclipse/papyrus/infra/gmfdiag/css3/ui/contentassist/CustomCSSProposalProvider.java
index a8c8215c6fc..a3a79aa4ea7 100644
--- a/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css3.xtext.ui/src/org/eclipse/papyrus/infra/gmfdiag/css3/ui/contentassist/CustomCSSProposalProvider.java
+++ b/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css3.xtext.ui/src/org/eclipse/papyrus/infra/gmfdiag/css3/ui/contentassist/CustomCSSProposalProvider.java
@@ -224,9 +224,9 @@ public class CustomCSSProposalProvider extends AbstractCSSProposalProvider {
"transparency", //$NON-NLS-1$
"fontSize", //$NON-NLS-1$
"displayName", //$NON-NLS-1$
- "elementIcon", //$NON-NLS-1$
- "shadow", //$NON-NLS-1$
- "qualifiedNameDepth", //$NON-NLS-1$
+ NamedStyleProperties.ELEMENT_ICON,
+ NamedStyleProperties.SHADOW,
+ NamedStyleProperties.QUALIFIED_NAME_DEPTH,
"lineStyle", //$NON-NLS-1$
"lineDashLength", //$NON-NLS-1$
"lineDashGap", //$NON-NLS-1$
@@ -238,6 +238,7 @@ public class CustomCSSProposalProvider extends AbstractCSSProposalProvider {
"svgCssFile", //$NON-NLS-1$
"svgCssClass", //$NON-NLS-1$
"canonical", //$NON-NLS-1$
+ NamedStyleProperties.IMAGE_PATH,
NamedStyleProperties.BORDER_STYLE,
NamedStyleProperties.BOTTOM_MARGIN_PROPERTY,
NamedStyleProperties.DISPLAY_BORDER,

Back to the top