Example usage for com.google.gwt.core.ext DefaultConfigurationProperty DefaultConfigurationProperty

List of usage examples for com.google.gwt.core.ext DefaultConfigurationProperty DefaultConfigurationProperty

Introduction

In this page you can find the example usage for com.google.gwt.core.ext DefaultConfigurationProperty DefaultConfigurationProperty.

Prototype

public DefaultConfigurationProperty(String name, List<String> values) 

Source Link

Document

Construct a configuration property.

Usage

From source file:com.googlecode.gwt.test.internal.handlers.StaticPropertyOracle.java

License:Apache License

public com.google.gwt.core.ext.ConfigurationProperty getConfigurationProperty(String propertyName)
        throws BadPropertyValueException {
    ConfigurationProperty config = configPropertiesByName.get(propertyName);
    if (config == null) {
        throw new BadPropertyValueException(propertyName);
    }/* ww w  . j  a v a  2s .c  o m*/
    return new DefaultConfigurationProperty(config.getName(), config.getValues());
}