public class PopularTab extends AbstractTab
Modifier and Type | Field and Description |
---|---|
static String |
NAME |
httpContext, i18NBeanFactory
Constructor and Description |
---|
PopularTab(HttpContext httpContext,
I18NBeanFactory i18NBeanFactory,
LocaleManager localeManager) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
RecentUpdateQueryParameters |
getQueryParameters(RecentlyUpdatedMacroParams macroParams,
RecentlyUpdatedMacroRequestParams requestParams,
com.atlassian.renderer.RenderContext renderContext) |
Map<String,Object> |
getRenderContext(RecentlyUpdatedMacroRequestParams requestParams,
com.atlassian.renderer.RenderContext renderContext)
Gives each tab a chance to add things to the macro's rendering context
|
boolean |
shouldDisplay(com.atlassian.renderer.RenderContext renderContext) |
getDisplayName, getNoContentMessage, getUrl, getUser
public static final String NAME
public PopularTab(HttpContext httpContext, I18NBeanFactory i18NBeanFactory, LocaleManager localeManager)
public String getName()
public boolean shouldDisplay(com.atlassian.renderer.RenderContext renderContext)
renderContext
- The macro rendering contextpublic RecentUpdateQueryParameters getQueryParameters(RecentlyUpdatedMacroParams macroParams, RecentlyUpdatedMacroRequestParams requestParams, com.atlassian.renderer.RenderContext renderContext)
macroParams
- Settings passed in via macro parametersrequestParams
- Settings passed in via request parametersrenderContext
- The macro rendering contextpublic Map<String,Object> getRenderContext(RecentlyUpdatedMacroRequestParams requestParams, com.atlassian.renderer.RenderContext renderContext)
RecentlyUpdatedMacroTab
requestParams
- Settings passed in via request parametersrenderContext
- Settings passed in via macro parametersCopyright © 2003–2015 Atlassian. All rights reserved.