public abstract class WebPanelTab extends Object implements ProjectConfigTab
| Modifier and Type | Field and Description |
|---|---|
static String |
CURRENT_PROJECT |
static String |
CURRENT_TAB_NAME |
static String |
EXTRA_URL_PARAM |
| Constructor and Description |
|---|
WebPanelTab(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
VelocityContextFactory factory,
String id,
String linkId) |
| 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) |
protected com.atlassian.plugin.web.model.WebPanel |
getHeaderWebPanel(Map<String,Object> velocityContext) |
String |
getId()
Get the ID for the panel.
|
String |
getLinkId()
Return the ID of the tab link that opens this tab.
|
String |
getTab(ProjectConfigTabRenderContext context)
Return the tab content.
|
protected com.atlassian.plugin.web.model.WebPanel |
getWebPanel(String location,
Map<String,Object> velocityContext,
boolean logWarns) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTitlepublic static final String CURRENT_PROJECT
public static final String CURRENT_TAB_NAME
public static final String EXTRA_URL_PARAM
public WebPanelTab(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
VelocityContextFactory factory,
String id,
String linkId)
public String getId()
ProjectConfigTabgetId in interface ProjectConfigTabpublic String getLinkId()
ProjectConfigTabgetLinkId in interface ProjectConfigTabpublic String getTab(ProjectConfigTabRenderContext context)
ProjectConfigTabgetTab in interface ProjectConfigTabcontext - contains information that may be useful for tab renderering.protected Map<String,Object> createVelocityContext(ProjectConfigTabRenderContext context)
public void addResourceForProject(ProjectConfigTabRenderContext context)
ProjectConfigTabaddResourceForProject in interface ProjectConfigTabcontext - contains information that may be useful for tab renderering.protected com.atlassian.plugin.web.model.WebPanel getBodyWebPanel(Map<String,Object> velocityContext)
protected com.atlassian.plugin.web.model.WebPanel getHeaderWebPanel(Map<String,Object> velocityContext)
Copyright © 2002-2018 Atlassian. All Rights Reserved.