com.atlassian.jira.plugin.versionpanel.impl
Class IssuesVersionTabPanel

java.lang.Object
  extended by com.atlassian.jira.plugin.browsepanel.AbstractFragmentBasedTabPanel<VersionTabPanelModuleDescriptor,BrowseVersionContext,VersionTabPanelFragment>
      extended by com.atlassian.jira.plugin.versionpanel.impl.AbstractFragmentBasedVersionTabPanel
          extended by com.atlassian.jira.plugin.versionpanel.impl.IssuesVersionTabPanel
All Implemented Interfaces:
TabPanel<VersionTabPanelModuleDescriptor,BrowseVersionContext>, VersionTabPanel

public class IssuesVersionTabPanel
extends AbstractFragmentBasedVersionTabPanel

Issues version tab panel.

Since:
v4.0

Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.browsepanel.AbstractFragmentBasedTabPanel
moduleDescriptor
 
Constructor Summary
IssuesVersionTabPanel(UnresolvedIssuesByPriorityFragment unresolvedIssuesByPriorityFragment, UnresolvedIssuesByAssigneeFragment unresolvedIssuesByAssigneeFragment, StatusSummaryFragment statusSummaryFragment, UnresolvedIssuesByComponentFragment unresolvedIssuesByComponentFragment)
           
 
Method Summary
protected  java.util.List<VersionTabPanelFragment> getLeftColumnFragments(BrowseVersionContext ctx)
           
protected  java.util.List<VersionTabPanelFragment> getRightColumnFragments(BrowseVersionContext ctx)
           
 boolean showPanel(BrowseVersionContext ctx)
          Determine whether or not to show this.
 
Methods inherited from class com.atlassian.jira.plugin.versionpanel.impl.AbstractFragmentBasedVersionTabPanel
getMenuFragments
 
Methods inherited from class com.atlassian.jira.plugin.browsepanel.AbstractFragmentBasedTabPanel
createEmptyContent, getHtml, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.plugin.browsepanel.TabPanel
getHtml, init
 

Constructor Detail

IssuesVersionTabPanel

public IssuesVersionTabPanel(UnresolvedIssuesByPriorityFragment unresolvedIssuesByPriorityFragment,
                             UnresolvedIssuesByAssigneeFragment unresolvedIssuesByAssigneeFragment,
                             StatusSummaryFragment statusSummaryFragment,
                             UnresolvedIssuesByComponentFragment unresolvedIssuesByComponentFragment)
Method Detail

getLeftColumnFragments

protected java.util.List<VersionTabPanelFragment> getLeftColumnFragments(BrowseVersionContext ctx)
Specified by:
getLeftColumnFragments in class AbstractFragmentBasedTabPanel<VersionTabPanelModuleDescriptor,BrowseVersionContext,VersionTabPanelFragment>
Parameters:
ctx - the browse context
Returns:
a list of fragments to be displayed in the left column of the project tab panel

getRightColumnFragments

protected java.util.List<VersionTabPanelFragment> getRightColumnFragments(BrowseVersionContext ctx)
Specified by:
getRightColumnFragments in class AbstractFragmentBasedTabPanel<VersionTabPanelModuleDescriptor,BrowseVersionContext,VersionTabPanelFragment>
Parameters:
ctx - the browse context
Returns:
a list of fragments to be displayed in the right column of the project tab panel

showPanel

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

Specified by:
showPanel in interface TabPanel<VersionTabPanelModuleDescriptor,BrowseVersionContext>
Overrides:
showPanel in class AbstractFragmentBasedTabPanel<VersionTabPanelModuleDescriptor,BrowseVersionContext,VersionTabPanelFragment>
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.