Constructor and Description |
---|
ListInput(Class<?> componentType,
org.eclipse.swt.widgets.Composite refreshLayoutComposite,
InputFactory<C> factory)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.widgets.Composite |
buildControl(InputContext context)
Builds the
Control . |
Object |
getValue(org.eclipse.swt.widgets.Composite control,
InputContext context)
Obtains the value from the input
Control . |
public ListInput(Class<?> componentType, org.eclipse.swt.widgets.Composite refreshLayoutComposite, InputFactory<C> factory)
componentType
- Component type for the array.refreshLayoutComposite
- Composite
to use to refresh the layout.factory
- InputFactory
.public org.eclipse.swt.widgets.Composite buildControl(InputContext context)
Input
Control
.buildControl
in interface Input<org.eclipse.swt.widgets.Composite>
context
- InputContext
.Control
to input the value.public Object getValue(org.eclipse.swt.widgets.Composite control, InputContext context)
Input
Obtains the value from the input Control
.
The input Control
will be the one created by
Input.buildControl(InputContext)
.
getValue
in interface Input<org.eclipse.swt.widgets.Composite>
control
- Control
.context
- InputContext
.Copyright © 2005–2016. All rights reserved.