Package org.eclipse.ui.views.properties

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


    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
    cpd.setCategory(this.toString());
    cpd.setDescription(MusicMessages.MEI_documentation_note_stemdir);
    descriptors.add(cpd);
   
    cpd = new ComboBoxPropertyDescriptor(StringConstants.CHORD_DURATION,
        StringConstants.CHORD_DURATION,
        GraphicalConstants.PROPCOMBO_STRING_ARRAY_DURATIONS);
    cpd.setCategory(this.toString());
    cpd.setDescription(MusicMessages.MEI_documentation_generic_dur);
    descriptors.add(cpd);
   
    cpd = new ComboBoxPropertyDescriptor(
        StringConstants.NOTE_GRACE, StringConstants.NOTE_GRACE,
        GraphicalConstants.PROPCOMBO_STRING_ARRAY_GRACEVALUES);
    cpd.setCategory(this.toString());
    cpd.setDescription(MusicMessages.MEI_documentation_note_grace);
    descriptors.add(cpd);
   
    cpd = new ComboBoxPropertyDescriptor(
        StringConstants.NOTE_SIZE, StringConstants.NOTE_SIZE,
        GraphicalConstants.PROPCOMBO_STRING_ARRAY_SIZEVALUES);
    cpd.setCategory(this.toString());
    cpd.setDescription(MusicMessages.MEI_documentation_note_size);
    descriptors.add(cpd);
   
    ListPropertyDescriptor lpd = new ListPropertyDescriptor(
        StringConstants.CHORD_ARTIC, StringConstants.CHORD_ARTIC,
        GraphicalConstants.TYPE_DATA_ARTICULATION);
View Full Code Here


    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

    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());
    cpd.setDescription(MusicMessages.MEI_documentation_StaffDef_clefshape);
    descriptors.add(cpd);
    cpd = new ComboBoxPropertyDescriptor(StringConstants.STAFFDEF_KEYSIG,
        StringConstants.STAFFDEF_KEYSIG,
        GraphicalConstants.PROPCOMBO_STRING_ARRAY_KEYSIGVALUES);
    cpd.setCategory(this.toString());
    cpd.setDescription(MusicMessages.MEI_documentation_StaffDef_keysig);
    descriptors.add(cpd);
    cpd = new ComboBoxPropertyDescriptor(StringConstants.STAFFDEF_CLEF_LINE,
        StringConstants.STAFFDEF_CLEF_LINE,
        GraphicalConstants.PROPCOMBO_STRING_ARRAY_CLEFLINEVALUES);
    cpd.setCategory(this.toString());
    cpd.setDescription(StringConstants.STAFFDEF_CLEF_LINE);
    descriptors.add(cpd);
    cpd = new ComboBoxPropertyDescriptor(StringConstants.STAFFDEF_CLEF_DIS,
        StringConstants.STAFFDEF_CLEF_DIS,
        GraphicalConstants.PROPCOMBO_STRING_ARRAY_CLEF_DISVALUES);
    cpd.setCategory(this.toString());
    cpd.setDescription(MusicMessages.MEI_documentation_StaffDef_clefdis);
    descriptors.add(cpd);
    cpd = new ComboBoxPropertyDescriptor(StringConstants.STAFFDEF_CLEF_DIS_PLACE,
        StringConstants.STAFFDEF_CLEF_DIS_PLACE,
        GraphicalConstants.PROPCOMBO_STRING_ARRAY_CLEF_DISPLACES);
    cpd.setCategory(this.toString());
    cpd.setDescription(MusicMessages.MEI_documentation_StaffDef_clefdisplace);
    descriptors.add(cpd);
  }
View Full Code Here

        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);
    cpd.setCategory(this.toString());
    cpd.setDescription(MusicMessages.MEI_documentation_generic_dur);
    descriptors.add(cpd);
  }
View Full Code Here

        .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());
    descriptors.add(cpd);
  }
View Full Code Here

   
    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);
    cpd.setCategory(this.toString());
    descriptors.add(cpd);
  }
View Full Code Here

    tpd = new TextPropertyDescriptor(StringConstants.DYNAM_N, StringConstants.DYNAM_N);
    tpd.setCategory(StringConstants.CAT_BASIC);
    tpd.setDescription(MusicMessages.MEI_documentation_generic_n);
    descriptors.add(tpd);
   
    ComboBoxPropertyDescriptor cpd = new ComboBoxPropertyDescriptor(
        StringConstants.DYNAM_PLACE, StringConstants.DYNAM_PLACE,
        GraphicalConstants.PROPCOMBO_STRING_ARRAY_PLACES);
    cpd.setCategory(this.toString());
    descriptors.add(cpd);
  }
View Full Code Here

        boolean fullProps = isFullProperties();
        descriptors = new IPropertyDescriptor[oldDescriptors.length + (fullProps ? 7 : 6)];
        System.arraycopy(oldDescriptors, 0, descriptors, 0, oldDescriptors.length);
        if (fullProps) {
          descriptors[descriptors.length - 7] =
              new ComboBoxPropertyDescriptor(WAIT_FOR_COMPLETION, "Wait for completion", new String[] {"true", "false"});
        }
        descriptors[descriptors.length - 6] = getOnEntryPropertyDescriptor();
        descriptors[descriptors.length - 5] = getOnExitPropertyDescriptor();
        descriptors[descriptors.length - 4] =
            new SubProcessParameterInMappingPropertyDescriptor(PARAMETER_IN_MAPPING, "Parameter In Mapping", getSubProcessNode());
        descriptors[descriptors.length - 3] =
            new SubProcessParameterOutMappingPropertyDescriptor(PARAMETER_OUT_MAPPING, "Parameter Out Mapping", getSubProcessNode());
        descriptors[descriptors.length - 2] =
            new ComboBoxPropertyDescriptor(INDEPENDENT, "Independent", new String[] {"true", "false"});
        descriptors[descriptors.length - 1] =
            new TextPropertyDescriptor(PROCESS_ID, "ProcessId");
    }
View Full Code Here

        super.initDescriptors();
        IPropertyDescriptor[] oldDescriptors = descriptors;
        descriptors = new IPropertyDescriptor[oldDescriptors.length + 1];
        System.arraycopy(oldDescriptors, 0, descriptors, 0, oldDescriptors.length);
        descriptors[descriptors.length - 1] =
            new ComboBoxPropertyDescriptor(AUTO_COMPLETE, "Auto-complete", new String[] { "true", "false" });
    }
View Full Code Here

            descriptors[oldDescriptors.length + (i++)] =
                new TextPropertyDescriptor(def.getName(), def.getName());
        }
        if (fullProps) {
          descriptors[descriptors.length - 5] =
              new ComboBoxPropertyDescriptor(WAIT_FOR_COMPLETION, "Wait for completion", new String[] {"true", "false"});
        }
        descriptors[descriptors.length - 4] = getOnEntryPropertyDescriptor();
        descriptors[descriptors.length - 3] = getOnExitPropertyDescriptor();
        descriptors[descriptors.length - 2] =
            new WorkItemParameterMappingPropertyDescriptor(PARAMETER_MAPPING, "Parameter Mapping", getWorkItemNode());
View Full Code Here

TOP

Related Classes of org.eclipse.ui.views.properties.ComboBoxPropertyDescriptor

Copyright © 2018 www.massapicom. 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.