@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, getWebPanelpublic 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)
ProjectConfigTabcontext - contains information that may be useful for tab renderering.public void addResourceForProject(ProjectConfigTabRenderContext context)
ProjectConfigTabaddResourceForProject in interface ProjectConfigTabaddResourceForProject in class WebPanelTabcontext - contains information that may be useful for tab renderering.protected com.atlassian.plugin.web.model.WebPanel getBodyWebPanel(Map<String,Object> velocityContext)
getBodyWebPanel in class WebPanelTabprotected Map<String,Object> createVelocityContext(ProjectConfigTabRenderContext context)
createVelocityContext in class WebPanelTabCopyright © 2002-2021 Atlassian. All Rights Reserved.