@Component public class ScreensTab extends WebPanelTab
Modifier and Type | Field and Description |
---|---|
static String |
CONTEXT_SCREEN |
CURRENT_PROJECT, CURRENT_TAB_NAME, EXTRA_URL_PARAM
Constructor and Description |
---|
ScreensTab(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
VelocityContextFactory factory,
ProjectFieldScreenHelper screenHelper,
FieldScreenManager fieldScreenManager,
JiraAuthenticationContext jiraAuthenticationContext) |
Modifier and Type | Method and Description |
---|---|
void |
addResourceForProject(ProjectConfigTabRenderContext context)
Add any webresource that the tab needs to render itself.
|
protected Map<String,Object> |
createVelocityContext(ProjectConfigTabRenderContext context) |
protected com.atlassian.plugin.web.model.WebPanel |
getBodyWebPanel(Map<String,Object> velocityContext) |
String |
getTitle(ProjectConfigTabRenderContext context)
Return the title to display in the browser when the tab is displayed.
|
getHeaderWebPanel, getId, getLinkId, getTab, getWebPanel
public static final String CONTEXT_SCREEN
@Autowired public ScreensTab(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, VelocityContextFactory factory, ProjectFieldScreenHelper screenHelper, FieldScreenManager fieldScreenManager, JiraAuthenticationContext jiraAuthenticationContext)
public String getTitle(ProjectConfigTabRenderContext context)
ProjectConfigTab
context
- contains information that may be useful for tab renderering.public void addResourceForProject(ProjectConfigTabRenderContext context)
ProjectConfigTab
addResourceForProject
in interface ProjectConfigTab
addResourceForProject
in class WebPanelTab
context
- contains information that may be useful for tab renderering.protected com.atlassian.plugin.web.model.WebPanel getBodyWebPanel(Map<String,Object> velocityContext)
getBodyWebPanel
in class WebPanelTab
protected Map<String,Object> createVelocityContext(ProjectConfigTabRenderContext context)
createVelocityContext
in class WebPanelTab
Copyright © 2002-2023 Atlassian. All Rights Reserved.