Package org.eurekastreams.web.client.history

Examples of org.eurekastreams.web.client.history.HistoryHandler


                StartTabsModel.getInstance();

                recordStreamViewMetrics();
                recordPageViewMetrics();

                session.setHistoryHandler(new HistoryHandler());
                Session.getInstance().getEventBus().bufferObservers();
                History.fireCurrentHistoryState();

                processor.setQueueRequests(true);
                master.renderHeaderAndFooter();
View Full Code Here


            public void onSuccess(final PersonModelView person)
            {
                session.setCurrentPerson(person);
                session.setCurrentPersonRoles(person.getRoles());
                session.setHistoryHandler(new HistoryHandler());

                determineLaunchPage();

                // catch attempts to go to profile pages and pop them up in a new window
                final EventBus eventBus = Session.getInstance().getEventBus();
View Full Code Here

    public String buildHashtagSearchLink(final String searchText, final Long streamViewId)
    {
        HashMap<String, String> params = new HashMap<String, String>();
        params.put("search", searchText);

        HistoryHandler history = Session.getInstance().getHistoryHandler();

        // if a user clicks on a hashtag on the single activity view then search for the hashtag in the stream the
        // activity was posted to
        if (history.getPage() == Page.ACTIVITY && history.getViews().size() == 1
                && history.getViews().get(0).matches("\\d+"))
        {
            StreamEntityDTO destinationStream = activity.getDestinationStream();
            Page destinationPage = destinationStream.getEntityType() == EntityType.PERSON ? Page.PEOPLE : Page.GROUPS;
            String destinationView = destinationStream.getUniqueId();
            return "#"
View Full Code Here

TOP

Related Classes of org.eurekastreams.web.client.history.HistoryHandler

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.