com.atlassian.jira.plugin.versionpanel.impl
Class PopularIssuesTabPanel

java.lang.Object
  extended by com.atlassian.jira.plugin.versionpanel.impl.GenericTabPanel
      extended by com.atlassian.jira.plugin.versionpanel.impl.PopularIssuesTabPanel
All Implemented Interfaces:
TabPanel<VersionTabPanelModuleDescriptor,BrowseVersionContext>, VersionTabPanel

public class PopularIssuesTabPanel
extends GenericTabPanel

Version tab panel that displayes popular issues sorted by number of votes.

TODO: refactor to somehow use PopularIssuesProjectTabPanel

Since:
v3.10

Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.versionpanel.impl.GenericTabPanel
authenticationContext, searchProvider
 
Constructor Summary
PopularIssuesTabPanel(JiraAuthenticationContext authenticationContext, SearchProvider searchProvider, ApplicationProperties applicationProperties, ConstantsManager constantsManager, FieldVisibilityManager fieldVisibilityManager)
           
 
Method Summary
protected  Map<String,Object> createVelocityParams(BrowseVersionContext context)
           
 boolean showPanel(BrowseVersionContext context)
          Returns true if fix for version field is visible, false otherwise.
 
Methods inherited from class com.atlassian.jira.plugin.versionpanel.impl.GenericTabPanel
createStatisticAccessorBean, getHtml, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PopularIssuesTabPanel

public PopularIssuesTabPanel(JiraAuthenticationContext authenticationContext,
                             SearchProvider searchProvider,
                             ApplicationProperties applicationProperties,
                             ConstantsManager constantsManager,
                             FieldVisibilityManager fieldVisibilityManager)
Method Detail

createVelocityParams

protected Map<String,Object> createVelocityParams(BrowseVersionContext context)
Overrides:
createVelocityParams in class GenericTabPanel

showPanel

public boolean showPanel(BrowseVersionContext context)
Description copied from class: GenericTabPanel
Returns true if fix for version field is visible, false otherwise.

Specified by:
showPanel in interface TabPanel<VersionTabPanelModuleDescriptor,BrowseVersionContext>
Overrides:
showPanel in class GenericTabPanel
Parameters:
context - version context
Returns:
true if fix for version field is visible, false otherwise


Copyright © 2002-2012 Atlassian. All Rights Reserved.