Package org.eclipse.search.ui

Examples of org.eclipse.search.ui.ISearchResult


    }

    private void loadNewestQueryResult(ISearchQuery[] queries) {
        // new queries are added at first position
        ISearchQuery query = queries[0];
        ISearchResult searchResult = query.getSearchResult();
        if (searchResult instanceof AbstractTextSearchResult) {
            AbstractTextSearchResult res = (AbstractTextSearchResult) searchResult;
            onElementsAdded(asList(res.getElements()));
        }   
    }
View Full Code Here


    public void dispose() {
        unregisterQueryListener();
    }

    public void onQueryRemoved(ISearchQuery query) {
        ISearchResult searchResult = query.getSearchResult();
        if (searchResult instanceof AbstractTextSearchResult) {
            AbstractTextSearchResult res = (AbstractTextSearchResult) searchResult;
            onElementsRemoved(asList(res.getElements()));
        }              
    }
View Full Code Here

TOP

Related Classes of org.eclipse.search.ui.ISearchResult

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.