Examples of AvatarLinkPanel


Examples of org.eurekastreams.web.client.ui.common.avatar.AvatarLinkPanel

    {
        addStyleName(StaticResourceBundle.INSTANCE.coreCss().connectionItem());
        addStyleName(StaticResourceBundle.INSTANCE.coreCss().listItem());
        addStyleName(StaticResourceBundle.INSTANCE.coreCss().group());

        add(new AvatarLinkPanel(EntityType.GROUP, group.getUniqueId(), group.getAvatarId(), Size.Small));

        FlowPanel infoPanel = new FlowPanel();
        infoPanel.setStyleName(StaticResourceBundle.INSTANCE.coreCss().connectionItemInfo());

        if (!group.isPublic())
View Full Code Here

Examples of org.eurekastreams.web.client.ui.common.avatar.AvatarLinkPanel

        FlowPanel groupPanel = new FlowPanel();
        groupPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().group());
        groupPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().listItem());
        groupPanel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().connectionItem());

        groupPanel.add(new AvatarLinkPanel(EntityType.GROUP, group.getShortName(), group
                .getAvatarId(), Size.Small));

        FlowPanel groupAbout = new FlowPanel();
        groupAbout.addStyleName(StaticResourceBundle.INSTANCE.coreCss().connectionItemInfo());
View Full Code Here

Examples of org.eurekastreams.web.client.ui.common.avatar.AvatarLinkPanel

                        }
                        else if (result instanceof DomainGroupModelView)
                        {
                            final DomainGroupModelView group = (DomainGroupModelView) result;
                            itemPanel.add(new AvatarLinkPanel(EntityType.GROUP, group.getShortName(), group
                                    .getAvatarId(), Size.Small, false));
                            name.setText(group.getName());
                            name.setTitle(group.getName());
                            historyToken = Session.getInstance().generateUrl(
                                    new CreateUrlRequest(Page.GROUPS, group.getShortName()));
View Full Code Here

Examples of org.eurekastreams.web.client.ui.common.avatar.AvatarLinkPanel

     *            the streamDTO to represent
     */
    public ActiveStreamItemPanel(final StreamDTO inStreamDTO)
    {
        coreCss = StaticResourceBundle.INSTANCE.coreCss();
        avatarPanel = new AvatarLinkPanel(inStreamDTO.getEntityType(), inStreamDTO.getUniqueId(),
                inStreamDTO.getAvatarId(), Size.Small);
        Widget main = binder.createAndBindUi(this);
        initWidget(main);

        // add follow controls if not the current person
View Full Code Here

Examples of org.eurekastreams.web.client.ui.common.avatar.AvatarLinkPanel

     *            the streamDTO to represent
     */
    public FeaturedStreamItemPanel(final FeaturedStreamDTO inStreamDTO)
    {
        coreCss = StaticResourceBundle.INSTANCE.coreCss();
        avatarPanel = new AvatarLinkPanel(inStreamDTO.getEntityType(), inStreamDTO.getUniqueId(),
                inStreamDTO.getAvatarId(), Size.Normal);
        Widget main = binder.createAndBindUi(this);
        initWidget(main);

        // add follow controls if not the current person
View Full Code Here

Examples of org.eurekastreams.web.client.ui.common.avatar.AvatarLinkPanel

                        }
                        else if (result instanceof DomainGroupModelView)
                        {
                            final DomainGroupModelView group = (DomainGroupModelView) result;
                            itemPanel.add(new AvatarLinkPanel(EntityType.GROUP, group.getShortName(), group
                                    .getAvatarId(), Size.VerySmall, false));
                            name.setText(group.getName());
                            name.setTitle(group.getName());
                            itemContainer.addClickHandler(new ClickHandler()
                            {
View Full Code Here

Examples of org.eurekastreams.web.client.ui.common.avatar.AvatarLinkPanel

        defaultList.add(followingFilterPanel);
        defaultList.add(everyoneFilterPanel);

        final PersonModelView currentPerson = Session.getInstance().getCurrentPerson();

        AvatarLinkPanel userAvatar = new AvatarLinkPanel(currentPerson.getEntityType(), currentPerson.getAccountId(),
                currentPerson.getAvatarId(), Size.Small, currentPerson.getDisplayName());
        userPanel.add(userAvatar);

        FlowPanel userLinkPanel = new FlowPanel();
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.