public ChordGroupForm() {
super();
createDefaultChord();
initializeChord();
TextPropertyDescriptor tpd = new ReadOnlyTextPropertyDescriptor(
StringConstants.CHORD_NOTECOUNT,
StringConstants.CHORD_NOTECOUNT);
tpd.setCategory(this.toString());
tpd.setDescription(MusicMessages.MEI_documentation_chord_count);
descriptors.add(tpd);
tpd = new TextPropertyDescriptor(StringConstants.CHORD_N,
StringConstants.CHORD_N);
tpd.setCategory(StringConstants.CAT_BASIC);
tpd.setDescription(MusicMessages.MEI_documentation_generic_n);
descriptors.add(tpd);
tpd = new TextPropertyDescriptor(StringConstants.CHORD_TIMESTAMP,
StringConstants.CHORD_TIMESTAMP);
tpd.setCategory(this.toString());
tpd.setValidator(PropertyDescriptorValidatorProvider
.getTimeStampValidatorInstance());
descriptors.add(tpd);
tpd = new TextPropertyDescriptor(StringConstants.CHORD_STEM_LENGTH,
StringConstants.CHORD_STEM_LENGTH);
tpd.setCategory(this.toString());
tpd.setValidator(PropertyDescriptorValidatorProvider
.getStemLengthValidatorInstance());
tpd.setDescription(MusicMessages.MEI_documentation_chord_stemlen);
descriptors.add(tpd);
tpd = new TextPropertyDescriptor(StringConstants.CHORD_DOTS,
StringConstants.CHORD_DOTS);
tpd.setCategory(this.toString());
tpd.setValidator(PropertyDescriptorValidatorProvider
.getPositiveNumberValidatorInstance());
tpd.setDescription(MusicMessages.MEI_documentation_note_dots);
descriptors.add(tpd);
ComboBoxPropertyDescriptor cpd = new ComboBoxPropertyDescriptor(
StringConstants.CHORD_STEM_DIR, StringConstants.CHORD_STEM_DIR,
GraphicalConstants.PROPCOMBO_STRING_ARRAY_STEMVALUES); // works