com.atlassian.jira.plugin.projectpanel.impl
Class ChangeLogProjectTabPanel

java.lang.Object
  extended by com.atlassian.jira.plugin.projectpanel.impl.ChangeLogProjectTabPanel
All Implemented Interfaces:
TabPanel<ProjectTabPanelModuleDescriptor,BrowseContext>, ProjectTabPanel

public class ChangeLogProjectTabPanel
extends java.lang.Object
implements ProjectTabPanel

Project Tab Panel displaying past versions and their issues.

Since:
v4.0

Constructor Summary
ChangeLogProjectTabPanel(VersionManager versionManager, VersionDrillDownRenderer panelRenderer)
           
 
Method Summary
 java.lang.String getHtml(BrowseContext ctx)
          Used to render the tab.
 void init(ProjectTabPanelModuleDescriptor descriptor)
          Initialize the tab panel panel with the plugins ProjectTabPanelModuleDescriptor.
 boolean showPanel(BrowseContext 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

ChangeLogProjectTabPanel

public ChangeLogProjectTabPanel(VersionManager versionManager,
                                VersionDrillDownRenderer panelRenderer)
Method Detail

init

public void init(ProjectTabPanelModuleDescriptor 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<ProjectTabPanelModuleDescriptor,BrowseContext>
Parameters:
descriptor - the descriptor for this module as defined in the plugin xml descriptor.

getHtml

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

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

showPanel

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

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


Copyright © 2002-2010 Atlassian. All Rights Reserved.