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

Examples of org.eurekastreams.web.client.ui.common.stream.share.ShareMessageDialogContent


     * @param msg
     *            Activity to share.
     */
    protected void onShare(final ActivityDTO msg)
    {
        Dialog.showCentered(new ShareMessageDialogContent(msg));
    }
View Full Code Here


        EventBus.getInstance().addObserver(GotActivityResponseEvent.class, new Observer<GotActivityResponseEvent>()
        {
            public void update(final GotActivityResponseEvent ev)
            {
                ShareMessageDialogContent dialogContent = new ShareMessageDialogContent(ev.getResponse());
                dialogContent.setHost(new DialogContentHost()
                {
                    public void center()
                    {
                    }

                    public void hide()
                    {
                        WidgetJSNIFacadeImpl.nativeClose();
                    }
                });
                Widget dialogWidget = dialogContent.getBody();
                dialogWidget.addStyleName(StaticResourceBundle.INSTANCE.coreCss().embeddedWidget());
                dialogWidget.addStyleName(StaticResourceBundle.INSTANCE.coreCss().connectCommentWidget());
                main.add(dialogWidget);
            }
        });
View Full Code Here

            shareLink.addClickHandler(new ClickHandler()
            {
                public void onClick(final ClickEvent event)
                {
                    Dialog.showCentered(new ShareMessageDialogContent(msg));
                }
            });
        }

        // Unstick
View Full Code Here

TOP

Related Classes of org.eurekastreams.web.client.ui.common.stream.share.ShareMessageDialogContent

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.