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

java.lang.Object
  extended by com.atlassian.jira.plugin.versionpanel.impl.GenericTabPanel
All Implemented Interfaces:
VersionTabPanel
Direct Known Subclasses:
PopularIssuesTabPanel, SummaryTabPanel

public class GenericTabPanel
extends Object
implements VersionTabPanel

Since:
v3.10

Field Summary
protected  JiraAuthenticationContext authenticationContext
           
protected  SearchProvider searchProvider
           
 
Constructor Summary
GenericTabPanel(JiraAuthenticationContext authenticationContext, SearchProvider searchProvider)
           
 
Method Summary
protected  StatisticAccessorBean createStatisticAccessorBean(VersionContext context, boolean limitToUnresolved)
           
protected  Map createVelocityParams(VersionContext context)
           
 String getHtml(VersionContext context)
          Run this tab panel for a given Version Browser action.
 void init(VersionTabPanelModuleDescriptor descriptor)
           
 boolean showPanel(VersionContext context)
          Returns true if fix for version field is visible, false otherwise.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

authenticationContext

protected final JiraAuthenticationContext authenticationContext

searchProvider

protected final SearchProvider searchProvider
Constructor Detail

GenericTabPanel

public GenericTabPanel(JiraAuthenticationContext authenticationContext,
                       SearchProvider searchProvider)
Method Detail

init

public void init(VersionTabPanelModuleDescriptor descriptor)
Specified by:
init in interface VersionTabPanel
Parameters:
descriptor - version tab panel descriptor

getHtml

public String getHtml(VersionContext context)
Description copied from interface: VersionTabPanel
Run this tab panel for a given Version Browser action.

Specified by:
getHtml in interface VersionTabPanel
Parameters:
context - The version context to display html for
Returns:
HTML result of the tab panel.

createStatisticAccessorBean

protected StatisticAccessorBean createStatisticAccessorBean(VersionContext context,
                                                            boolean limitToUnresolved)

createVelocityParams

protected Map createVelocityParams(VersionContext context)

showPanel

public boolean showPanel(VersionContext context)
Returns true if fix for version field is visible, false otherwise.

Specified by:
showPanel in interface VersionTabPanel
Parameters:
context - version context
Returns:
true if fix for version field is visible, false otherwise


Copyright © 2002-2007 Atlassian. All Rights Reserved.