super.init(site, memento);
}
@Override
public void createFieldEditors() {
addField(new StringAttributeField("LONG_NAME", "Name", getParent()));
addField(new IntegerAttributeField("POP_CNTRY", "Population", getParent()));
addField(new StringAttributeField(CNTRY_NAME, "Country", getParent()));
// one way to do things!
currCode = addField(new StringAttributeField("CURR_CODE", "Currancy", getParent()));
// another way to do things
currType = new StringAttributeField(CURR_TYPE, "Currancy Type", getParent());
addField(currType);
addField(new StringAttributeField("FIPS_CNTRY", "FIPS", getParent()));
addField(new StringAttributeField(GMI_CNTRY, "Code", getParent()));
addField(new StringAttributeField("ISO_3DIGIT", "ISO 3", getParent()));
addField(new StringAttributeField("ISO_2DIGIT", "ISO 2", getParent()));
// combo box!
addField(new ComboAttributeField2("LANDLOCKED", "Landbound", Arrays.asList(new Object[]{
"Y", "N"}), getParent()));
}