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
logger, moduleDescriptor
 
Constructor Summary
IssuesVersionTabPanel(UnresolvedIssuesByPriorityFragment unresolvedIssuesByPriorityFragment, UnresolvedIssuesByAssigneeFragment unresolvedIssuesByAssigneeFragment, StatusSummaryFragment statusSummaryFragment, UnresolvedIssuesByComponentFragment unresolvedIssuesByComponentFragment, IssueFiltersFragment issueFiltersFragment)
           
 
Method Summary
protected  List<VersionTabPanelFragment> getLeftColumnFragments(BrowseVersionContext ctx)
           
protected  List<VersionTabPanelFragment> getRightColumnFragments(BrowseVersionContext ctx)
           
protected  List<VersionTabPanelFragment> getTopFragments(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, getInlineHeader, getPageHeaderHtml, getSoyRenderer, 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,
                             IssueFiltersFragment issueFiltersFragment)
Method Detail

getTopFragments

protected List<VersionTabPanelFragment> getTopFragments(BrowseVersionContext ctx)
Overrides:
getTopFragments in class AbstractFragmentBasedTabPanel<VersionTabPanelModuleDescriptor,BrowseVersionContext,VersionTabPanelFragment>
Parameters:
ctx - the browse context
Returns:
a list of fragments to be displayed at the top of the project tab panel, below the heading and above the left and right columns

getLeftColumnFragments

protected 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 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-2014 Atlassian. All Rights Reserved.