Class ReportsProjectTabPanel
java.lang.Object
com.atlassian.jira.plugin.projectpanel.impl.AbstractProjectTabPanel
com.atlassian.jira.projects.legacy.projectpanel.impl.ReportsProjectTabPanel
- All Implemented Interfaces:
TabPanel<ProjectTabPanelModuleDescriptor,,BrowseContext> ProjectTabPanel
Project Tab Panel showing a list of available reports.
- Since:
- v6.1
-
Field Summary
Fields inherited from class com.atlassian.jira.plugin.projectpanel.impl.AbstractProjectTabPanel
authenticationContext, descriptor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates new map of velocity parameters.booleanshowPanel(BrowseContext ctx) Determine whether or not to show this.Methods inherited from class com.atlassian.jira.plugin.projectpanel.impl.AbstractProjectTabPanel
getHtml, init
-
Constructor Details
-
ReportsProjectTabPanel
public ReportsProjectTabPanel(com.atlassian.plugin.PluginAccessor pluginAccessor)
-
-
Method Details
-
createVelocityParams
Description copied from class:AbstractProjectTabPanelCreates new map of velocity parameters. By default this map contains the context params fromBrowseContext. Note that it does not explicitly add the default velocity params or the i18n bean, since these are added inJiraResourcedModuleDescriptor.getHtml(String, java.util.Map).Extenders of AbstractProjectTabPanel should override this method to specify precise parameters required for their velocity template.
- Overrides:
createVelocityParamsin classAbstractProjectTabPanel- Parameters:
ctx- browse context- Returns:
- new velocity parameters map
-
showPanel
Description copied from interface:TabPanelDetermine whether or not to show this.- Parameters:
ctx- The current context the tab is rendering in.- Returns:
- True if the conditions are right to display tab, otherwise false.
-