Package org.olat.core.commons.services.search.ui

Examples of org.olat.core.commons.services.search.ui.SearchEvent


  @Override
  protected void event(UserRequest ureq, Controller source, Event event) {
    if (source == resultCtlr) {
      if (event instanceof SearchEvent) {
        SearchEvent goEvent = (SearchEvent)event;
        ResultDocument doc = goEvent.getDocument();
        gotoSearchResult(ureq, doc);
      } else if (event == Event.DONE_EVENT) {
        setSearchString(resultCtlr.getSearchString());
      }
    } else if (CloseableModalWindowController.CLOSE_WINDOW_EVENT.equals(event)) {
View Full Code Here


  @Override
  protected void formInnerEvent(UserRequest ureq, FormItem source, FormEvent event) {
    if(source == docLink || source == docHighlightLink) {
      if (event != null) {
        fireEvent(ureq, new SearchEvent(document));
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.olat.core.commons.services.search.ui.SearchEvent

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.