com.atlassian.jira.projectconfig.tab
Class WebPanelTab
java.lang.Object
com.atlassian.jira.projectconfig.tab.WebPanelTab
- All Implemented Interfaces:
- ProjectConfigTab
- Direct Known Subclasses:
- ComponentsTab, FieldsTab, IssuePermissionsTab, IssueSecurityTab, IssueTypesTab, NotificationsTab, PermissionsTab, RolesTab, ScreensTab, SummaryTab, VersionsTab, WorkflowsTab
public abstract class WebPanelTab
- extends Object
- implements ProjectConfigTab
A tab panel on the project configuration page that is rendered using a webpanel.
It will construct the tab contents from two web panels:
- A header web-panel, assumed to be common for all inheriting tabs, located under 'tabs.admin.projectconfig.header'
- A body web-panel, specific to a given tab, located under 'tabs.admin.projectconfig.{tab ID}'
- Since:
- v4.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CURRENT_PROJECT
public static final String CURRENT_PROJECT
- See Also:
- Constant Field Values
CURRENT_TAB_NAME
public static final String CURRENT_TAB_NAME
- See Also:
- Constant Field Values
WebPanelTab
public WebPanelTab(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
VelocityContextFactory factory,
String id,
String linkId)
getId
public String getId()
- Description copied from interface:
ProjectConfigTab
- Get the ID for the panel.
- Specified by:
getId
in interface ProjectConfigTab
- Returns:
- the ID of the panel.
getLinkId
public String getLinkId()
- Description copied from interface:
ProjectConfigTab
- Return the ID of the tab link that opens this tab.
- Specified by:
getLinkId
in interface ProjectConfigTab
- Returns:
- the ID of the tab link that opens this tab.
getTab
public String getTab(ProjectConfigTabRenderContext context)
- Description copied from interface:
ProjectConfigTab
- Return the tab content.
- Specified by:
getTab
in interface ProjectConfigTab
- Parameters:
context
- contains information that may be useful for tab renderering.
- Returns:
- the HTML of the tab.
addResourceForProject
public void addResourceForProject(ProjectConfigTabRenderContext context)
- Description copied from interface:
ProjectConfigTab
- Add any webresource that the tab needs to render itself.
- Specified by:
addResourceForProject
in interface ProjectConfigTab
- Parameters:
context
- contains information that may be useful for tab renderering.
Copyright © 2002-2013 Atlassian. All Rights Reserved.