Examples of TextPropertyDescriptor


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

  public StaffGroupForm() {
    super();
    createDefaultStaffGrp();
    initializeStaffGrp();
    TextPropertyDescriptor tpd = new TextPropertyDescriptor(
        StringConstants.STAFFGRP_N, StringConstants.STAFFGRP_N);
    tpd.setCategory(StringConstants.CAT_BASIC);
    tpd.setDescription(MusicMessages.MEI_documentation_generic_n);
    descriptors.add(tpd);
    ComboBoxPropertyDescriptor cpd = new ComboBoxPropertyDescriptor(
        StringConstants.STAFFGRP_SYM,
        StringConstants.STAFFGRP_SYM,
        GraphicalConstants.PROPCOMBO_STRING_ARRAY_STAFFGRP_SYMBOL);
    cpd.setCategory(this.toString());
    tpd.setDescription("Symbol");
    descriptors.add(cpd);
  }
View Full Code Here

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

 
  public StaffForm() {
    super();
    createDefaultStaff();
    initializeStaff();
    TextPropertyDescriptor tpd = new TextPropertyDescriptor(StringConstants.STAFF_N, StringConstants.STAFF_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 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());
View Full Code Here

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

  public SpaceForm() {
    super();
    createDefaultSpace();
    initializeSpace();
    TextPropertyDescriptor tpd = new TextPropertyDescriptor(
        StringConstants.SPACE_N, StringConstants.SPACE_N);
    tpd.setCategory(StringConstants.CAT_BASIC);
    tpd.setDescription(MusicMessages.MEI_documentation_generic_n);
    descriptors.add(tpd);
    tpd = new TextPropertyDescriptor(StringConstants.SPACE_TIMESTAMP,
        StringConstants.SPACE_TIMESTAMP);
    tpd.setCategory(this.toString());
    tpd.setValidator(PropertyDescriptorValidatorProvider
        .getTimeStampValidatorInstance());
    descriptors.add(tpd);
    ComboBoxPropertyDescriptor cpd = new ComboBoxPropertyDescriptor(
        StringConstants.SPACE_DURATION, StringConstants.SPACE_DURATION,
        GraphicalConstants.PROPCOMBO_STRING_ARRAY_DURATIONS);
View Full Code Here

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

  public ReadingForm() {
    super();
    createDefaultRdg();
    initializeRdg();
    TextPropertyDescriptor tpd = new TextPropertyDescriptor(
        StringConstants.RDG_N, StringConstants.RDG_N);
    tpd.setCategory(StringConstants.CAT_BASIC);
    tpd.setDescription(MusicMessages.MEI_documentation_generic_n);
    descriptors.add(tpd);
    SourcePropertyDescriptor spd = new SourcePropertyDescriptor(
        StringConstants.RDG_SOURCES_EDITOR,
        StringConstants.RDG_SOURCES_EDITOR, this);
    spd.setCategory(this.toString());
View Full Code Here

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

   * @see #setPropertyValue(Object, Object)
   */
  public BasicElement() {
    setId(getNewID());
    descriptors = new ArrayList<IPropertyDescriptor>();
    TextPropertyDescriptor tpd = new ReadOnlyTextPropertyDescriptor(
        BASIC_ID, MusicMessages.BasicElement_0);
    tpd.setCategory(StringConstants.CAT_BASIC);
    tpd.setDescription(MusicMessages.MEI_documentation_generic_id);
    descriptors.add(tpd);
//    ColorPropertyDescriptor cpd = new ColorPropertyDescriptor(BASIC_COLOR,
//        MusicMessages.BasicElement_9);
//    cpd.setCategory(StringConstants.CAT_BASIC);
//    cpd.setDescription(MusicMessages.MEI_documentation_generic_color);
View Full Code Here

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

  private static final long serialVersionUID = 1;

  public EndingForm() {
    super();
    initializeEnding();
    TextPropertyDescriptor tpd = new TextPropertyDescriptor(StringConstants.ENDING_N,
        StringConstants.ENDING_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 TieForm() {
    super();
    createDefaultTie();
    initializeTie();
    TextPropertyDescriptor tpd = new TextPropertyDescriptor(StringConstants.TIE_START_ID,
        StringConstants.TIE_START_ID);
    tpd.setCategory(this.toString());
    tpd.setValidator(PropertyDescriptorValidatorProvider
        .getExistentIdValidatorInstance());
    descriptors.add(tpd);
    tpd = new TextPropertyDescriptor(StringConstants.TIE_END_ID, StringConstants.TIE_END_ID);
    tpd.setCategory(this.toString());
    tpd.setValidator(PropertyDescriptorValidatorProvider
        .getExistentIdValidatorInstance());
    descriptors.add(tpd);
    tpd = new TextPropertyDescriptor(StringConstants.TIE_TIMESTAMP, StringConstants.TIE_TIMESTAMP);
    tpd.setCategory(this.toString());
    tpd.setValidator(PropertyDescriptorValidatorProvider
        .getTimeStampValidatorInstance());
    descriptors.add(tpd);
    tpd = new TextPropertyDescriptor(StringConstants.TIE_N, StringConstants.TIE_N);
    tpd.setCategory(this.toString());
    descriptors.add(tpd);
    ComboBoxPropertyDescriptor cpd = new ComboBoxPropertyDescriptor(
        StringConstants.TIE_CURVEDIR, StringConstants.TIE_CURVEDIR,
        GraphicalConstants.PROPCOMBO_STRING_ARRAY_CURVEDIR); // works
    cpd.setCategory(this.toString());
View Full Code Here

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

  private static final long serialVersionUID = 1L;

  public UnknownMeiNodeForm() {
    super();
    createDefaultNode();
    TextPropertyDescriptor tpd = new ReadOnlyTextPropertyDescriptor(
        StringConstants.UMN_TYPE, StringConstants.UMN_TYPE);
    tpd.setCategory(this.toString());
    tpd.setDescription(MusicMessages.MEI_documentation_unknown_form);
    descriptors.add(tpd);
  }
View Full Code Here

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

  public FermataForm() {
    super();
    createDefaultFermata();
    initializeFermata();
   
    TextPropertyDescriptor tpd = new TextPropertyDescriptor(StringConstants.FERMATA_START_ID,
        StringConstants.FERMATA_START_ID);
    tpd.setCategory(this.toString());
    tpd.setValidator(PropertyDescriptorValidatorProvider
        .getExistentIdValidatorInstance());
    descriptors.add(tpd);

    //    tpd = new TextPropertyDescriptor(StringConstants.FERMATA_END_ID, StringConstants.FERMATA_END_ID);
//    tpd.setCategory(this.toString());
//    tpd.setValidator(PropertyDescriptorValidatorProvider
//        .getExistentIdValidatorInstance());
//    descriptors.add(tpd);

    //    tpd = new TextPropertyDescriptor(StringConstants.FERMATA_TIMESTAMP, StringConstants.FERMATA_TIMESTAMP);
//    tpd.setCategory(this.toString());
//    tpd.setValidator(PropertyDescriptorValidatorProvider
//        .getTimeStampValidatorInstance());
//    descriptors.add(tpd);
   
    tpd = new TextPropertyDescriptor(StringConstants.FERMATA_N, StringConstants.FERMATA_N);
    tpd.setCategory(StringConstants.CAT_BASIC);
    descriptors.add(tpd);
   
    ComboBoxPropertyDescriptor cpd = new ComboBoxPropertyDescriptor(
        StringConstants.FERMATA_PLACE, StringConstants.FERMATA_PLACE,
        GraphicalConstants.PROPCOMBO_STRING_ARRAY_PLACES);
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.