Examples of TextPropertyDescriptor


Examples of org.eclipse.ui.views.properties.TextPropertyDescriptor

  public ScoreDefForm() {
    super();
    createDefaultScoreDef();
    initializeScoreDefForm();
    TextPropertyDescriptor tpd = new TextPropertyDescriptor(
        StringConstants.SCORE_DEF_N, StringConstants.SCORE_DEF_N);
    tpd.setCategory(StringConstants.CAT_BASIC);
    tpd.setDescription(MusicMessages.MEI_documentation_generic_n);
    descriptors.add(tpd);
    tpd = new TextPropertyDescriptor(StringConstants.SCORE_DEF_METER_COUNT,
        StringConstants.SCORE_DEF_METER_COUNT);
    tpd.setCategory(this.toString());
    tpd.setValidator(PropertyDescriptorValidatorProvider
        .getPositiveNumberValidatorInstance());
    tpd.setDescription(MusicMessages.MEI_documentation_StaffDef_metercount);
    descriptors.add(tpd);
    tpd = new TextPropertyDescriptor(StringConstants.SCORE_DEF_METER_UNIT,
        StringConstants.SCORE_DEF_METER_UNIT);
    tpd.setCategory(this.toString());
    tpd.setValidator(PropertyDescriptorValidatorProvider
        .getPositiveNumberValidatorInstance());
    tpd.setDescription(MusicMessages.MEI_documentation_StaffDef_meterunit);
    descriptors.add(tpd);
    tpd = new TextPropertyDescriptor(StringConstants.SCORE_DEF_LABEL_FULL,
        StringConstants.SCORE_DEF_LABEL_FULL);
    tpd.setCategory(this.toString());
    tpd.setDescription(MusicMessages.MEI_documentation_StaffDef_labelfull);
    descriptors.add(tpd);
    ComboBoxPropertyDescriptor cpd = new ComboBoxPropertyDescriptor(
        StringConstants.SCORE_DEF_SYM,
        StringConstants.SCORE_DEF_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.SCORE_DEF_CLEF,
        StringConstants.SCORE_DEF_CLEF,
        GraphicalConstants.PROPCOMBO_STRING_ARRAY_CLEFVALUES); // works
    cpd.setCategory(this.toString());
View Full Code Here

Examples of org.eclipse.ui.views.properties.TextPropertyDescriptor

  public LayerForm () {
    super();
    createDefaultLayer();
    initializeLayer();
    TextPropertyDescriptor tpd = new TextPropertyDescriptor(StringConstants.LAYER_N, StringConstants.LAYER_N);
    tpd.setCategory(StringConstants.CAT_BASIC);
    descriptors.add(tpd);
  }
View Full Code Here

Examples of org.eclipse.ui.views.properties.TextPropertyDescriptor

  public MRestForm() {
    super();
    createDefaultMRest();
    initializeRest();
    TextPropertyDescriptor tpd = new TextPropertyDescriptor(
        StringConstants.MREST_N, StringConstants.MREST_N);
    tpd.setCategory(StringConstants.CAT_BASIC);
    tpd.setDescription(MusicMessages.MEI_documentation_generic_n);
    descriptors.add(tpd);
    tpd = new TextPropertyDescriptor(StringConstants.MREST_TIMESTAMP,
        StringConstants.MREST_TIMESTAMP);
    tpd.setCategory(this.toString());
    tpd.setValidator(PropertyDescriptorValidatorProvider
        .getTimeStampValidatorInstance());
    descriptors.add(tpd);
  }
View Full Code Here

Examples of org.eclipse.ui.views.properties.TextPropertyDescriptor

  public RestForm() {
    super();
    createDefaultRest();
    initializeRest();
    TextPropertyDescriptor tpd = new TextPropertyDescriptor(
        StringConstants.REST_N, StringConstants.REST_N);
    tpd.setCategory(StringConstants.CAT_BASIC);
    tpd.setDescription(MusicMessages.MEI_documentation_generic_n);
    descriptors.add(tpd);
    tpd = new TextPropertyDescriptor(StringConstants.REST_TIMESTAMP,
        StringConstants.REST_TIMESTAMP);
    tpd.setCategory(this.toString());
    tpd.setValidator(PropertyDescriptorValidatorProvider
        .getTimeStampValidatorInstance());
    descriptors.add(tpd);
    ComboBoxPropertyDescriptor cpd = new ComboBoxPropertyDescriptor(
        StringConstants.REST_DURATION, StringConstants.REST_DURATION,
        GraphicalConstants.PROPCOMBO_STRING_ARRAY_DURATIONS);
View Full Code Here

Examples of org.eclipse.ui.views.properties.TextPropertyDescriptor

  private static final long serialVersionUID = 1;

  public MeasureForm() {
    super();
    initializeMeasure();
    TextPropertyDescriptor tpd = new TextPropertyDescriptor(StringConstants.MEASURE_N,
        StringConstants.MEASURE_N);
    tpd.setCategory(StringConstants.CAT_BASIC);
    tpd.setDescription(MusicMessages.MEI_documentation_generic_n);
    descriptors.add(tpd);
    ComboBoxPropertyDescriptor cpd = new ComboBoxPropertyDescriptor(
        StringConstants.MEASURE_BARRENDITION_LEFT, StringConstants.MEASURE_BARRENDITION_LEFT,
        GraphicalConstants.PROPCOMBO_STRING_ARRAY_BARRENDITION);
    cpd.setCategory(this.toString());
View Full Code Here

Examples of org.eclipse.ui.views.properties.TextPropertyDescriptor

  public SectionForm() {
    super();
    createDefaultSection();
    initializeSection();   
    TextPropertyDescriptor tpd = new TextPropertyDescriptor(StringConstants.SECTION_N, StringConstants.SECTION_N);
    tpd.setCategory(StringConstants.CAT_BASIC);
    tpd.setDescription(MusicMessages.MEI_documentation_generic_n);
    descriptors.add(tpd);
  }
View Full Code Here

Examples of org.eclipse.ui.views.properties.TextPropertyDescriptor

  public SlurForm() {
    super();
    createDefaultSlur();
    initializeSlur();
    TextPropertyDescriptor tpd = new TextPropertyDescriptor(
        StringConstants.SLUR_START_ID, StringConstants.SLUR_START_ID);
    tpd.setCategory(this.toString());
    tpd.setValidator(PropertyDescriptorValidatorProvider
        .getExistentIdValidatorInstance());
    descriptors.add(tpd);
    tpd = new TextPropertyDescriptor(StringConstants.SLUR_END_ID,
        StringConstants.SLUR_END_ID);
    tpd.setCategory(this.toString());
    tpd.setValidator(PropertyDescriptorValidatorProvider
        .getExistentIdValidatorInstance());
    descriptors.add(tpd);
    tpd = new TextPropertyDescriptor(StringConstants.SLUR_TIMESTAMP,
        StringConstants.SLUR_TIMESTAMP);
    tpd.setCategory(this.toString());
    tpd.setValidator(PropertyDescriptorValidatorProvider
        .getTimeStampValidatorInstance());
    descriptors.add(tpd);
    tpd = new TextPropertyDescriptor(StringConstants.SLUR_N,
        StringConstants.SLUR_N);
    tpd.setCategory(this.toString());
    tpd.setDescription(MusicMessages.MEI_documentation_generic_n);
    descriptors.add(tpd);
    ComboBoxPropertyDescriptor cpd = new ComboBoxPropertyDescriptor(
        StringConstants.SLUR_CURVEDIR, StringConstants.SLUR_CURVEDIR,
        GraphicalConstants.PROPCOMBO_STRING_ARRAY_CURVEDIR); // works
    cpd.setCategory(this.toString());
View Full Code Here

Examples of org.eclipse.ui.views.properties.TextPropertyDescriptor

  public AppForm() {
    super();
    createDefaultApp();
    initializeApp();
    TextPropertyDescriptor tpd = new TextPropertyDescriptor(StringConstants.APP_N, StringConstants.APP_N);
    tpd.setCategory(StringConstants.CAT_BASIC);
    tpd.setDescription(MusicMessages.MEI_documentation_generic_n);
    descriptors.add(tpd);
    SourceComboPropertyDescriptor scpd = new SourceComboPropertyDescriptor(StringConstants.APP_SOURCES_SELECTOR,
        StringConstants.APP_SOURCES_SELECTOR);
    scpd.setCategory(this.toString());
    scpd.setDescription(MusicMessages.MEI_documentation_app_select);
View Full Code Here

Examples of org.eclipse.ui.views.properties.TextPropertyDescriptor

  public BeamGroupForm() {
    super();
    createDefaultBeam();
    initializeBeam();
    TextPropertyDescriptor tpd = new TextPropertyDescriptor(
        StringConstants.BEAM_N, StringConstants.BEAM_N);
    tpd.setCategory(StringConstants.CAT_BASIC);
    tpd.setDescription(MusicMessages.MEI_documentation_generic_n);
    descriptors.add(tpd);
  }
View Full Code Here

Examples of org.eclipse.ui.views.properties.TextPropertyDescriptor

  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
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.