com.atlassian.greenhopper.web.issue
Class DefaultXIssueView
java.lang.Object
com.atlassian.greenhopper.web.issue.DefaultXIssueView
- All Implemented Interfaces:
- XIssueView, IssueView
public class DefaultXIssueView
- extends java.lang.Object
- implements XIssueView
Default XIssueView implementation. Provides layouts for summaries, lists and cards.
This issue view is commonly used on the planning board
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
issueFieldManager
protected IssueFieldManager issueFieldManager
DefaultXIssueView
public DefaultXIssueView(IssueFieldManager issueFieldManager,
Configuration configuration,
IssueView issueView)
- Create a new instance, using the provided issueView as backing data object for issue states.
- Parameters:
issueView
-
toggle
public void toggle(com.atlassian.jira.issue.Issue issue)
- Specified by:
toggle
in interface IssueView
asCard
public boolean asCard(com.atlassian.jira.issue.Issue issue)
- Specified by:
asCard
in interface IssueView
asSummary
public boolean asSummary(com.atlassian.jira.issue.Issue issue)
- Specified by:
asSummary
in interface IssueView
asList
public boolean asList(com.atlassian.jira.issue.Issue issue)
- Specified by:
asList
in interface IssueView
createLayout
public Layout createLayout(com.atlassian.jira.issue.Issue issue)
- Creates a layout object for a given issue
- Specified by:
createLayout
in interface XIssueView
createCardLayout
protected CardLayout createCardLayout(IssueFieldManager issueFieldManager,
CardLayouts cardLayouts,
com.atlassian.jira.issue.issuetype.IssueType issueType)
createListLayout
protected ListLayout createListLayout(IssueFieldManager issueFieldManager,
ListLayouts listLayouts,
com.atlassian.jira.issue.issuetype.IssueType issueType)
createSummaryLayout
protected SummaryLayout createSummaryLayout(IssueFieldManager issueFieldManager,
SummaryLayouts summaryLayouts,
com.atlassian.jira.issue.issuetype.IssueType issueType)
getCardLayouts
protected CardLayouts getCardLayouts()
getSummaryLayouts
protected SummaryLayouts getSummaryLayouts()
getListLayouts
protected ListLayouts getListLayouts()
getCardColor
public java.lang.String getCardColor(com.atlassian.jira.issue.Issue issue)
- Specified by:
getCardColor
in interface XIssueView
Copyright © 2007-2011 Atlassian. All Rights Reserved.