public class

SummaryProjectTabPanel

extends AbstractFragmentBasedTabPanel<D extends TabPanelModuleDescriptor, C extends BrowseContext, F extends ProjectTabPanelFragment>
implements ProjectTabPanel
java.lang.Object
   ↳ com.atlassian.jira.plugin.browsepanel.AbstractFragmentBasedTabPanel<D extends com.atlassian.jira.plugin.TabPanelModuleDescriptor, C extends com.atlassian.jira.project.browse.BrowseContext, F extends com.atlassian.jira.plugin.projectpanel.fragment.ProjectTabPanelFragment>
     ↳ com.atlassian.jira.plugin.projectpanel.impl.SummaryProjectTabPanel

Class Overview

Summary project tab panel.

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.plugin.browsepanel.AbstractFragmentBasedTabPanel
Public Constructors
SummaryProjectTabPanel(ProjectDescriptionFragment projectDescriptionFragment, DueVersionsFragment dueVersionsFragment, CreatedVsResolvedFragment createdVsResolvedFragment, ActivityStreamFragment activityStreamFragment, ProjectGetStarted projectGetStarted)
Public Methods
String createEmptyContent()
Create content for when there ae no fragments shown.
String getInlineHeader()
boolean showPanel(BrowseContext ctx)
Determine whether or not to show this.
Protected Methods
List<ProjectTabPanelFragment> getLeftColumnFragments(BrowseContext ctx)
List<MenuFragment> getMenuFragments()
List<ProjectTabPanelFragment> getRightColumnFragments(BrowseContext ctx)
[Expand]
Inherited Methods
From class com.atlassian.jira.plugin.browsepanel.AbstractFragmentBasedTabPanel
From class java.lang.Object
From interface com.atlassian.jira.plugin.browsepanel.TabPanel

Public Constructors

public SummaryProjectTabPanel (ProjectDescriptionFragment projectDescriptionFragment, DueVersionsFragment dueVersionsFragment, CreatedVsResolvedFragment createdVsResolvedFragment, ActivityStreamFragment activityStreamFragment, ProjectGetStarted projectGetStarted)

Public Methods

public String createEmptyContent ()

Create content for when there ae no fragments shown.

Returns
  • the html for the empty content.

public String getInlineHeader ()

public boolean showPanel (BrowseContext ctx)

Determine whether or not to show this.

Parameters
ctx The current context the tab is rendering in.
Returns
  • True if the conditions are right to display tab, otherwise false.

Protected Methods

protected List<ProjectTabPanelFragment> getLeftColumnFragments (BrowseContext ctx)

Parameters
ctx the browse context
Returns
  • a list of fragments to be displayed in the left column of the project tab panel

protected List<MenuFragment> getMenuFragments ()

Returns
  • a list of fragments to be displayed in the menu section of the panel

protected List<ProjectTabPanelFragment> getRightColumnFragments (BrowseContext ctx)

Parameters
ctx the browse context
Returns
  • a list of fragments to be displayed in the right column of the project tab panel