com.atlassian.jira.plugin.componentpanel.impl
Class GenericTabPanel
java.lang.Object
com.atlassian.jira.plugin.componentpanel.impl.GenericTabPanel
- All Implemented Interfaces:
- ComponentTabPanel
- Direct Known Subclasses:
- AbstractSummaryTabPanel, PopularIssuesTabPanel
public class GenericTabPanel
- extends Object
- implements ComponentTabPanel
- Since:
- v3.10
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
projectManager
protected final ProjectManager projectManager
authenticationContext
protected final JiraAuthenticationContext authenticationContext
GenericTabPanel
public GenericTabPanel(ProjectManager projectManager,
JiraAuthenticationContext authenticationContext)
init
public void init(ComponentTabPanelModuleDescriptor descriptor)
- Specified by:
init
in interface ComponentTabPanel
- Parameters:
descriptor
- component tab panel descriptor
getHtml
public String getHtml(ComponentContext context)
- Description copied from interface:
ComponentTabPanel
- Run this tab panel for a given Component Browser action.
- Specified by:
getHtml
in interface ComponentTabPanel
- Parameters:
context
- the component to render html for
- Returns:
- HTML result of the tab panel.
showPanel
public boolean showPanel(ComponentContext context)
- Description copied from interface:
ComponentTabPanel
- Whether or not to show this panel for the given action, project and version.
- Specified by:
showPanel
in interface ComponentTabPanel
- Parameters:
context
- component
- Returns:
- true if panel should be shown, false otherwise
createStatisticAccessorBean
protected StatisticAccessorBean createStatisticAccessorBean(ProjectComponent component)
createVelocityParams
protected Map createVelocityParams(ComponentContext context)
Copyright © 2002-2009 Atlassian. All Rights Reserved.