Examples of Autocomplete


Examples of com.fathomdb.cli.commands.AutoComplete

public class KeystoneCommandRegistry extends CommandRegistryBase {
  static final Logger log = LoggerFactory.getLogger(KeystoneCommandRegistry.class);

  public KeystoneCommandRegistry() {
    addCommand(new AutoComplete());

    discoverCommands();
  }
View Full Code Here

Examples of com.fathomdb.cli.commands.AutoComplete

import com.fathomdb.cli.commands.AutoComplete;
import com.fathomdb.cli.commands.CommandRegistryBase;

public class PlatformLayerCommandRegistry extends CommandRegistryBase {
  public PlatformLayerCommandRegistry() {
    addCommand(new AutoComplete());
    discoverCommands();
  }
View Full Code Here

Examples of com.flaptor.indextank.api.resources.Autocomplete

public class EmbeddedApiV1 extends RoutesList {

    protected void map() {

        get("/indexes/:name/autocomplete", new Autocomplete());

        get("/indexes/:name/search", new Search());

        put("/indexes/:name/docs", new Docs());
View Full Code Here

Examples of com.google.gwt.maps.client.placeslib.Autocomplete

                        options.setTypes(types);
                        LatLng sw = LatLng.newInstance(extent.getLowerLeftX(), extent.getLowerLeftY());
                        LatLng ne = LatLng.newInstance(extent.getUpperRightX(), extent.getUpperRightY());
                        options.setBounds(LatLngBounds.newInstance(sw, ne));

                        final Autocomplete autoComplete = Autocomplete.newInstance(locationSearchBox.getElement(), options);

                        autoComplete.addPlaceChangeHandler(new PlaceChangeMapHandler() {
                            @Override
                            public void onEvent(PlaceChangeMapEvent event) {
                                PlaceResult result = autoComplete.getPlace();
                                PlaceGeometry geometry = result.getGeometry();
                                LatLng center = geometry.getLocation();

                                Store store = storeBinder.getModel();
                                store.setName(result.getName());
View Full Code Here

Examples of com.google.gwt.maps.client.placeslib.Autocomplete

            options.setTypes(types);
            LatLng sw = LatLng.newInstance(extent.getLowerLeftX(), extent.getLowerLeftY());
            LatLng ne = LatLng.newInstance(extent.getUpperRightX(), extent.getUpperRightY());
            options.setBounds(LatLngBounds.newInstance(sw, ne));

            final Autocomplete autoComplete = Autocomplete.newInstance(locationSearchBox.getElement(), options);

            autoComplete.addPlaceChangeHandler(new PlaceChangeMapHandler() {
              @Override
              public void onEvent(PlaceChangeMapEvent event) {
                PlaceResult result = autoComplete.getPlace();
                PlaceGeometry geometry = result.getGeometry();
                LatLng center = geometry.getLocation();

                Store store = storeBinder.getModel();
                store.setName(result.getName());
View Full Code Here

Examples of org.apache.isis.applib.annotation.AutoComplete

        super(FeatureType.OBJECTS_POST_PROCESSING_ONLY);
    }

    @Override
    public void process(final ProcessClassContext processClassContext) {
        final AutoComplete annotation = Annotations.getAnnotation(processClassContext.getCls(), AutoComplete.class);
        FacetUtil.addFacet(create(annotation, processClassContext.getFacetHolder()));
    }
View Full Code Here

Examples of org.apache.isis.applib.annotation.AutoComplete

        super(FeatureType.OBJECTS_POST_PROCESSING_ONLY);
    }

    @Override
    public void process(final ProcessClassContext processClassContext) {
        final AutoComplete annotation = Annotations.getAnnotation(processClassContext.getCls(), AutoComplete.class);
        FacetUtil.addFacet(create(annotation, processClassContext.getFacetHolder()));
    }
View Full Code Here

Examples of org.libreplan.web.common.components.Autocomplete

        ourCompanyPassword = (Textbox) editWindow
                .getFellow("ourCompanyPassword");
    }

    private void clearAutocompleteUser() {
        Autocomplete user = (Autocomplete) editWindow.getFellowIfAny("user");
        if (user != null) {
            user.clear();
        }
    }
View Full Code Here

Examples of org.libreplan.web.common.components.Autocomplete

        return (List<Criterion>) unit.getRequiredCriterions();
    }

    public void addWorkerAssignment(MachineWorkersConfigurationUnit unit,
            Component c) {
        Autocomplete a = (Autocomplete) c.getPreviousSibling();
        Worker worker = (Worker) a.getItemByText(a.getValue());
        if (worker == null) {
            messages.showMessage(Level.ERROR, _("No worker selected"));
        } else {
            machineModel.addWorkerAssigmentToConfigurationUnit(unit, worker);
            Util.reloadBindings(c.getNextSibling());
View Full Code Here

Examples of org.libreplan.web.common.components.Autocomplete

        });
    }

    private Autocomplete createComboboxLabelTypes(
            WorkReportLabelTypeAssigment workReportLabelTypeAssigment) {
        Autocomplete comboLabelTypes = new Autocomplete();
        comboLabelTypes.setButtonVisible(true);

        final Set<LabelType> listLabelType = getMapLabelTypes().keySet();
        for (LabelType labelType : listLabelType) {
            Comboitem comboItem = new Comboitem();
            comboItem.setValue(labelType);
            comboItem.setLabel(labelType.getName());
            comboItem.setParent(comboLabelTypes);

            if ((workReportLabelTypeAssigment.getLabelType() != null)
                    && (workReportLabelTypeAssigment.getLabelType()
                            .equals(labelType))) {
                comboLabelTypes.setSelectedItem(comboItem);
            }
        }
        return comboLabelTypes;
    }
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.