com.atlassian.jira.plugin.projectpanel
Class ProjectTabPanelModuleDescriptor

java.lang.Object
  extended by com.atlassian.plugin.descriptors.AbstractModuleDescriptor
      extended by com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
          extended by com.atlassian.jira.plugin.projectpanel.ProjectTabPanelModuleDescriptor
All Implemented Interfaces:
OrderableModuleDescriptor, com.atlassian.plugin.ModuleDescriptor, com.atlassian.plugin.Resourced

public class ProjectTabPanelModuleDescriptor
extends JiraResourcedModuleDescriptor
implements OrderableModuleDescriptor

A project tab panel plugin adds extra panel tabs to JIRA's Browse Project page.


Field Summary
(package private)  String label
           
(package private)  String labelKey
           
(package private)  int order
           
 
Fields inherited from class com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
RESOURCE_TYPE_I18N
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
plugin, resources, singleton
 
Constructor Summary
ProjectTabPanelModuleDescriptor(JiraAuthenticationContext authenticationContext)
           
 
Method Summary
 int compareTo(Object o)
           
protected  Map createVelocityParams(Map startingParams)
           
 String getLabel()
           
 String getLabelKey()
           
 Object getModule()
           
 int getOrder()
           
 void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element)
           
 
Methods inherited from class com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
assertResourceExists, getAuthenticationContext, getDescription, getHtml, getHtml, getI18nBean, getI18nLocations, getName, getText, getText, isResourceExist
 
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, destroy, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, satisfiesMinJavaVersion, setPlugin, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

label

String label

labelKey

String labelKey

order

int order
Constructor Detail

ProjectTabPanelModuleDescriptor

public ProjectTabPanelModuleDescriptor(JiraAuthenticationContext authenticationContext)
Method Detail

init

public void init(com.atlassian.plugin.Plugin plugin,
                 org.dom4j.Element element)
          throws com.atlassian.plugin.PluginParseException
Specified by:
init in interface com.atlassian.plugin.ModuleDescriptor
Overrides:
init in class JiraResourcedModuleDescriptor
Throws:
com.atlassian.plugin.PluginParseException

getModule

public Object getModule()
Specified by:
getModule in interface com.atlassian.plugin.ModuleDescriptor
Specified by:
getModule in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor

getLabel

public String getLabel()

getLabelKey

public String getLabelKey()

compareTo

public int compareTo(Object o)

createVelocityParams

protected Map createVelocityParams(Map startingParams)
Overrides:
createVelocityParams in class JiraResourcedModuleDescriptor

getOrder

public int getOrder()
Specified by:
getOrder in interface OrderableModuleDescriptor


Copyright © 2002-2007 Atlassian. All Rights Reserved.