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

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

public class ImportantProjectTabPanel
extends AbstractProjectTabPanel


Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.projectpanel.impl.AbstractProjectTabPanel
authenticationContext, descriptor
 
Constructor Summary
ImportantProjectTabPanel()
           
 
Method Summary
 void init(ProjectTabPanelModuleDescriptor descriptor)
          Initialize the tab panel panel with the plugins ProjectTabPanelModuleDescriptor.
 boolean showPanel(BrowseContext ctx)
          Determine whether or not to show this.
 
Methods inherited from class com.atlassian.jira.plugin.projectpanel.impl.AbstractProjectTabPanel
createVelocityParams, getHtml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportantProjectTabPanel

public ImportantProjectTabPanel()
Method Detail

init

public void init(ProjectTabPanelModuleDescriptor descriptor)
Description copied from interface: TabPanel
Initialize the tab panel panel with the plugins ProjectTabPanelModuleDescriptor. This is usually used for rendering velocity views.

Specified by:
init in interface TabPanel<ProjectTabPanelModuleDescriptor,BrowseContext>
Overrides:
init in class AbstractProjectTabPanel
Parameters:
descriptor - the descriptor for this module as defined in the plugin xml descriptor.

showPanel

public boolean showPanel(BrowseContext ctx)
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.