String.class);
}
@Override
public Component createComponent(final String id, final ScalarModel scalarModel) {
final MultiLineFacet multiLineFacet = scalarModel.getFacet(MultiLineFacet.class);
if (multiLineFacet != null && !multiLineFacet.isNoop()) {
return new MultiLineStringPanel(id, scalarModel);
} else {
return new StringPanel(id, scalarModel);
}
}