Class IssueTabPanel3Adaptor
java.lang.Object
com.atlassian.jira.plugin.issuetabpanel.IssueTabPanel3Adaptor
- All Implemented Interfaces:
IssueTabPanel3
Adapts old IssueTabPanel and IssueTabPanel2 implementations to the new IssueTabPanel3 interface.
- Since:
- v6.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IssueTabPanel3createFrom(IssueTabPanel issueTabPanel) getActions(GetActionsRequest request) Returns a list of issue actions in the order that you want them to be displayed.voidinit(IssueTabPanelModuleDescriptor descriptor) booleanshowPanel(ShowPanelRequest request) Indicates whether this tab should be shown on a given issue.
-
Constructor Details
-
IssueTabPanel3Adaptor
-
-
Method Details
-
createFrom
-
init
- Specified by:
initin interfaceIssueTabPanel3
-
showPanel
Description copied from interface:IssueTabPanel3Indicates whether this tab should be shown on a given issue.- Specified by:
showPanelin interfaceIssueTabPanel3- Parameters:
request- a ShowPanelRequest- Returns:
- a boolean indicating whether to show the panel or not
-
getActions
Description copied from interface:IssueTabPanel3Returns a list of issue actions in the order that you want them to be displayed. This method will only be called ifshowPanelreturned true for a given context. Therequestparameter 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().- Specified by:
getActionsin interfaceIssueTabPanel3- Parameters:
request- a GetActionsRequest- Returns:
- the actions to display
-