public class CommentTabPanel extends AbstractIssueTabPanel3
descriptor
Constructor and Description |
---|
CommentTabPanel(CommentManager commentManager,
CommentService commentService,
CommentPermissionManager commentPermissionManager,
CommentReactionsEnabledService commentReactionsEnabledService,
IssueManager issueManager,
FieldLayoutManager fieldLayoutManager,
RendererManager rendererManager,
DateTimeFormatter dateTimeFormatter,
SoyTemplateRendererProvider soyTemplateRendererProvider,
CommentFieldRenderer commentFieldRenderer,
CommentPropertyService commentPropertyService,
JiraAuthenticationContext jiraAuthenticationContext) |
Modifier and Type | Method and Description |
---|---|
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.
|
init
public CommentTabPanel(CommentManager commentManager, CommentService commentService, CommentPermissionManager commentPermissionManager, CommentReactionsEnabledService commentReactionsEnabledService, IssueManager issueManager, FieldLayoutManager fieldLayoutManager, RendererManager rendererManager, DateTimeFormatter dateTimeFormatter, SoyTemplateRendererProvider soyTemplateRendererProvider, CommentFieldRenderer commentFieldRenderer, CommentPropertyService commentPropertyService, JiraAuthenticationContext jiraAuthenticationContext)
public boolean showPanel(ShowPanelRequest request)
IssueTabPanel3
request
- a ShowPanelRequestpublic List<IssueAction> getActions(GetActionsRequest request)
IssueTabPanel3
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()
.
request
- a GetActionsRequestCopyright © 2002-2022 Atlassian. All Rights Reserved.