com.atlassian.jira.plugin.projectpanel.impl
Class GenericProjectTabPanel

java.lang.Object
  extended by com.atlassian.jira.plugin.projectpanel.impl.AbstractProjectTabPanel
      extended by com.atlassian.jira.plugin.projectpanel.impl.GenericProjectTabPanel
All Implemented Interfaces:
TabPanel<ProjectTabPanelModuleDescriptor,BrowseContext>, ProjectTabPanel
Direct Known Subclasses:
GenericVersionsProjectTabPanel

Deprecated. Please extend AbstractProjectTabPanel instead. Since v5.0.

public class GenericProjectTabPanel
extends AbstractProjectTabPanel

A generic implementation of a ProjectTabPanel. Delegates to the view resource for rendering.


Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.projectpanel.impl.AbstractProjectTabPanel
authenticationContext, descriptor
 
Constructor Summary
GenericProjectTabPanel(JiraAuthenticationContext jiraAuthenticationContext)
          Deprecated. Please use GenericProjectTabPanel(com.atlassian.jira.security.JiraAuthenticationContext, com.atlassian.jira.web.FieldVisibilityManager) instead.
GenericProjectTabPanel(JiraAuthenticationContext jiraAuthenticationContext, FieldVisibilityManager fieldVisibilityManager)
          Deprecated.  
 
Method Summary
 String getHtml(BrowseContext ctx)
          Deprecated. Used to render the tab.
 boolean showPanel(BrowseContext ctx)
          Deprecated. Determine whether or not to show this.
 
Methods inherited from class com.atlassian.jira.plugin.projectpanel.impl.AbstractProjectTabPanel
createVelocityParams, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericProjectTabPanel

public GenericProjectTabPanel(JiraAuthenticationContext jiraAuthenticationContext,
                              FieldVisibilityManager fieldVisibilityManager)
Deprecated. 

GenericProjectTabPanel

@Deprecated
public GenericProjectTabPanel(JiraAuthenticationContext jiraAuthenticationContext)
Deprecated. Please use GenericProjectTabPanel(com.atlassian.jira.security.JiraAuthenticationContext, com.atlassian.jira.web.FieldVisibilityManager) instead.

Method Detail

getHtml

public String getHtml(BrowseContext ctx)
Deprecated. 
Description copied from interface: TabPanel
Used to render the tab.

Specified by:
getHtml in interface TabPanel<ProjectTabPanelModuleDescriptor,BrowseContext>
Overrides:
getHtml in class AbstractProjectTabPanel
Parameters:
ctx - The current context the tab is rendering in.
Returns:
Escaped string with the required html.

showPanel

public boolean showPanel(BrowseContext ctx)
Deprecated. 
Description copied from interface: TabPanel
Determine whether or not to show this.

Parameters:
ctx - The current context the tab is rendering in.
Returns:
True if the conditions are right to display tab, otherwise false.


Copyright © 2002-2012 Atlassian. All Rights Reserved.