com.atlassian.jira.issue.tabpanels
Class CommentTabPanel

java.lang.Object
  extended by com.atlassian.jira.plugin.issuetabpanel.AbstractIssueTabPanel3
      extended by com.atlassian.jira.issue.tabpanels.CommentTabPanel
All Implemented Interfaces:
IssueTabPanel3

public class CommentTabPanel
extends AbstractIssueTabPanel3


Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.issuetabpanel.AbstractIssueTabPanel3
descriptor
 
Constructor Summary
CommentTabPanel(ApplicationPropertiesService applicationPropertiesService, CommentManager commentManager, CommentPermissionManager commentPermissionManager, IssueManager issueManager, FieldLayoutManager fieldLayoutManager, RendererManager rendererManager, DateTimeFormatter dateTimeFormatter, SoyTemplateRendererProvider soyTemplateRendererProvider, FeatureManager featureManager)
           
 
Method Summary
 List<IssueAction> getActions(GetActionsRequest request)
          Returns a list of issue actions in the order that you want them to be displayed.
 boolean showPanel(ShowPanelRequest request)
          Indicates whether this tab should be shown on a given issue.
 
Methods inherited from class com.atlassian.jira.plugin.issuetabpanel.AbstractIssueTabPanel3
init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommentTabPanel

public CommentTabPanel(ApplicationPropertiesService applicationPropertiesService,
                       CommentManager commentManager,
                       CommentPermissionManager commentPermissionManager,
                       IssueManager issueManager,
                       FieldLayoutManager fieldLayoutManager,
                       RendererManager rendererManager,
                       DateTimeFormatter dateTimeFormatter,
                       SoyTemplateRendererProvider soyTemplateRendererProvider,
                       FeatureManager featureManager)
Method Detail

showPanel

public boolean showPanel(ShowPanelRequest request)
Description copied from interface: IssueTabPanel3
Indicates whether this tab should be shown on a given issue.

Parameters:
request - a ShowPanelRequest
Returns:
a ShowPanelRequest indicating whether to show the panel or not

getActions

public List<IssueAction> getActions(GetActionsRequest request)
Description copied from interface: IssueTabPanel3
Returns a list of issue actions in the order that you want them to be displayed. This method will only be called if showPanel returned true for a given context. The request parameter contains the user that is viewing the tab, information as to whether the tab is being loaded using an AJAX request, and so on.

Note that for the 'all' tab, the returned actions will be displayed in order according to the value returned by IssueAction.getTimePerformed().

Parameters:
request - a GetActionsRequest
Returns:
the actions to display


Copyright © 2002-2013 Atlassian. All Rights Reserved.