use of org.talend.sdk.component.form.model.uischema.UiSchema in project component-runtime by Talend.
the class TextAreaWidgetConverter method convert.
@Override
public CompletionStage<PropertyContext> convert(final CompletionStage<PropertyContext> cs) {
return cs.thenApply(context -> {
final UiSchema schema = newUiSchema(context);
schema.setWidget("textarea");
return context;
});
}
use of org.talend.sdk.component.form.model.uischema.UiSchema in project component-runtime by Talend.
the class TextWidgetConverter method convert.
@Override
public CompletionStage<PropertyContext> convert(final CompletionStage<PropertyContext> cs) {
return cs.thenApply(context -> {
final UiSchema schema = newUiSchema(context);
schema.setWidget("text");
return context;
});
}
use of org.talend.sdk.component.form.model.uischema.UiSchema in project component-runtime by Talend.
the class ToggleWidgetConverter method convert.
@Override
public CompletionStage<PropertyContext> convert(final CompletionStage<PropertyContext> cs) {
return cs.thenApply(context -> {
final UiSchema schema = newUiSchema(context);
schema.setWidget("toggle");
return context;
});
}
Aggregations