public StaffDefForm() {
super();
createDefaultStaffDef();
initializeStaffDef();
TextPropertyDescriptor tpd = new TextPropertyDescriptor(
StringConstants.STAFFDEF_N, StringConstants.STAFFDEF_N);
tpd.setCategory(StringConstants.CAT_BASIC);
tpd.setDescription(MusicMessages.MEI_documentation_generic_n);
descriptors.add(tpd);
tpd = new TextPropertyDescriptor(StringConstants.STAFFDEF_METER_COUNT,
StringConstants.STAFFDEF_METER_COUNT);
tpd.setCategory(this.toString());
tpd.setValidator(PropertyDescriptorValidatorProvider
.getPositiveNumberValidatorInstance());
tpd.setDescription(MusicMessages.MEI_documentation_StaffDef_metercount);
descriptors.add(tpd);
tpd = new TextPropertyDescriptor(StringConstants.STAFFDEF_METER_UNIT,
StringConstants.STAFFDEF_METER_UNIT);
tpd.setCategory(this.toString());
tpd.setValidator(PropertyDescriptorValidatorProvider
.getPositiveNumberValidatorInstance());
tpd.setDescription(MusicMessages.MEI_documentation_StaffDef_meterunit);
descriptors.add(tpd);
tpd = new TextPropertyDescriptor(StringConstants.STAFFDEF_LABEL_FULL,
StringConstants.STAFFDEF_LABEL_FULL);
tpd.setCategory(this.toString());
tpd.setDescription(MusicMessages.MEI_documentation_StaffDef_labelfull);
descriptors.add(tpd);
ComboBoxPropertyDescriptor cpd = new ComboBoxPropertyDescriptor(
StringConstants.STAFFDEF_SYM,
StringConstants.STAFFDEF_SYM,
GraphicalConstants.PROPCOMBO_STRING_ARRAY_TIMESIG_CUTCOMMONVALUES);
cpd.setCategory(this.toString());
tpd.setDescription(MusicMessages.MEI_documentation_StaffDef_metersym);
descriptors.add(cpd);
cpd = new ComboBoxPropertyDescriptor(StringConstants.STAFFDEF_CLEF,
StringConstants.STAFFDEF_CLEF,
GraphicalConstants.PROPCOMBO_STRING_ARRAY_CLEFVALUES);
cpd.setCategory(this.toString());