public class NewsFeedPanel
extends com.google.gwt.user.client.ui.Composite
Modifier and Type | Field and Description |
---|---|
static String |
COMMENT_LABEL |
static String |
GET_OID_PARAMETER |
static String |
LIKE_LABEL |
static String |
LIKED_LABEL |
static String |
loading |
static String |
MESSAGE_LABEL |
Constructor and Description |
---|
NewsFeedPanel() |
Modifier and Type | Method and Description |
---|---|
void |
addJustAddedFeed(org.gcube.portal.databook.shared.ClientFeed cFeed)
used when addin directly a feed from the UI (IPC)
|
protected void |
doDeleteComment(TweetTemplate owner,
String commentId) |
protected void |
doShowCachedNewUpdates()
called when a user click on the are new updates
|
protected void |
doShowMoreUpdates()
called when a user scroll down the page to the bottom
|
protected void |
doUnLike(TweetTemplate owner,
String feedId) |
static String |
getCurrentScope() |
void |
setCurrentFilter(FilterType currentFilter)
set the filter type status for automatic reloading of tweets
|
void |
showAllUpdatesFeeds()
All Updates
|
void |
showOnlyConnectionsFeeds()
Only User Connections
|
void |
showOnlyLikedFeeds()
Only User Liked Feeds
|
void |
showOnlyMyFeeds()
Only User Feeds
|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
public static final String loading
public static final String GET_OID_PARAMETER
public static final String LIKE_LABEL
public static final String LIKED_LABEL
public static final String COMMENT_LABEL
public static final String MESSAGE_LABEL
protected void doShowCachedNewUpdates()
public void addJustAddedFeed(org.gcube.portal.databook.shared.ClientFeed cFeed)
userid
- fullName
- thumbURL
- description
- public void showAllUpdatesFeeds()
protected void doShowMoreUpdates()
public void showOnlyConnectionsFeeds()
public void showOnlyMyFeeds()
public void showOnlyLikedFeeds()
protected void doUnLike(TweetTemplate owner, String feedId)
protected void doDeleteComment(TweetTemplate owner, String commentId)
public void setCurrentFilter(FilterType currentFilter)
currentFilter
- public static String getCurrentScope()
Copyright © 2014. All Rights Reserved.