* Renderer for the message's verb.
* @return The actions panel.
*/
private Widget buildActionsLine(final ActivityDTO msg, final VerbRenderer verbRenderer)
{
StreamEntityDTO destinationStream = msg.getDestinationStream();
// timestamp and actions
Panel timestampActions = new FlowPanel();
timestampActions.addStyleName(StaticResourceBundle.INSTANCE.coreCss().messageTimestampActionsArea());
// Hijack this property and use to show lock icon for private activity.
if (!msg.isShareable())
{
Label lockIcon = new Label("");
lockIcon.addStyleName(StaticResourceBundle.INSTANCE.coreCss().privateIcon());
timestampActions.add(lockIcon);
}
// create timestamp as permalink
String date = new DateFormatter(new Date()).timeAgo(msg.getPostedTime());
Widget dateLink;
String permalinkUrl = activityLinkBuilder.buildActivityPermalink(msg.getId(), destinationStream.getType(),
destinationStream.getUniqueIdentifier());
dateLink = new InlineHyperlink(date, permalinkUrl);
dateLink.addStyleName(StaticResourceBundle.INSTANCE.coreCss().messageTimestampLink());
timestampActions.add(dateLink);
if (msg.getAppName() != null)