Class ActionsAndOperationsColumnLayoutItem
java.lang.Object
com.atlassian.jira.web.component.SimpleColumnLayoutItem
com.atlassian.jira.web.component.subtask.ActionsAndOperationsColumnLayoutItem
- All Implemented Interfaces:
ColumnLayoutItem,Comparable
ColumnLayoutItem that displays an AJAX dropdrown of all available actions and operations.
This replaces the previous ActionsLink column layout that showed 3 actions.
- Since:
- 4.0
-
Field Summary
Fields inherited from interface com.atlassian.jira.issue.fields.layout.column.ColumnLayoutItem
TO_ID -
Constructor Summary
ConstructorsConstructorDescriptionActionsAndOperationsColumnLayoutItem(VelocityTemplatingEngine templatingEngine, JiraAuthenticationContext authenticationContext, XsrfTokenGenerator xsrfTokenGenerator) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringSubclasses can override this to provide their own CSS class if they need toReturn some text for the Column Header.Subclasses need to implement this to return the HTML for each row.Methods inherited from class com.atlassian.jira.web.component.SimpleColumnLayoutItem
compareTo, getHeaderHtml, getId, getIssueObject, getNavigableField, getPosition, isAliasForField
-
Constructor Details
-
ActionsAndOperationsColumnLayoutItem
public ActionsAndOperationsColumnLayoutItem(VelocityTemplatingEngine templatingEngine, JiraAuthenticationContext authenticationContext, XsrfTokenGenerator xsrfTokenGenerator)
-
-
Method Details
-
getColumnCssClass
Description copied from class:SimpleColumnLayoutItemSubclasses can override this to provide their own CSS class if they need to- Overrides:
getColumnCssClassin classSimpleColumnLayoutItem- Returns:
- a css class - defaults to empty String
-
getHtml
Description copied from class:SimpleColumnLayoutItemSubclasses need to implement this to return the HTML for each row.- Specified by:
getHtmlin interfaceColumnLayoutItem- Specified by:
getHtmlin classSimpleColumnLayoutItem
-
getColumnHeadingKey
Description copied from interface:ColumnLayoutItemReturn some text for the Column Header. By default this callsNavigableField.getColumnHeadingKey()but implementations can override this to provide different column headings as appropriate- Specified by:
getColumnHeadingKeyin interfaceColumnLayoutItem- Overrides:
getColumnHeadingKeyin classSimpleColumnLayoutItem- Returns:
- A key, which can be run through
I18nHelper.getText(String)to get a heading
-