Package org.eurekastreams.web.client.ui.common.stream.renderers

Examples of org.eurekastreams.web.client.ui.common.stream.renderers.ResourceCountWidget


        EventBus.getInstance().addObserver(GotResourceDTOResponseEvent.class,
                new Observer<GotResourceDTOResponseEvent>()
                {
                    public void update(final GotResourceDTOResponseEvent event)
                    {
                        widget.add(new ResourceCountWidget(CountType.LIKES, resourceUrl, title, desc, thumbs, event
                                .getResponse().getLikeCount(), event.getResponse().getLikersSample(), event
                                .getResponse().isLiked()));
                        widget.add(new ResourceCountWidget(CountType.SHARES, resourceUrl, title, desc, thumbs, event
                                .getResponse().getShareCount(), event.getResponse().getSharersSample(), event
                                .getResponse().isLiked()));
                    }
                });
        LikeResourceModel.getInstance().fetch(
View Full Code Here

TOP

Related Classes of org.eurekastreams.web.client.ui.common.stream.renderers.ResourceCountWidget

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.