Package org.eclipse.core.internal.databinding.beans

Examples of org.eclipse.core.internal.databinding.beans.PojoValuePropertyDecorator


    IValueProperty property;
    PropertyDescriptor propertyDescriptor;
    if (beanClass == null) {
      propertyDescriptor = null;
      property = new PojoValuePropertyDecorator(
          new AnonymousPojoValueProperty(propertyNames[0], valueType),
          null);
    } else {
      propertyDescriptor = BeanPropertyHelper.getPropertyDescriptor(
          beanClass, propertyNames[0]);
      property = new PojoValueProperty(propertyDescriptor, valueType);
    }

    IBeanValueProperty beanProperty = new PojoValuePropertyDecorator(
        property, propertyDescriptor);
    for (int i = 1; i < propertyNames.length; i++) {
      beanProperty = beanProperty.value(propertyNames[i]);
    }
    return beanProperty;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.core.internal.databinding.beans.PojoValuePropertyDecorator

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.