public void setEditorValue(
        CmsObject cms,
        Map<String, String[]> formParameters,
        I_CmsWidgetDialog widgetDialog,
        I_CmsWidgetParameter param) {

        String[] values = formParameters.get(param.getId());
        if ((values != null) && (values.length > 0)) {
            param.setStringValue(cms, values[0]);
        }
    }
public void setEditorValue ( CmsObject cms , Map < String , String [ ] > formParameters , I_CmsWidgetDialog widgetDialog , I_CmsWidgetParameter param ) { String [ ] values = formParameters . get ( param . getId ( ) ) ; if ( ( values != null ) && ( values . length > 0 ) ) { param . setStringValue ( cms , values [ 0 ] ) ; } }
@see org.opencms.widgets.I_CmsWidget#setEditorValue(org.opencms.file.CmsObject, java.util.Map, org.opencms.widgets.I_CmsWidgetDialog, org.opencms.widgets.I_CmsWidgetParameter)