org.eclipse.emf.ecp.view.editor.controls
Class ExpectedValueControl

java.lang.Object
  extended by org.eclipse.emf.ecp.edit.spi.ECPAbstractControl
      extended by org.eclipse.emf.ecp.edit.internal.swt.util.SWTControl
          extended by org.eclipse.emf.ecp.edit.internal.swt.controls.SingleControl
              extended by 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

Constructor Summary
ExpectedValueControl()
           
 
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.
 
Methods inherited from class org.eclipse.emf.ecp.edit.internal.swt.controls.SingleControl
dispose, handleValidation, resetValidation, showLabel
 
Methods inherited from class org.eclipse.emf.ecp.edit.internal.swt.util.SWTControl
createControl, createControls, setObservableValue
 
Methods inherited from class org.eclipse.emf.ecp.edit.spi.ECPAbstractControl
getDataBindingContext, getFirstSetting, getFirstStructuralFeature, getItemPropertyDescriptor, init, setEmbedded
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpectedValueControl

public ExpectedValueControl()
Method Detail

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.