Package org.eurekastreams.web.client.events

Examples of org.eurekastreams.web.client.events.UpdateHistoryEvent


        activeSort.addStyleName(StaticResourceBundle.INSTANCE.coreCss().active());

        if (setHistory)
        {
            Session.getInstance().getEventBus().notifyObservers(
                    new UpdateHistoryEvent(new CreateUrlRequest("sort", String.valueOf(sort), false)));
        }
    }
View Full Code Here


                                Document.get().createClickEvent(1, 0, 0, 0, 0, false, false, false, false));
                    }
                    // search term in box - go to search page (should this be here?)
                    else if (!searchTerm.getText().isEmpty())
                    {
                        eventBus.notifyObservers(new UpdateHistoryEvent(new CreateUrlRequest(Page.SEARCH,
                                generateParams(searchTerm.getText()), false)));
                    }
                }
                else if (ev.isDownArrow() && activeItem != null)
                {
View Full Code Here

        {
            public void update(final StreamSearchBeginEvent event)
            {
                if (null == event.getSearchText())
                {
                    eventBus.notifyObservers(new UpdateHistoryEvent(new CreateUrlRequest("search", "", false)));
                    searchBox.setText("");
                }
            }
        });
    }
View Full Code Here

                    searchUrlTimer.cancel();

                    // don't load stream here - the URL change will cause it to be reloaded

                    EventBus.getInstance().notifyObservers(
                            new UpdateHistoryEvent(new CreateUrlRequest("search", searchText, false)));
                }
                else if ((searchTextLength > 2 && searchTextLength != lastSearchLength)
                        || searchTextLength < lastSearchLength)
                {
                    lastSearchLength = searchTextLength;
View Full Code Here

        String searchText = searchBox.getText();
        String searchParam = Session.getInstance().getParameterValue("search");
        if (!searchText.equals(searchParam))
        {
            EventBus.getInstance().notifyObservers(
                    new UpdateHistoryEvent(new CreateUrlRequest("search", searchText, false)));
        }
    }
View Full Code Here

TOP

Related Classes of org.eurekastreams.web.client.events.UpdateHistoryEvent

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.