Examples of TextPropertyDescriptor


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

  public DynamForm() {
    super();
    createDefaultDynam();
    initializeDynam();
   
    TextPropertyDescriptor tpd = new TextPropertyDescriptor(
        StringConstants.DYNAM_VALUE, StringConstants.DYNAM_VALUE);
    tpd.setCategory(this.toString());
    descriptors.add(tpd);
   
    tpd = new TextPropertyDescriptor(StringConstants.DYNAM_START_ID,
        StringConstants.DYNAM_START_ID);
    tpd.setCategory(this.toString());
    tpd.setValidator(PropertyDescriptorValidatorProvider
        .getExistentIdValidatorInstance());
    descriptors.add(tpd);
   
    tpd = new TextPropertyDescriptor(StringConstants.DYNAM_TIMESTAMP,
        StringConstants.DYNAM_TIMESTAMP);
    tpd.setCategory(this.toString());
    tpd.setValidator(PropertyDescriptorValidatorProvider
        .getTimeStampValidatorInstance());
    descriptors.add(tpd);
   
    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);
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.