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

Examples of org.eurekastreams.web.client.ui.common.stream.renderers.StreamMessageItemRenderer.render()


        StreamMessageItemRenderer renderer = new StreamMessageItemRenderer(showRecipient);
        renderer.setShowComment(showComment);
        renderer.setShowManageFlagged(manageFlagged);
        renderer.setSingleView(true);

        add(renderer.render(activity));
        Session.getInstance().getEventBus().notifyObservers(new SwitchedToActivityDetailViewEvent());
    }

    /**
     * Shows a "not found" message.
View Full Code Here


        postToPanel = new PostToPanel(postScope, true);
        body.add(postToPanel);

        StreamMessageItemRenderer messageRenderer = new StreamMessageItemRenderer(ShowRecipient.NO, State.READONLY);

        body.add(messageRenderer.render(sharedMessage));

        Label messageLabel = new Label("Comment:");
        messageLabel.addStyleName(StaticResourceBundle.INSTANCE.coreCss().formLabel());
        body.add(messageLabel);
        commentBox.addStyleName(StaticResourceBundle.INSTANCE.coreCss().messageBox());
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.