CustomInputWidgetFactory typedInFactory = new CustomInputWidgetFactory();
CustomOutputWidgetFactory typedOutFactory = new CustomOutputWidgetFactory(viewManager);
shell.setInputWidgetFactory(new InputParameterWidgetFactory(typedInFactory));
shell.setOutputWidgetFactory(new OutputParameterWidgetFactory(typedOutFactory));
shell.runTest(jobManager);
}
public static class CustomInputWidgetFactory extends DefaultTypedWidgetFactory {
public Widget createWidget(DataType type) {
Class repClass = type.getRepresentationClass();