public class

PopularIssuesProjectTabPanel

extends AbstractProjectTabPanel
java.lang.Object
   ↳ com.atlassian.jira.plugin.projectpanel.impl.AbstractProjectTabPanel
     ↳ com.atlassian.jira.plugin.projectpanel.impl.PopularIssuesProjectTabPanel

Class Overview

Displays popular issues for a project.

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.plugin.projectpanel.impl.AbstractProjectTabPanel
Public Constructors
PopularIssuesProjectTabPanel(ApplicationProperties applicationProperties, SearchProvider searchProvider, ConstantsManager constantsManager, JiraAuthenticationContext authenticationContext)
Public Methods
boolean showPanel(BrowseContext ctx)
Protected Methods
Map<StringObject> createVelocityParams(BrowseContext ctx)
Creates new map of velocity parameters.
[Expand]
Inherited Methods
From class com.atlassian.jira.plugin.projectpanel.impl.AbstractProjectTabPanel
From class java.lang.Object
From interface com.atlassian.jira.plugin.browsepanel.TabPanel

Public Constructors

public PopularIssuesProjectTabPanel (ApplicationProperties applicationProperties, SearchProvider searchProvider, ConstantsManager constantsManager, JiraAuthenticationContext authenticationContext)

Public Methods

public boolean showPanel (BrowseContext ctx)

Protected Methods

protected Map<StringObject> createVelocityParams (BrowseContext ctx)

Creates new map of velocity parameters. By default this map contains the context params from BrowseContext. Note that it does not explicitly add the default velocity params or the i18n bean, since these are added in getHtml(String, java.util.Map). Extenders of AbstractProjectTabPanel should override this method to specify precise parameters required for their velocity template.

Parameters
ctx browse context
Returns
  • new velocity parameters map