List of usage examples for com.google.gwt.dev.cfg Property getName
public String getName()
From source file:com.google.gdt.eclipse.designer.hosted.tdz.HostedModeSupport.java
License:Open Source License
/** * Forcibly set 'user.agent' property to current platform. * http://fogbugz.instantiations.com/fogbugz/default.php?41513 *///from ww w .ja v a2 s .c o m private void fixUserAgentProperty(ModuleDef module) { Properties properties = module.getProperties(); for (Property property : properties) { if ("user.agent".equals(property.getName())) { BindingProperty bindingProperty = (BindingProperty) property; bindingProperty.setAllowedValues(bindingProperty.getRootCondition(), m_browserShell.getUserAgentString()); return; } } }