com.atlassian.jira.plugin.projectpanel.fragment.impl
Class ProjectGetStarted
java.lang.Object
com.atlassian.jira.plugin.projectpanel.fragment.impl.AbstractFragment
com.atlassian.jira.plugin.projectpanel.fragment.impl.ProjectGetStarted
- All Implemented Interfaces:
- ProjectTabPanelFragment
public class ProjectGetStarted
- extends AbstractFragment
Displays a fake activity stream fragment for a project.
Used to introduce users to the activity stream before they have any activities.
- Since:
- v6.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectGetStarted
public ProjectGetStarted(VelocityTemplatingEngine templatingEngine,
JiraAuthenticationContext authenticationContext)
getTemplateDirectoryPath
protected String getTemplateDirectoryPath()
- Description copied from class:
AbstractFragment
- Returns the path to the template directory
- Specified by:
getTemplateDirectoryPath
in class AbstractFragment
- Returns:
- the path to the template directory
getId
public String getId()
- Description copied from interface:
ProjectTabPanelFragment
- Returns fragmet's ID.
- Returns:
- id of the fragment, never null
showFragment
public boolean showFragment(BrowseContext ctx)
- Description copied from interface:
ProjectTabPanelFragment
- Whether or not to include a fragment. E.g. check permissios or if there is no contnent to render
- Parameters:
ctx
- The context that this fragment is being rendered in.
- Returns:
- true if the fragment should be shown, false otherwise
Copyright © 2002-2013 Atlassian. All Rights Reserved.