public class

NoIssuesFragment

extends AbstractFragment
java.lang.Object
   ↳ com.atlassian.jira.plugin.projectpanel.fragment.impl.AbstractFragment
     ↳ com.atlassian.jira.plugin.projectpanel.fragment.impl.NoIssuesFragment

Class Overview

Shown when there are no issues in the project.

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.plugin.projectpanel.fragment.impl.AbstractFragment
Public Constructors
NoIssuesFragment(VelocityTemplatingEngine templatingEngine, JiraAuthenticationContext authenticationContext, PermissionManager permissionManager)
Public Methods
String getId()
boolean showFragment(BrowseContext ctx)
Protected Methods
Map<StringObject> createVelocityParams(BrowseContext ctx)
Creates new map of velocity parameters.
String getTemplateDirectoryPath()
Returns the path to the template directory
[Expand]
Inherited Methods
From class com.atlassian.jira.plugin.projectpanel.fragment.impl.AbstractFragment
From class java.lang.Object
From interface com.atlassian.jira.plugin.projectpanel.fragment.ProjectTabPanelFragment

Public Constructors

public NoIssuesFragment (VelocityTemplatingEngine templatingEngine, JiraAuthenticationContext authenticationContext, PermissionManager permissionManager)

Public Methods

public String getId ()

public boolean showFragment (BrowseContext ctx)

Protected Methods

protected Map<StringObject> createVelocityParams (BrowseContext ctx)

Creates new map of velocity parameters.

This map contains:

  • fragid - value returned by getId()
  • project - project got from the context passed in
  • i18n - i18n bean from the authentication context

Parameters
ctx browse context
Returns
  • new velocity parameters map

protected String getTemplateDirectoryPath ()

Returns the path to the template directory

Returns
  • the path to the template directory