com.atlassian.jira.plugin.projectpanel.impl
Class SummaryProjectTabPanel
java.lang.Object
com.atlassian.jira.plugin.browsepanel.AbstractFragmentBasedTabPanel<ProjectTabPanelModuleDescriptor,BrowseContext,ProjectTabPanelFragment>
com.atlassian.jira.plugin.projectpanel.impl.SummaryProjectTabPanel
- All Implemented Interfaces:
- TabPanel<ProjectTabPanelModuleDescriptor,BrowseContext>, ProjectTabPanel
public class SummaryProjectTabPanel
- extends AbstractFragmentBasedTabPanel<ProjectTabPanelModuleDescriptor,BrowseContext,ProjectTabPanelFragment>
Summary project tab panel.
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SummaryProjectTabPanel
public SummaryProjectTabPanel(ProjectDescriptionFragment projectDescriptionFragment,
DueIssuesFragment dueIssuesFragment,
RecentIssuesFragment recentIssuesFragment,
DueVersionsFragment dueVersionsFragment,
ReportsMenuFragment reportsMenuFragment,
FiltersMenuFragment filtersMenuFragment,
CreatedVsResolvedFragment createdVsResolvedFragment,
ActivityStreamFragment activityStreamFragment)
createEmptyContent
public String createEmptyContent()
- Description copied from class:
AbstractFragmentBasedTabPanel
- Create content for when there ae no fragments shown.
- Overrides:
createEmptyContent
in class AbstractFragmentBasedTabPanel<ProjectTabPanelModuleDescriptor,BrowseContext,ProjectTabPanelFragment>
- Returns:
- the html for the empty content.
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
getMenuFragments
protected List<MenuFragment> getMenuFragments()
- Overrides:
getMenuFragments
in class AbstractFragmentBasedTabPanel<ProjectTabPanelModuleDescriptor,BrowseContext,ProjectTabPanelFragment>
- Returns:
- a list of fragments to be displayed in the menu section of the 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-2009 Atlassian. All Rights Reserved.