Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael ADAM2015-07-07 09:55:10 +0000
committerGerrit Code Review @ Eclipse.org2016-02-19 15:01:57 +0000
commita1c2c13a0a2e6334ca3330323ea3e99369486b86 (patch)
tree576e403c407a3530e8396c89360524815341a3c4 /plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css3.xtext.ui
parent01202e23241dd2801b5e30a5646d7352d1717fdf (diff)
downloadorg.eclipse.papyrus-a1c2c13a0a2e6334ca3330323ea3e99369486b86.tar.gz
org.eclipse.papyrus-a1c2c13a0a2e6334ca3330323ea3e99369486b86.tar.xz
org.eclipse.papyrus-a1c2c13a0a2e6334ca3330323ea3e99369486b86.zip
Bug 471444: [Diagram] Background Color of name from generic shape shall
be customisable https://bugs.eclipse.org/bugs/show_bug.cgi?id=471444 + some little fix and default value on base.css + adds regression test + adds nameBackgroundColor to css autocompletion Change-Id: I3f22dbb067f58db31fa20ed18b725a6568bcbba9 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
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.java3
1 files changed, 2 insertions, 1 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 4c6d6a484b8..eebbf3e6327 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
@@ -254,7 +254,7 @@ public class CustomCSSProposalProvider extends AbstractCSSProposalProvider {
NamedStyleProperties.LABEL_OFFSET_X,
NamedStyleProperties.LABEL_OFFSET_Y,
NamedStyleProperties.LEFT_MARGIN_PROPERTY,
- NamedStyleProperties.LENGTH,
+ NamedStyleProperties.LINE_LENGTH,
NamedStyleProperties.LINE_CUSTOM_VALUE,
NamedStyleProperties.LINE_LENGTH_RATIO,
NamedStyleProperties.LINE_POSITION,
@@ -269,6 +269,7 @@ public class CustomCSSProposalProvider extends AbstractCSSProposalProvider {
NamedStyleProperties.TOP_MARGIN_PROPERTY,
NamedStyleProperties.USE_ORIGINAL_COLORS,
NamedStyleProperties.WRAP_NAME,
+ NamedStyleProperties.NAME_BACKGROUND_COLOR
};
return Arrays.asList(properties);

Back to the top