Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStéphane Bégaudeau2016-03-30 12:54:07 -0400
committerStephane Begaudeau2016-03-31 08:31:10 -0400
commitfcc2d51955a50e4dc06ede01410fd2f658daf862 (patch)
tree0108175f211401ceed0039fb941cd919420f5306 /samples
parent81784f9c82440dc6d9796cdfeba1fe4456e9034e (diff)
downloadorg.eclipse.eef-fcc2d51955a50e4dc06ede01410fd2f658daf862.tar.gz
org.eclipse.eef-fcc2d51955a50e4dc06ede01410fd2f658daf862.tar.xz
org.eclipse.eef-fcc2d51955a50e4dc06ede01410fd2f658daf862.zip
Remove ISuccessfulResultConsumer and replace it with IConsumer
Change-Id: Iaed641ffd201721d5ee2ef45b3ff11d2234d83ce Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
Diffstat (limited to 'samples')
-rw-r--r--samples/org.eclipse.eef.sample.custom.widget.colorpicker/src/org/eclipse/eef/sample/custom/widget/colorpicker/ColorPickerController.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/samples/org.eclipse.eef.sample.custom.widget.colorpicker/src/org/eclipse/eef/sample/custom/widget/colorpicker/ColorPickerController.java b/samples/org.eclipse.eef.sample.custom.widget.colorpicker/src/org/eclipse/eef/sample/custom/widget/colorpicker/ColorPickerController.java
index 64261d2c5..d13b07a73 100644
--- a/samples/org.eclipse.eef.sample.custom.widget.colorpicker/src/org/eclipse/eef/sample/custom/widget/colorpicker/ColorPickerController.java
+++ b/samples/org.eclipse.eef.sample.custom.widget.colorpicker/src/org/eclipse/eef/sample/custom/widget/colorpicker/ColorPickerController.java
@@ -19,7 +19,6 @@ import org.eclipse.eef.core.api.EEFExpressionUtils;
import org.eclipse.eef.core.api.controllers.AbstractEEFCustomWidgetController;
import org.eclipse.eef.core.api.controllers.IConsumer;
import org.eclipse.eef.core.api.utils.Eval;
-import org.eclipse.eef.core.api.utils.ISuccessfulResultConsumer;
import org.eclipse.emf.common.command.Command;
import org.eclipse.emf.common.command.CommandStack;
import org.eclipse.emf.ecore.EAttribute;
@@ -91,7 +90,7 @@ public class ColorPickerController extends AbstractEEFCustomWidgetController imp
String valueExpression = getCustomExpression(VALUE_EXPRESSION_ID);
EAttribute eAttribute = EefPackage.Literals.EEF_CUSTOM_EXPRESSION__CUSTOM_EXPRESSION;
- this.newEval().call(eAttribute, valueExpression, String.class, new ISuccessfulResultConsumer<String>() {
+ this.newEval().call(eAttribute, valueExpression, String.class, new IConsumer<String>() {
@Override
public void apply(String value) {
int red = DEFAULT_COLOR_CODE;

Back to the top