summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Kriese2010-08-24 04:33:56 (EDT)
committerSteffen Kriese2010-08-24 04:33:56 (EDT)
commite202a245c170cee8317a209800e2e88db4daf500 (patch)
tree3199bf8051abba85cde81454c64bf86156c36513
parentb0c6eaf99c57c1d7b1053c91f32dfae6194710a0 (diff)
downloadorg.eclipse.riena-e202a245c170cee8317a209800e2e88db4daf500.zip
org.eclipse.riena-e202a245c170cee8317a209800e2e88db4daf500.tar.gz
org.eclipse.riena-e202a245c170cee8317a209800e2e88db4daf500.tar.bz2
Applied Patch: #323463
-rw-r--r--org.eclipse.riena.ui.ridgets.swt/src/org/eclipse/riena/internal/ui/ridgets/swt/StatusMeterRidget.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/org.eclipse.riena.ui.ridgets.swt/src/org/eclipse/riena/internal/ui/ridgets/swt/StatusMeterRidget.java b/org.eclipse.riena.ui.ridgets.swt/src/org/eclipse/riena/internal/ui/ridgets/swt/StatusMeterRidget.java
index f286aa8..a2cc841 100644
--- a/org.eclipse.riena.ui.ridgets.swt/src/org/eclipse/riena/internal/ui/ridgets/swt/StatusMeterRidget.java
+++ b/org.eclipse.riena.ui.ridgets.swt/src/org/eclipse/riena/internal/ui/ridgets/swt/StatusMeterRidget.java
@@ -24,7 +24,7 @@ import org.eclipse.riena.ui.swt.StatusMeterWidget;
*/
public class StatusMeterRidget extends AbstractTraverseRidget implements IStatusMeterRidget {
- private static final String COLOR_WARNING = "Parameter color is not an instance of 'org.eclipse.swt.graphics.Color'";
+ private static final String COLOR_WARNING = "Parameter color is not an instance of 'org.eclipse.swt.graphics.Color'"; //$NON-NLS-1$
private boolean initialized;
private boolean maxInitialized;
private boolean minInitialized;
@@ -132,21 +132,25 @@ public class StatusMeterRidget extends AbstractTraverseRidget implements IStatus
public void setBorderColor(final Object color) {
Assert.isTrue(color instanceof Color, COLOR_WARNING);
borderColor = (Color) color;
+ updateUIControl();
}
public void setBackgroundColor(final Object color) {
Assert.isTrue(color instanceof Color, COLOR_WARNING);
backgroundColor = (Color) color;
+ updateUIControl();
}
public void setGradientStartColor(final Object color) {
Assert.isTrue(color instanceof Color, COLOR_WARNING);
gradientStartColor = (Color) color;
+ updateUIControl();
}
public void setGradientEndColor(final Object color) {
Assert.isTrue(color instanceof Color, COLOR_WARNING);
gradientEndColor = (Color) color;
+ updateUIControl();
}
@Override