Examples of StreamRequestEvent


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

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

        String jsonRequest = StreamJsonRequestFactory.addRecipient(EntityType.GROUP, group.getShortName(),
                StreamJsonRequestFactory.getEmptyRequest()).toString();

        Session.getInstance().getEventBus().notifyObservers(new StreamRequestEvent(group.getName(), jsonRequest));
        Session.getInstance().getEventBus()
                .notifyObservers(new ChangeShowStreamRecipientEvent(ShowRecipient.RESOURCE_ONLY));
        Session.getInstance().getEventBus().notifyObservers(new SwitchedToGroupStreamEvent(group));

    }
View Full Code Here

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

     * Activates the view item.
     */
    public void activate()
    {
        Session.getInstance().getEventBus().notifyObservers(
                new StreamRequestEvent(stream.getName(), stream.getId(), stream.getRequest()));

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

        Session.getInstance().getEventBus().notifyObservers(new SwitchedToCustomStreamEvent());
        Session.getInstance().getEventBus().notifyObservers(new ChangeShowStreamRecipientEvent(ShowRecipient.YES));
View Full Code Here

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

            streamPanel.add(panel); // cheating somewhat here
        }

        initWidget(streamPanel);

        EventBus.getInstance().notifyObservers(new StreamRequestEvent("", jsonRequest));
    }
View Full Code Here

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

        eventBus.addObserver(StreamReinitializeRequestEvent.class, new Observer<StreamReinitializeRequestEvent>()
        {
            public void update(final StreamReinitializeRequestEvent event)
            {
                eventBus.notifyObservers(new StreamRequestEvent(streamName, jsonQuery, true));
            }
        });

        eventBus.addObserver(MessageStreamAppendEvent.class, new Observer<MessageStreamAppendEvent>()
        {
View Full Code Here

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

                new FullStreamWidgetStreamMessageItemRenderer());
        streamPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().embeddedWidget());
        streamPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().eurekaConnectFullStreamWidget());
        initWidget(streamPanel);

        EventBus.getInstance().notifyObservers(new StreamRequestEvent("", jsonRequest));
        StreamScope postingScope = getPostingScope(jsonRequest);
        if (postingScope != null)
        {
            streamPanel.setStreamScope(postingScope, true);
        }
View Full Code Here

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

        });

        String jsonRequest = StreamJsonRequestFactory.addRecipient(EntityType.RESOURCE, resourceId,
                StreamJsonRequestFactory.getEmptyRequest()).toString();

        EventBus.getInstance().notifyObservers(new StreamRequestEvent("", jsonRequest));
        streamPanel.setStreamScope(streamScope, true);
    }
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.