Examples of Hints


Examples of org.gwtoolbox.widget.client.form.renderer.simple.hint.Hints

        this.fields = fields;
    }

    public void setHints(Hint... hints) {
        if (hints.length > 0 && this.hints == null) {
            this.hints = new Hints();
        }
        for (Hint hint : hints) {
            this.hints.set(hint);
        }
    }
View Full Code Here

Examples of org.gwtoolbox.widget.client.form.renderer.simple.hint.Hints

    public void setHints(String fieldKey, Hint... hints) {
        if (hintsByFieldKey == null) {
            hintsByFieldKey = new HashMap<String, Hints>();
        }
        Hints fieldHints = hintsByFieldKey.get(fieldKey);
        if (hints.length > 0 && fieldHints == null) {
            fieldHints = new Hints();
            hintsByFieldKey.put(fieldKey, fieldHints);
        }
        for (Hint hint : hints) {
            fieldHints.set(hint);
        }
    }
View Full Code Here

Examples of org.gwtoolbox.widget.client.form.renderer.simple.hint.Hints

    public String[] getFields() {
        return fields;
    }

    public Hints getHints(String fieldKey) {
        Hints hints = new Hints();
        if (this.hints != null) {
            hints.setAll(this.hints);
        }
        if (hintsByFieldKey != null) {
            Hints fieldHints = hintsByFieldKey.get(fieldKey);
            if (fieldHints != null) {
                hints.setAll(fieldHints);
            }
        }
        return hints;
View Full Code Here

Examples of org.locationtech.geogig.repository.Hints

import com.google.inject.Guice;

public class ContextBuilder {

    public final Context build() {
        return build(new Hints());
    }
View Full Code Here

Examples of org.locationtech.geogig.repository.Hints

        Preconditions.checkState(new File(root, ".geogig").exists());

        envProvider = new EnvironmentBuilder(platform);

        ConfigDatabase configDB = new IniFileConfigDatabase(platform);
        return new JEGraphDatabase_v0_1(configDB, envProvider, new Hints());
    }
View Full Code Here

Examples of org.locationtech.geogig.repository.Hints

        Preconditions.checkState(new File(root, ".geogig").exists());

        envProvider = new EnvironmentBuilder(platform);

        ConfigDatabase configDB = new IniFileConfigDatabase(platform);
        return new JEGraphDatabase_v0_2(configDB, envProvider, new Hints());
    }
View Full Code Here

Examples of org.locationtech.geogig.repository.Hints

        File root = folder.getRoot();
        folder.newFolder(".geogig");
        File home = folder.newFolder("home");
        platform = new TestPlatform(root);
        platform.setUserHome(home);
        hints = new Hints();

        envProvider = new EnvironmentBuilder(platform);

    }
View Full Code Here

Examples of org.locationtech.geogig.repository.Hints

        Preconditions.checkState(new File(root, ".geogig").exists());

        envProvider = new EnvironmentBuilder(platform);

        ConfigDatabase configDB = new IniFileConfigDatabase(platform);
        return new JEGraphDatabase_v0_1(configDB, envProvider, new Hints());
    }
View Full Code Here

Examples of org.locationtech.geogig.repository.Hints

        Preconditions.checkState(new File(root, ".geogig").exists());

        envProvider = new EnvironmentBuilder(platform);

        ConfigDatabase configDB = new IniFileConfigDatabase(platform);
        return new JEGraphDatabase_v0_1(configDB, envProvider, new Hints());
    }
View Full Code Here

Examples of org.locationtech.geogig.repository.Hints

     * @param remote the remote to get
     * @return an interface for the remote repository
     */
    @VisibleForTesting
    public Optional<IRemoteRepo> getRemoteRepo(Remote remote) {
        Hints remoteHints = new Hints();
        remoteHints.set(Hints.REMOTES_READ_ONLY, Boolean.FALSE);
        Repository localRepository = repository();
        DeduplicationService deduplicationService = context.deduplicationService();
        return RemoteUtils.newRemote(GlobalContextBuilder.builder.build(remoteHints), remote,
                localRepository, deduplicationService);
    }
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.