net.officefloor.eclipse.common.dialog.input.impl
Class ClassMethodInput

java.lang.Object
  extended by net.officefloor.eclipse.common.dialog.input.impl.ClassMethodInput
All Implemented Interfaces:
Input<org.eclipse.swt.widgets.Combo>

public class ClassMethodInput
extends Object
implements Input<org.eclipse.swt.widgets.Combo>

Input to select a Method name for a Class.

Author:
Daniel Sagenschneider

Constructor Summary
ClassMethodInput(ClassLoader classLoader)
          Initiate.
 
Method Summary
 org.eclipse.swt.widgets.Combo buildControl(InputContext context)
          Builds the Control.
 Object getValue(org.eclipse.swt.widgets.Combo control, InputContext context)
           Obtains the value from the input Control.
 void setClassName(String className)
          Specifies the name of the Class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassMethodInput

public ClassMethodInput(ClassLoader classLoader)
Initiate.

Parameters:
classLoader - ClassLoader.
Method Detail

setClassName

public void setClassName(String className)
Specifies the name of the Class.

Parameters:
className - Name of the Class.

buildControl

public org.eclipse.swt.widgets.Combo buildControl(InputContext context)
Description copied from interface: Input
Builds the Control.

Specified by:
buildControl in interface Input<org.eclipse.swt.widgets.Combo>
Parameters:
context - InputContext.
Returns:
Control to input the value.

getValue

public Object getValue(org.eclipse.swt.widgets.Combo control,
                       InputContext context)
Description copied from interface: Input

Obtains the value from the input Control.

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

Specified by:
getValue in interface Input<org.eclipse.swt.widgets.Combo>
Parameters:
control - Control.
context - InputContext.
Returns:
Value.


Copyright © 2005-2013. All Rights Reserved.