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

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.SummaryComponentTabPanel
All Implemented Interfaces:
TabPanel<ComponentTabPanelModuleDescriptor,BrowseComponentContext>, ComponentTabPanel

public class SummaryComponentTabPanel
extends AbstractFragmentBasedComponentTabPanel

Summary component tab panel.

Since:
v4.0

Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.browsepanel.AbstractFragmentBasedTabPanel
logger, moduleDescriptor
 
Constructor Summary
SummaryComponentTabPanel(ComponentDescriptionFragment componentDescriptionFragment, DueIssuesFragment dueIssuesFragment, RecentIssuesFragment recentIssuesFragment, DueVersionsFragment dueVersionsFragment)
           
 
Method Summary
 String createEmptyContent()
          Create content for when there ae no fragments shown.
 String getInlineHeader()
           
protected  List<ComponentTabPanelFragment> getLeftColumnFragments(BrowseComponentContext ctx)
           
protected  List<ComponentTabPanelFragment> getRightColumnFragments(BrowseComponentContext ctx)
           
 
Methods inherited from class com.atlassian.jira.plugin.browsepanel.AbstractFragmentBasedTabPanel
getHtml, getMenuFragments, getPageHeaderHtml, getSoyRenderer, getTopFragments, init, showPanel
 
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, showPanel
 

Constructor Detail

SummaryComponentTabPanel

public SummaryComponentTabPanel(ComponentDescriptionFragment componentDescriptionFragment,
                                DueIssuesFragment dueIssuesFragment,
                                RecentIssuesFragment recentIssuesFragment,
                                DueVersionsFragment dueVersionsFragment)
Method Detail

createEmptyContent

public String createEmptyContent()
Description copied from class: AbstractFragmentBasedTabPanel
Create content for when there ae no fragments shown.

Overrides:
createEmptyContent in class AbstractFragmentBasedTabPanel<ComponentTabPanelModuleDescriptor,BrowseComponentContext,ComponentTabPanelFragment>
Returns:
the html for the empty content.

getLeftColumnFragments

protected 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 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

getInlineHeader

public String getInlineHeader()
Overrides:
getInlineHeader in class AbstractFragmentBasedTabPanel<ComponentTabPanelModuleDescriptor,BrowseComponentContext,ComponentTabPanelFragment>


Copyright © 2002-2014 Atlassian. All Rights Reserved.