Class ProjectGetStarted
java.lang.Object
com.atlassian.jira.projects.legacy.projectpanel.fragment.impl.AbstractFragment
com.atlassian.jira.projects.legacy.projectpanel.fragment.impl.ProjectGetStarted
- All Implemented Interfaces:
ProjectTabPanelFragment
Displays a welcome message/call to action for empty project.
This is only used when NOT viewing the new project centric layout/sidebar.
- Since:
- v6.0
-
Field Summary
Fields inherited from class com.atlassian.jira.projects.legacy.projectpanel.fragment.impl.AbstractFragment
authenticationContext, log, velocityManager -
Constructor Summary
ConstructorsConstructorDescriptionProjectGetStarted(VelocityTemplatingEngine templatingEngine, JiraAuthenticationContext authenticationContext, PermissionManager permissionManager) -
Method Summary
Methods inherited from class com.atlassian.jira.projects.legacy.projectpanel.fragment.impl.AbstractFragment
createVelocityParams, getHtml, getIssueCountInSearch
-
Constructor Details
-
ProjectGetStarted
@Inject public ProjectGetStarted(VelocityTemplatingEngine templatingEngine, JiraAuthenticationContext authenticationContext, PermissionManager permissionManager)
-
-
Method Details
-
getTemplateDirectoryPath
Description copied from class:AbstractFragmentReturns the path to the template directory- Specified by:
getTemplateDirectoryPathin classAbstractFragment- Returns:
- the path to the template directory
-
getId
Description copied from interface:ProjectTabPanelFragmentReturns the fragment's unique HTML ID.- Returns:
- the id of the fragment, never null
-
showFragment
Description copied from interface:ProjectTabPanelFragmentWhether or not to include a fragment. E.g. check permissions or if there is no content to render- Parameters:
ctx- the context in which this fragment is being rendered- Returns:
- true if the fragment should be shown, false otherwise
-