Package edu.stanford.bmir.protege.web.client.ui.search

Examples of edu.stanford.bmir.protege.web.client.ui.search.SearchUtil


        searchField.setEmptyText("Type search string");
        searchField.addListener(new TextFieldListenerAdapter() {
            @Override
            public void onSpecialKey(final Field field, final EventObject e) {
                if (e.getKey() == EventObject.ENTER) {
                    SearchUtil searchUtil = new SearchUtil(getProjectId(), ClassTreePortlet.this, getSearchAsyncCallback());
                    searchUtil.setBusyComponent(searchField);
                    searchUtil.setSearchedValueType(ValueType.Cls);
                    searchUtil.search(searchField.getText());
                }
            }
        });
        return searchField;
    }
View Full Code Here


        explanation2Html.setStylePrimaryName("explanation");
        add(explanation2Html);

        add(new HTML("<b>Possible duplicate categories:</b>"));

        searchGridPanel = new SearchUtil(projectId, searchDblClickSelectable).getSearchGridPanel();
        searchGridPanel.setHeight(160);
        add(searchGridPanel, new AnchorLayoutData("98%"));

        Button createButton = new Button("Create");
        createButton.addListener(new ButtonListenerAdapter() {
View Full Code Here

        searchField.setEmptyText("Type search string");
        searchField.addListener(new TextFieldListenerAdapter() {
            @Override
            public void onSpecialKey(Field field, EventObject e) {
                if (e.getKey() == EventObject.ENTER) {
                    SearchUtil su = new SearchUtil(getProjectId(), IndividualsListPortlet.this);
                    //su.setBusyComponent(searchField);  //this does not seem to work
                    su.setBusyComponent(getTopToolbar());
                    su.setSearchedValueType(ValueType.Instance);
                    su.search(searchField.getText());
                }
            }
        });
        return searchField;
    }
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.client.ui.search.SearchUtil

Copyright © 2018 www.massapicom. 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.