net.officefloor.eclipse.common.dialog.input
Interface Input<C extends org.eclipse.swt.widgets.Control>

All Known Implementing Classes:
BeanListInput, BooleanInput, ClassMethodInput, ClasspathClassInput, ClasspathFileInput, ConformInput, ListInput, ManagedObjectScopeInput, OfficeSectionInput, PropertyListInput, SubTypeSelectionInput

public interface Input<C extends org.eclipse.swt.widgets.Control>

Builder to create the Control for inputting the value.

It also provides means to obtain the value from the resulting built Control.

Author:
Daniel Sagenschneider

Method Summary
 C buildControl(InputContext context)
          Builds the Control.
 Object getValue(C control, InputContext context)
           Obtains the value from the input Control.
 

Method Detail

buildControl

C buildControl(InputContext context)
Builds the Control.

Parameters:
context - InputContext.
Returns:
Control to input the value.

getValue

Object getValue(C control,
                InputContext context)

Obtains the value from the input Control.

The input Control will be the one created by buildControl(InputContext).

Parameters:
control - Control.
context - InputContext.
Returns:
Value.


Copyright © 2005-2013. All Rights Reserved.