org.eclipse.emf.ecp.edit.internal.swt.controls
Class BooleanControl
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.edit.internal.swt.controls.BooleanControl
- All Implemented Interfaces:
- ECPControlSWT
public class BooleanControl
- extends SingleControl
This class defines a BooleanControl which is used for displaying EStructuralFeature
s which have a Boolean
value.
- Author:
- Eugen Neufeld
Method Summary |
org.eclipse.core.databinding.Binding |
bindValue()
Triggers the control to perform the databinding. |
void |
dispose()
Disposes the control. |
void |
setEditable(boolean isEditable)
Sets the state of the widget to be either editable or not. |
BooleanControl
public BooleanControl()
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
dispose
public void dispose()
- Description copied from class:
SingleControl
- Disposes the control.
A control which needs specific dispose handling must still call super.dispose.
- Overrides:
dispose
in class SingleControl
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.