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

java.lang.Object
  extended by com.atlassian.jira.plugin.browsepanel.AbstractFragmentBasedTabPanel<ComponentTabPanelModuleDescriptor,BrowseComponentContext,ComponentTabPanelFragment>
      extended by com.atlassian.jira.plugin.componentpanel.impl.AbstractFragmentBasedComponentTabPanel
          extended by com.atlassian.jira.plugin.componentpanel.impl.IssuesComponentTabPanel
All Implemented Interfaces:
TabPanel<ComponentTabPanelModuleDescriptor,BrowseComponentContext>, ComponentTabPanel

public class IssuesComponentTabPanel
extends AbstractFragmentBasedComponentTabPanel

Issues component tab panel.

Since:
v4.0

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

IssuesComponentTabPanel

public IssuesComponentTabPanel(UnresolvedIssuesByPriorityFragment unresolvedIssuesByPriorityFragment,
                               UnresolvedIssuesByAssigneeFragment unresolvedIssuesByAssigneeFragment,
                               UnresolvedIssuesByFixVersionFragment unresolvedIssuesByFixVersionFragment,
                               StatusSummaryFragment statusSummaryFragment)
Method Detail

getLeftColumnFragments

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

Specified by:
showPanel in interface TabPanel<ComponentTabPanelModuleDescriptor,BrowseComponentContext>
Overrides:
showPanel in class AbstractFragmentBasedTabPanel<ComponentTabPanelModuleDescriptor,BrowseComponentContext,ComponentTabPanelFragment>
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.