public interface

TabPanel

com.atlassian.jira.plugin.browsepanel.TabPanel<D extends com.atlassian.jira.plugin.AbstractTabPanelModuleDescriptor, C extends com.atlassian.jira.project.browse.BrowseContext>
Known Indirect Subclasses

Class Overview

Unified interface for all fragment-based tab panels.

Summary

Public Methods
abstract String getHtml(C ctx)
Used to render the tab.
abstract void init(D descriptor)
Initialize the tab panel panel with the plugins ProjectTabPanelModuleDescriptor.
abstract boolean showPanel(C ctx)
Determine whether or not to show this.

Public Methods

public abstract String getHtml (C ctx)

Used to render the tab.

Parameters
ctx The current context the tab is rendering in.
Returns
  • Escaped string with the required html.

public abstract void init (D descriptor)

Initialize the tab panel panel with the plugins ProjectTabPanelModuleDescriptor. This is usually used for rendering velocity views.

Parameters
descriptor the descriptor for this module as defined in the plugin xml descriptor.

public abstract boolean showPanel (C ctx)

Determine whether or not to show this.

Parameters
ctx The current context the tab is rendering in.
Returns
  • True if the conditions are right to display tab, otherwise false.