private void initContents(Composite main){
  if (null != initialName) {
    nameBox.setText(initialName);
  }
  if (null != initialMeasurement) {
    measurementBox.setText(initialMeasurement);
  }
  if (null != initialField) {
    fieldBox.setText(initialField);
  }
  if (null != initialTags) {
    for (    Entry<String,String> tag : initialTags.entrySet()) {
      TagKeyValueUIComponent tagComponent=new TagKeyValueUIComponent(main,tag.getKey(),tag.getValue());
      tagComponents.add(tagComponent);
    }
  }
}

private void initContents ( Composite main ) { if ( null != initialName ) { nameBox . setText ( initialName ) ; } if ( null != initialMeasurement ) { measurementBox . setText ( initialMeasurement ) ; } if ( null != initialField ) { fieldBox . setText ( initialField ) ; } if ( null != initialTags ) { for ( Entry < String , String > tag : initialTags . entrySet ( ) ) { TagKeyValueUIComponent tagComponent = new TagKeyValueUIComponent ( main , tag . getKey ( ) , tag . getValue ( ) ) ; tagComponents . add ( tagComponent ) ; } } }
initializes the contents of all fields if there are initial values .
