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

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


            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


                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
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.