org.eclipse.emf.ecp.view.editor.controls
Class ExpectedValueControl
java.lang.Object
org.eclipse.emf.ecp.edit.spi.ECPAbstractControl
org.eclipse.emf.ecp.edit.internal.swt.util.SWTControl
org.eclipse.emf.ecp.edit.internal.swt.controls.SingleControl
org.eclipse.emf.ecp.view.editor.controls.ExpectedValueControl
- All Implemented Interfaces:
- ECPControlSWT
public class ExpectedValueControl
- extends SingleControl
A control for defining an value in a leaf condition.
- Author:
- Eugen Neufeld
Method Summary |
org.eclipse.core.databinding.Binding |
bindValue()
Triggers the control to perform the databinding. |
void |
setEditable(boolean isEditable)
Sets the state of the widget to be either editable or not. |
ExpectedValueControl
public ExpectedValueControl()
setEditable
public void setEditable(boolean isEditable)
- Sets the state of the widget to be either editable or not.
- Overrides:
setEditable
in class ECPAbstractControl
- Parameters:
isEditable
- whether to set the widget editable- See Also:
org.eclipse.emf.ecp.edit.spi.ECPControl#setEditable(boolean)
bindValue
public org.eclipse.core.databinding.Binding bindValue()
- Description copied from class:
SWTControl
- Triggers the control to perform the databinding.
- Returns:
- The
Binding
Copyright © 2014. All Rights Reserved.