@PublicSpi public class GenericTabPanel extends Object implements ComponentTabPanel
Modifier and Type | Field and Description |
---|---|
protected JiraAuthenticationContext |
authenticationContext |
protected ComponentTabPanelModuleDescriptor |
descriptor |
protected ProjectManager |
projectManager |
Constructor and Description |
---|
GenericTabPanel(ProjectManager projectManager,
JiraAuthenticationContext authenticationContext,
FieldVisibilityManager fieldVisibilityManager) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
createVelocityParams(BrowseComponentContext context) |
String |
getHtml(BrowseComponentContext context)
Used to render the tab.
|
void |
init(ComponentTabPanelModuleDescriptor descriptor)
Initialize the tab panel panel with the plugins ProjectTabPanelModuleDescriptor.
|
boolean |
showPanel(BrowseComponentContext context)
Determine whether or not to show this.
|
protected ComponentTabPanelModuleDescriptor descriptor
protected final ProjectManager projectManager
protected final JiraAuthenticationContext authenticationContext
public GenericTabPanel(ProjectManager projectManager, JiraAuthenticationContext authenticationContext, FieldVisibilityManager fieldVisibilityManager)
public void init(ComponentTabPanelModuleDescriptor descriptor)
TabPanel
init
in interface TabPanel<ComponentTabPanelModuleDescriptor,BrowseComponentContext>
descriptor
- the descriptor for this module as defined in the plugin xml descriptor.public String getHtml(BrowseComponentContext context)
TabPanel
getHtml
in interface TabPanel<ComponentTabPanelModuleDescriptor,BrowseComponentContext>
context
- The current context the tab is rendering in.public boolean showPanel(BrowseComponentContext context)
TabPanel
showPanel
in interface TabPanel<ComponentTabPanelModuleDescriptor,BrowseComponentContext>
context
- The current context the tab is rendering in.protected Map<String,Object> createVelocityParams(BrowseComponentContext context)
Copyright © 2002-2019 Atlassian. All Rights Reserved.