@Override protected FieldConfigBase createCopy(FieldConfigBase fieldConfigBase){
  FieldConfigString copy=null;
  if (fieldConfigBase != null) {
    copy=new FieldConfigString(fieldConfigBase.getCommonData(),this.buttonText);
  }
  return copy;
}

@ Override protected FieldConfigBase createCopy ( FieldConfigBase fieldConfigBase ) { FieldConfigString copy = null ; if ( fieldConfigBase != null ) { copy = new FieldConfigString ( fieldConfigBase . getCommonData ( ) , this . buttonText ) ; } return copy ; }
creates a copy of the field .
