com.atlassian.jira.issue.tabpanels
Class WorklogTabPanel

java.lang.Object
  extended by com.atlassian.jira.plugin.issuetabpanel.AbstractIssueTabPanel
      extended by com.atlassian.jira.issue.tabpanels.WorklogTabPanel
All Implemented Interfaces:
IssueTabPanel

public class WorklogTabPanel
extends AbstractIssueTabPanel


Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.issuetabpanel.AbstractIssueTabPanel
descriptor
 
Constructor Summary
WorklogTabPanel(WorklogService worklogService, JiraDurationUtils jiraDurationUtils, FieldLayoutManager fieldLayoutManager, RendererManager rendererManager, ApplicationProperties applicationProperties, FieldVisibilityManager fieldVisibilityManager)
           
 
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)
          Whether or not to show this tab panel to the given User for the given Issue.
 
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

WorklogTabPanel

public WorklogTabPanel(WorklogService worklogService,
                       JiraDurationUtils jiraDurationUtils,
                       FieldLayoutManager fieldLayoutManager,
                       RendererManager rendererManager,
                       ApplicationProperties applicationProperties,
                       FieldVisibilityManager fieldVisibilityManager)
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)
Description copied from interface: IssueTabPanel
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-2012 Atlassian. All Rights Reserved.