public class ManagedObjectScopeInput extends Object implements Input<org.eclipse.swt.widgets.List>, ValueTranslator
Input
to select a ManagedObjectScope
.Constructor and Description |
---|
ManagedObjectScopeInput() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.widgets.List |
buildControl(InputContext context)
Builds the
Control . |
Object |
getValue(org.eclipse.swt.widgets.List control,
InputContext context)
Obtains the value from the input
Control . |
Object |
translate(Object inputValue)
Translates the
Input value to the value for use. |
public org.eclipse.swt.widgets.List buildControl(InputContext context)
Input
Control
.buildControl
in interface Input<org.eclipse.swt.widgets.List>
context
- InputContext
.Control
to input the value.public Object getValue(org.eclipse.swt.widgets.List 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.List>
control
- Control
.context
- InputContext
.public Object translate(Object inputValue) throws InvalidValueException
ValueTranslator
Input
value to the value for use.translate
in interface ValueTranslator
inputValue
- Input
value.InvalidValueException
- If Input
value is invalid and can not be converted to
the value for use.Copyright © 2005–2016. All rights reserved.