public class OfficeSectionInput extends Object implements Input<org.eclipse.swt.widgets.Tree>
Input
to obtain an item within the OfficeSection
.Constructor and Description |
---|
OfficeSectionInput(OfficeSectionType officeSectionType,
Class<?>... selectionTypes)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.widgets.Tree |
buildControl(InputContext context)
Builds the
Control . |
Object |
getValue(org.eclipse.swt.widgets.Tree control,
InputContext context)
Obtains the value from the input
Control . |
public OfficeSectionInput(OfficeSectionType officeSectionType, Class<?>... selectionTypes)
officeSectionType
- OfficeSectionType
.selectionTypes
- Listing of the types of objects within the
OfficeSection
that may be selected for returning.public org.eclipse.swt.widgets.Tree buildControl(InputContext context)
Input
Control
.buildControl
in interface Input<org.eclipse.swt.widgets.Tree>
context
- InputContext
.Control
to input the value.public Object getValue(org.eclipse.swt.widgets.Tree 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.Tree>
control
- Control
.context
- InputContext
.Copyright © 2005–2016. All rights reserved.