public class AllTabPanel extends AbstractIssueTabPanel2
| Constructor and Description |
|---|
AllTabPanel(com.atlassian.plugin.PluginAccessor pluginAccessor,
IssueTabPanelInvoker issueTabPanelInvoker) |
| Modifier and Type | Method and Description |
|---|---|
GetActionsReply |
getActions(GetActionsRequest request)
Returns a list of issue actions in the order that you want them to be displayed.
|
ShowPanelReply |
showPanel(ShowPanelRequest request)
Indicates whether this tab should be shown on a given issue.
|
descriptor, getActions, init, init, showPanelpublic AllTabPanel(com.atlassian.plugin.PluginAccessor pluginAccessor,
IssueTabPanelInvoker issueTabPanelInvoker)
public GetActionsReply getActions(GetActionsRequest request)
IssueTabPanel2showPanel returned true for a given issue and user. 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.
Example implementation:
@Override
public GetActionsReply getActions(GetActionsRequest request)
{
if (!request.isAsynchronous())
{
return GetActionsReply.create(new AjaxTabPanelAction(request));
}
return GetActionsReply.create(getActionsList(request));
}
Note that for the 'all' tab, the returned actions will be displayed in order according to the value returned by
IssueAction.getTimePerformed().
request - a GetActionsRequestpublic ShowPanelReply showPanel(ShowPanelRequest request)
IssueTabPanel2request - a ShowPanelRequestCopyright © 2002-2021 Atlassian. All Rights Reserved.