Example usage for com.google.gwt.core.ext.linker PropertyProviderGenerator interface-usage

List of usage examples for com.google.gwt.core.ext.linker PropertyProviderGenerator interface-usage

Introduction

In this page you can find the example usage for com.google.gwt.core.ext.linker PropertyProviderGenerator interface-usage.

Usage

From source file com.bramosystems.oss.player.core.rebind.PlatformPropertyGenerator.java

/**
 *
 * @author sbraheem
 */
public class PlatformPropertyGenerator implements PropertyProviderGenerator {

From source file com.googlecode.mgwt.useragent.rebind.UserAgentPropertyGenerator.java

/**
 * Generator which writes out the JavaScript for determining the value of the
 * <code>user.agent</code> selection property.
 */
public class UserAgentPropertyGenerator implements PropertyProviderGenerator {

From source file com.gwtplatform.mvp.rebind.linker.FormFactorPropertyGenerator.java

public class FormFactorPropertyGenerator implements PropertyProviderGenerator {
    private static final String QUERY_PARAM_CONFIGURATION = "gwtp.formFactorQueryParam";
    private static final String DEFAULT_QUERY_PARAM_NAME = "formfactor";
    private static final String FORM_FACTOR_JS = "/com/gwtplatform/mvp/rebind/linker/formFactor.js";

    private static final String OUTPUT = "{%n%s%nreturn findFormFactor('%s', location, navigator);%n}";

From source file com.sencha.gxt.core.rebind.useragent.UserAgentPropertyGenerator.java

public class UserAgentPropertyGenerator implements PropertyProviderGenerator {
    @Override
    public String generate(TreeLogger logger, SortedSet<String> possibleValues, String fallback,
            SortedSet<ConfigurationProperty> configProperties) throws UnableToCompleteException {

        SourceWriter sw = new StringSourceWriter();

From source file com.surevine.chat.view.linker.IE6ImagePropertyProviderGenerator.java

/**
 * Generates a property provider to allow the transparent PNG bodge in IE6 to be disabled.
 * It is controlled by two globally scoped JS variables:
 * <dl>
 *      <dt><code>disableIE6PNGFix</code></dt>
 *      <dd>If set to <code>true</code> then the transparent PNG fix will always be disabled in IE6</dd>

From source file org.cruxframework.crux.core.rebind.crossdevice.DeviceFeaturesPropertyGenerator.java

/**
 * @author Thiago da Rosa de Bustamante
 *
 */
public class DeviceFeaturesPropertyGenerator implements PropertyProviderGenerator {
    private static final List<String> VALID_VALUES = Arrays.asList(new String[] { "largeDisplayMouse",