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

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

public class IssuesProjectTabPanel
extends AbstractFragmentBasedTabPanel<ProjectTabPanelModuleDescriptor,BrowseContext,ProjectTabPanelFragment>

Issues project tab panel.

Since:
v4.0

Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.browsepanel.AbstractFragmentBasedTabPanel
moduleDescriptor
 
Constructor Summary
IssuesProjectTabPanel(UnresolvedIssuesByPriorityFragment unresolvedIssuesByPriorityFragment, UnresolvedIssuesByAssigneeFragment unresolvedIssuesByAssigneeFragment, UnresolvedIssuesByFixVersionFragment unresolvedIssuesByFixVersionFragment, StatusSummaryFragment statusSummaryFragment, UnresolvedIssuesByComponentFragment unresolvedIssuesByComponentFragment)
           
 
Method Summary
protected  List<ProjectTabPanelFragment> getLeftColumnFragments(BrowseContext ctx)
           
protected  List<ProjectTabPanelFragment> getRightColumnFragments(BrowseContext ctx)
           
 boolean showPanel(BrowseContext ctx)
          Determine whether or not to show this.
 
Methods inherited from class com.atlassian.jira.plugin.browsepanel.AbstractFragmentBasedTabPanel
createEmptyContent, getHtml, getInlineHeader, getMenuFragments, 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

IssuesProjectTabPanel

public IssuesProjectTabPanel(UnresolvedIssuesByPriorityFragment unresolvedIssuesByPriorityFragment,
                             UnresolvedIssuesByAssigneeFragment unresolvedIssuesByAssigneeFragment,
                             UnresolvedIssuesByFixVersionFragment unresolvedIssuesByFixVersionFragment,
                             StatusSummaryFragment statusSummaryFragment,
                             UnresolvedIssuesByComponentFragment unresolvedIssuesByComponentFragment)
Method Detail

getLeftColumnFragments

protected List<ProjectTabPanelFragment> getLeftColumnFragments(BrowseContext ctx)
Specified by:
getLeftColumnFragments in class AbstractFragmentBasedTabPanel<ProjectTabPanelModuleDescriptor,BrowseContext,ProjectTabPanelFragment>
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<ProjectTabPanelFragment> getRightColumnFragments(BrowseContext ctx)
Specified by:
getRightColumnFragments in class AbstractFragmentBasedTabPanel<ProjectTabPanelModuleDescriptor,BrowseContext,ProjectTabPanelFragment>
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(BrowseContext ctx)
Description copied from interface: TabPanel
Determine whether or not to show this.

Specified by:
showPanel in interface TabPanel<ProjectTabPanelModuleDescriptor,BrowseContext>
Overrides:
showPanel in class AbstractFragmentBasedTabPanel<ProjectTabPanelModuleDescriptor,BrowseContext,ProjectTabPanelFragment>
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.