com.atlassian.jira.dev.reference.plugin.tabpanels
Class ReferenceIssueTabPanel

java.lang.Object
  extended by com.atlassian.jira.plugin.issuetabpanel.AbstractIssueTabPanel
      extended by com.atlassian.jira.dev.reference.plugin.tabpanels.ReferenceIssueTabPanel
All Implemented Interfaces:
IssueTabPanel

public class ReferenceIssueTabPanel
extends AbstractIssueTabPanel

Describes a simple reference IssueTabPanel that displays a short text message on a tab in the view issue page.

Since:
v4.3

Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.issuetabpanel.AbstractIssueTabPanel
descriptor
 
Constructor Summary
ReferenceIssueTabPanel()
           
 
Method Summary
 List<IssueAction> getActions(Issue issue, com.atlassian.crowd.embedded.api.User remoteUser)
          Return a list of issue actions in the order that you want them to be displayed.
 boolean showPanel(Issue issue, com.atlassian.crowd.embedded.api.User remoteUser)
          This panel will be shown to all users for all issues.
 
Methods inherited from class com.atlassian.jira.plugin.issuetabpanel.AbstractIssueTabPanel
init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceIssueTabPanel

public ReferenceIssueTabPanel()
Method Detail

getActions

public List<IssueAction> getActions(Issue issue,
                                    com.atlassian.crowd.embedded.api.User remoteUser)
Description copied from interface: IssueTabPanel
Return a list of issue actions in the order that you want them to be displayed.

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

the user that is viewing the tab can affect which objects are shown, as well as which operations are available on each.

Parameters:
issue - The Issue that the objects belong to.
remoteUser - The user viewing this tab.
Returns:
A List of IssueAction objects.

showPanel

public boolean showPanel(Issue issue,
                         com.atlassian.crowd.embedded.api.User remoteUser)
This panel will be shown to all users for all issues.

Parameters:
issue - The Issue.
remoteUser - The viewing user.
Returns:
true; for all issues and users.


Copyright © 2002-2013 Atlassian. All Rights Reserved.