com.atlassian.jira.plugin.projectpanel.impl
Class LabelsHeatmapProjectTabPanel
java.lang.Object
com.atlassian.jira.plugin.projectpanel.impl.AbstractProjectTabPanel
com.atlassian.jira.plugin.projectpanel.impl.LabelsHeatmapProjectTabPanel
- All Implemented Interfaces:
- TabPanel<ProjectTabPanelModuleDescriptor,BrowseContext>, ProjectTabPanel
public class LabelsHeatmapProjectTabPanel
- extends AbstractProjectTabPanel
Implements a heatmap project tab panel modeled after the one found in Confluence labels. The tab has a number of
different views including:
Popular view (alphabetic or heatmap) View All Index.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LabelsHeatmapProjectTabPanel
public LabelsHeatmapProjectTabPanel(JiraAuthenticationContext jiraAuthenticationContext,
CustomFieldManager customFieldManager,
FieldVisibilityManager fieldVisibilityManager,
FieldManager fieldManager,
LabelUtil labelUtil,
AlphabeticalLabelRenderer alphabeticalLabelRenderer)
getHtml
public String getHtml(BrowseContext browseContext)
- Returns HTML for the project tab. This is overriden here to test for the view type process the proper velocity
template and set appropriate velocity context parameters.
- Specified by:
getHtml
in interface TabPanel<ProjectTabPanelModuleDescriptor,BrowseContext>
- Overrides:
getHtml
in class AbstractProjectTabPanel
- Parameters:
browseContext
- The current context the tab is rendering in.
- Returns:
- Escaped string with the required html.
showPanel
public boolean showPanel(BrowseContext browseContext)
- Description copied from interface:
TabPanel
- Determine whether or not to show this.
- Parameters:
browseContext
- The current context the tab is rendering in.
- Returns:
- True if the conditions are right to display tab, otherwise false.
getLabelFields
public List<Field> getLabelFields(Long projectId)
Copyright © 2002-2012 Atlassian. All Rights Reserved.