com.atlassian.confluence.plugins.macros.dashboard.recentupdates.tabs
Class AbstractTab
java.lang.Object
com.atlassian.confluence.plugins.macros.dashboard.recentupdates.tabs.AbstractTab
- All Implemented Interfaces:
- RecentlyUpdatedMacroTab
- Direct Known Subclasses:
- AllContentTab, FavouriteSpacesTab, NetworkTab, PopularTab, SpaceCategoryTab
public abstract class AbstractTab
- extends java.lang.Object
- implements RecentlyUpdatedMacroTab
Shared tab logic.
Method Summary |
java.lang.String |
getDisplayName()
|
java.lang.String |
getNoContentMessage()
|
java.lang.String |
getUrl()
Given the page URL where the macro is rendered, generates a URL to select this tab. |
protected com.atlassian.user.User |
getUser()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
httpContext
protected final HttpContext httpContext
i18NBeanFactory
protected final I18NBeanFactory i18NBeanFactory
AbstractTab
protected AbstractTab(HttpContext httpContext,
I18NBeanFactory i18NBeanFactory,
LocaleManager localeManager)
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName
in interface RecentlyUpdatedMacroTab
- Returns:
- the internationalised name for this tab, specific to the user currently viewing the tab.
getNoContentMessage
public java.lang.String getNoContentMessage()
- Specified by:
getNoContentMessage
in interface RecentlyUpdatedMacroTab
- Returns:
- the internationalised message to display when this tab has no content.
getUrl
public java.lang.String getUrl()
- Description copied from interface:
RecentlyUpdatedMacroTab
- Given the page URL where the macro is rendered, generates a URL to select this tab.
- Specified by:
getUrl
in interface RecentlyUpdatedMacroTab
- Returns:
- The URL to select this tab
getUser
protected com.atlassian.user.User getUser()
Copyright © 2003-2014 Atlassian. All Rights Reserved.