requiredDescription.setVisible(true);
cellFormatter.addStyleName(row, 0, EmbeddedResources.INSTANCE.style().requiredParameter());
}
// Second cell in row displays the editor for the parameter value.
Editor editor = EditorFactory.forParameter(param);
nameToEditor.put(paramName, editor);
Widget editorWidget = editor.createAndSetView().asWidget();
editorWidget.addStyleName(style.parameterInput());
table.setWidget(row, 1, editorWidget);
// Third cell in row displays the description.
table.setText(row, 2, EmbeddedParameterFormPresenter.generateDescriptionString(param));
if (paramName.equals("alt")) {
editor.setValue(ImmutableList.of("json"));
}
cellFormatter.addStyleName(row, 0,
EmbeddedResources.INSTANCE.style().parameterFormNameCell());
cellFormatter.addStyleName(row, 1,