com.atlassian.jira.projectconfig.tab
Class IssueTypesTab

java.lang.Object
  extended by com.atlassian.jira.projectconfig.tab.IssueTypesTab
All Implemented Interfaces:
ProjectConfigTab

@Component
public class IssueTypesTab
extends Object
implements ProjectConfigTab

Since:
v4.4

Field Summary
static String ERROR
           
static String URL
           
 
Constructor Summary
IssueTypesTab(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, VelocityContextFactory contextFactory)
           
 
Method Summary
 void addResourceForProject(ProjectConfigTabRenderContext context)
          Add any webresource that the tab needs to render itself.
 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.
 String getTitle(ProjectConfigTabRenderContext context)
          Return the title to display in the browser when the tab is displayed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URL

public static final String URL
See Also:
Constant Field Values

ERROR

public static final String ERROR
See Also:
Constant Field Values
Constructor Detail

IssueTypesTab

public IssueTypesTab(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
                     VelocityContextFactory contextFactory)
Method Detail

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.

getTitle

public String getTitle(ProjectConfigTabRenderContext context)
Description copied from interface: ProjectConfigTab
Return the title to display in the browser when the tab is displayed.

Specified by:
getTitle in interface ProjectConfigTab
Parameters:
context - contains information that may be useful for tab renderering.
Returns:
the title to display on the screen.

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-2014 Atlassian. All Rights Reserved.