com.atlassian.jira.plugin.issuetabpanel
Interface IssueTabPanel

All Known Implementing Classes:
AbstractIssueTabPanel, AllTabPanel, ChangeHistoryTabPanel, CommentTabPanel, CVSTabPanel, WorklogTabPanel

public interface IssueTabPanel

A comment, work log, changelog etc on an issue. This plugin type is documented online.


Method Summary
 List getActions(Issue issue, User remoteUser)
          Return a list of issue actions in the order that you want them to be displayed.
 void init(IssueTabPanelModuleDescriptor descriptor)
           
 boolean showPanel(Issue issue, User remoteUser)
          Whether or not to show this tab panel to the given User for the given Issue.
 

Method Detail

init

void init(IssueTabPanelModuleDescriptor descriptor)

getActions

List getActions(Issue issue,
                User remoteUser)
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

boolean showPanel(Issue issue,
                  User remoteUser)
Whether or not to show this tab panel to the given User for the given Issue.

Parameters:
issue - The Issue.
remoteUser - The viewing user.
Returns:
true if we should show this tab panel to the given User for the given Issue.


Copyright © 2002-2010 Atlassian. All Rights Reserved.