com.atlassian.jira.plugin.componentpanel.impl
Class ChangeLogTabPanel

java.lang.Object
  extended by com.atlassian.jira.plugin.componentpanel.impl.ChangeLogTabPanel
All Implemented Interfaces:
TabPanel<ComponentTabPanelModuleDescriptor,BrowseComponentContext>, ComponentTabPanel

public class ChangeLogTabPanel
extends Object
implements ComponentTabPanel

This class implements change log tab panel.

Since:
v3.10

Constructor Summary
ChangeLogTabPanel(VersionManager versionManager, VersionDrillDownRenderer panelRenderer, FieldVisibilityManager fieldVisibilityManager)
           
 
Method Summary
 String getHtml(BrowseComponentContext ctx)
          Used to render the tab.
 void init(ComponentTabPanelModuleDescriptor descriptor)
          Initialize the tab panel panel with the plugins ProjectTabPanelModuleDescriptor.
 boolean showPanel(BrowseComponentContext ctx)
          Determine whether or not to show this.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeLogTabPanel

public ChangeLogTabPanel(VersionManager versionManager,
                         VersionDrillDownRenderer panelRenderer,
                         FieldVisibilityManager fieldVisibilityManager)
Method Detail

init

public void init(ComponentTabPanelModuleDescriptor descriptor)
Description copied from interface: TabPanel
Initialize the tab panel panel with the plugins ProjectTabPanelModuleDescriptor. This is usually used for rendering velocity views.

Specified by:
init in interface TabPanel<ComponentTabPanelModuleDescriptor,BrowseComponentContext>
Parameters:
descriptor - the descriptor for this module as defined in the plugin xml descriptor.

getHtml

public String getHtml(BrowseComponentContext ctx)
Description copied from interface: TabPanel
Used to render the tab.

Specified by:
getHtml in interface TabPanel<ComponentTabPanelModuleDescriptor,BrowseComponentContext>
Parameters:
ctx - The current context the tab is rendering in.
Returns:
Escaped string with the required html.

showPanel

public boolean showPanel(BrowseComponentContext ctx)
Description copied from interface: TabPanel
Determine whether or not to show this.

Specified by:
showPanel in interface TabPanel<ComponentTabPanelModuleDescriptor,BrowseComponentContext>
Parameters:
ctx - The current context the tab is rendering in.
Returns:
True if the conditions are right to display tab, otherwise false.


Copyright © 2002-2012 Atlassian. All Rights Reserved.