Class AbstractIssueTabPanel2
java.lang.Object
com.atlassian.jira.plugin.issuetabpanel.AbstractIssueTabPanel2
- All Implemented Interfaces:
IssueTabPanel,IssueTabPanel2
Convenience class for implementors of
IssueTabPanel2.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final IssueTabPanelModuleDescriptorfinal List<IssueAction>getActions(Issue issue, ApplicationUser remoteUser) Bridge method that delegates to the newIssueTabPanel2.getActions(GetActionsRequest)method.protected voidinit()Subclasses of AbstractIssueTabPanel2 may implement this method in order to perform initialisation work.final voidinit(IssueTabPanelModuleDescriptor descriptor) Initialises this AbstractIssueTabPanel2's descriptor and calls the initialisation hook in the subclass.final booleanshowPanel(Issue issue, ApplicationUser remoteUser) Bridge method that delegates to the newIssueTabPanel2.showPanel(ShowPanelRequest)method.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.jira.plugin.issuetabpanel.IssueTabPanel2
getActions, showPanel
-
Constructor Details
-
AbstractIssueTabPanel2
public AbstractIssueTabPanel2()
-
-
Method Details
-
init
Initialises this AbstractIssueTabPanel2's descriptor and calls the initialisation hook in the subclass.- Specified by:
initin interfaceIssueTabPanel- Parameters:
descriptor- an IssueTabPanelModuleDescriptor
-
showPanel
Bridge method that delegates to the newIssueTabPanel2.showPanel(ShowPanelRequest)method.- Specified by:
showPanelin interfaceIssueTabPanel- Parameters:
issue- The Issue.remoteUser- The viewing user.- Returns:
trueif we should show this tab panel to the given User for the given Issue.
-
getActions
Bridge method that delegates to the newIssueTabPanel2.getActions(GetActionsRequest)method.- Specified by:
getActionsin interfaceIssueTabPanel- Parameters:
issue- The Issue.remoteUser- The viewing user.- Returns:
- a List
-
descriptor
- Returns:
- the IssueTabPanelModuleDescriptor for this IssueTabPanel
-
init
protected void init()Subclasses of AbstractIssueTabPanel2 may implement this method in order to perform initialisation work.
-