super();
createDefaultNote();
initializeNote();
// Reuse of TextPropertyDescriptors for saving memory
TextPropertyDescriptor tpd = new TextPropertyDescriptor(
StringConstants.NOTE_TIMESTAMP, StringConstants.NOTE_TIMESTAMP);
tpd.setCategory(this.toString());
tpd.setValidator(PropertyDescriptorValidatorProvider
.getTimeStampValidatorInstance());
descriptors.add(tpd);
tpd = new TextPropertyDescriptor(StringConstants.NOTE_OCTAVE,
StringConstants.NOTE_OCTAVE);
tpd.setCategory(this.toString());
tpd.setValidator(PropertyDescriptorValidatorProvider
.getOctaveValidatorInstance());
tpd.setDescription(MusicMessages.MEI_documentation_note_oct);
descriptors.add(tpd);
tpd = new TextPropertyDescriptor(StringConstants.NOTE_STEM_LENGTH,
StringConstants.NOTE_STEM_LENGTH);
tpd.setCategory(this.toString());
tpd.setValidator(PropertyDescriptorValidatorProvider
.getStemLengthValidatorInstance());
tpd.setDescription(MusicMessages.MEI_documentation_note_stemlen);
descriptors.add(tpd);
tpd = new TextPropertyDescriptor(StringConstants.NOTE_DOTS,
StringConstants.NOTE_DOTS);
tpd.setCategory(this.toString());
tpd.setValidator(PropertyDescriptorValidatorProvider
.getPositiveNumberValidatorInstance());
tpd.setDescription(MusicMessages.MEI_documentation_note_dots);
descriptors.add(tpd);
tpd = new TextPropertyDescriptor(StringConstants.NOTE_SYL,
StringConstants.NOTE_SYL);
tpd.setCategory(this.toString());
tpd.setDescription(MusicMessages.MEI_documentation_note_syl);
descriptors.add(tpd);
tpd = new TextPropertyDescriptor(StringConstants.NOTE_N,
StringConstants.NOTE_N);
tpd.setCategory(StringConstants.CAT_BASIC);
tpd.setDescription(MusicMessages.MEI_documentation_generic_n);
descriptors.add(tpd);
ComboBoxPropertyDescriptor cpd = new ComboBoxPropertyDescriptor(
StringConstants.NOTE_STEM_DIR, StringConstants.NOTE_STEM_DIR,
GraphicalConstants.PROPCOMBO_STRING_ARRAY_STEMVALUES);