Package org.eurekastreams.web.client.ui.common.dialog

Examples of org.eurekastreams.web.client.ui.common.dialog.Dialog


            public String getCssName()
            {
                return StaticResourceBundle.INSTANCE.coreCss().notificationSettingsModal();
            }
        };
        Dialog newDialog = new Dialog(dialogContent)
        {
            /**
             * When the dialog is closed, go to the start page.
             */
            @Override
            public void hide()
            {
                super.hide();
                EventBus.getInstance().notifyObservers(new UpdateHistoryEvent(new CreateUrlRequest(Page.START)));
            }
        };
        newDialog.showCentered();
    }
View Full Code Here


                        {
                            final Integer videoWidth = vid.getVideoWidth() != null ? vid.getVideoWidth()
                                    : OptOutableVideoDialogContent.DEFAULT_VIDEO_WIDTH;

                            OptOutableVideoDialogContent dialogContent = new OptOutableVideoDialogContent(vid);
                            Dialog dialog = new Dialog(dialogContent)
                            {
                                {
                                    getPopupPanel().setModal(true);
                                }

                                @Override
                                public void center()
                                {
                                    getPopupPanel().setWidth(
                                            videoWidth + OptOutableVideoDialogContent.CONTENT_WIDTH
                                            + OptOutableVideoDialogContent.MARGIN_OFFSET + "px");
                                    super.center();
                                    getPopupPanel().setPopupPosition(getPopupPanel().getAbsoluteLeft(),
                                            OptOutableVideoDialogContent.DIALOG_HEIGHT_OFFSET);
                                }
                            };
                            dialog.showUncentered();
                        }
                        break;
                    }
                }
            }
View Full Code Here

        viewAll.addClickHandler(new ClickHandler()
        {
            public void onClick(final ClickEvent arg0)
            {
                DialogContent dialogContent = new LikersDialogContent(currentActivityId);
                Dialog dialog = new Dialog(dialogContent);
                dialog.addStyleName(StaticResourceBundle.INSTANCE.coreCss().likerModal());
                dialog.showCentered();
            }

        });

        usersWhoLikedPanelWrapper.setVisible(false);
View Full Code Here

                        {
                            onAvatarIdChanged(strategy.getImageId(), strategy.getEntityType() == EntityType.PERSON);
                        }
                    }, hiddenImage.getWidth() + "px", hiddenImage.getHeight() + "px");

                    Dialog dialog = new Dialog(imageCropDialog);
                    dialog.showCentered();
                }
            });
        }

        if (strategy.getImageType().equals(ImageType.BANNER))
View Full Code Here

TOP

Related Classes of org.eurekastreams.web.client.ui.common.dialog.Dialog

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.