Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStéphane Bégaudeau2016-12-12 04:38:15 -0500
committerStéphane Bégaudeau2016-12-14 09:02:15 -0500
commitc8ce94a21dac2c630f9f802110a20aa64290c9dc (patch)
treeb5d2c5da5c5443ccf974fbed8afebfffc135bf8a /samples
parent896b8b4639bed9137404d3adbec43e906c22dc28 (diff)
downloadorg.eclipse.eef-c8ce94a21dac2c630f9f802110a20aa64290c9dc.tar.gz
org.eclipse.eef-c8ce94a21dac2c630f9f802110a20aa64290c9dc.tar.xz
org.eclipse.eef-c8ce94a21dac2c630f9f802110a20aa64290c9dc.zip
Make the user interface lock-aware
Change-Id: I20357960dc37da11cf3fa7ca9e8d0267200c0939 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/ColorPickerLifecycleManager.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/samples/org.eclipse.eef.sample.custom.widget.colorpicker/src/org/eclipse/eef/sample/custom/widget/colorpicker/ColorPickerLifecycleManager.java b/samples/org.eclipse.eef.sample.custom.widget.colorpicker/src/org/eclipse/eef/sample/custom/widget/colorpicker/ColorPickerLifecycleManager.java
index 9a05e0f03..8ec8e2374 100644
--- a/samples/org.eclipse.eef.sample.custom.widget.colorpicker/src/org/eclipse/eef/sample/custom/widget/colorpicker/ColorPickerLifecycleManager.java
+++ b/samples/org.eclipse.eef.sample.custom.widget.colorpicker/src/org/eclipse/eef/sample/custom/widget/colorpicker/ColorPickerLifecycleManager.java
@@ -157,6 +157,16 @@ public class ColorPickerLifecycleManager extends AbstractEEFWidgetLifecycleManag
/**
* {@inheritDoc}
*
+ * @see org.eclipse.eef.ide.ui.api.widgets.AbstractEEFWidgetLifecycleManager#setEnabled(boolean)
+ */
+ @Override
+ protected void setEnabled(boolean isEnabled) {
+ // do not support read only for now
+ }
+
+ /**
+ * {@inheritDoc}
+ *
* @see org.eclipse.eef.ide.ui.api.widgets.IEEFLifecycleManager#aboutToBeHidden()
*/
@Override

Back to the top