@PublicSpi public class GenericTabPanel extends Object implements VersionTabPanel
Modifier and Type | Field and Description |
---|---|
protected JiraAuthenticationContext |
authenticationContext |
protected SearchProvider |
searchProvider |
Constructor and Description |
---|
GenericTabPanel(JiraAuthenticationContext authenticationContext,
SearchProvider searchProvider)
|
GenericTabPanel(JiraAuthenticationContext authenticationContext,
SearchProvider searchProvider,
FieldVisibilityManager fieldVisibilityManager) |
Modifier and Type | Method and Description |
---|---|
protected StatisticAccessorBean |
createStatisticAccessorBean(BrowseVersionContext context,
boolean limitToUnresolved) |
protected Map<String,Object> |
createVelocityParams(BrowseVersionContext context) |
String |
getHtml(BrowseVersionContext context)
Used to render the tab.
|
void |
init(VersionTabPanelModuleDescriptor descriptor)
Initialize the tab panel panel with the plugins ProjectTabPanelModuleDescriptor.
|
boolean |
showPanel(BrowseVersionContext context)
Returns true if fix for version field is visible, false otherwise.
|
protected final JiraAuthenticationContext authenticationContext
protected final SearchProvider searchProvider
public GenericTabPanel(JiraAuthenticationContext authenticationContext, SearchProvider searchProvider, FieldVisibilityManager fieldVisibilityManager)
@Deprecated public GenericTabPanel(JiraAuthenticationContext authenticationContext, SearchProvider searchProvider)
public void init(VersionTabPanelModuleDescriptor descriptor)
TabPanel
init
in interface TabPanel<VersionTabPanelModuleDescriptor,BrowseVersionContext>
descriptor
- the descriptor for this module as defined in the plugin xml descriptor.public String getHtml(BrowseVersionContext context)
TabPanel
getHtml
in interface TabPanel<VersionTabPanelModuleDescriptor,BrowseVersionContext>
context
- The current context the tab is rendering in.protected StatisticAccessorBean createStatisticAccessorBean(BrowseVersionContext context, boolean limitToUnresolved)
protected Map<String,Object> createVelocityParams(BrowseVersionContext context)
public boolean showPanel(BrowseVersionContext context)
showPanel
in interface TabPanel<VersionTabPanelModuleDescriptor,BrowseVersionContext>
context
- version contextCopyright © 2002-2015 Atlassian. All Rights Reserved.