com.atlassian.jira.plugin
Class AbstractTabPanelModuleDescriptor

java.lang.Object
  extended by com.atlassian.plugin.descriptors.AbstractModuleDescriptor
      extended by com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
          extended by com.atlassian.jira.plugin.AbstractTabPanelModuleDescriptor
All Implemented Interfaces:
OrderableModuleDescriptor, com.atlassian.plugin.ModuleDescriptor, com.atlassian.plugin.Resourced, Comparable
Direct Known Subclasses:
ComponentTabPanelModuleDescriptor, ProjectTabPanelModuleDescriptor, VersionTabPanelModuleDescriptor

public abstract class AbstractTabPanelModuleDescriptor
extends JiraResourcedModuleDescriptor
implements OrderableModuleDescriptor, Comparable

Copyright 2007 Atlassian Software. All rights reserved.


Field Summary
protected  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
AbstractTabPanelModuleDescriptor(JiraAuthenticationContext authenticationContext)
           
 
Method Summary
protected abstract  void assertModuleClass()
           
protected  Map createVelocityParams(Map startingParams)
           
 String getLabel()
           
 String getLabelKey()
           
abstract  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, getClassLoader, 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
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

order

protected int order
Constructor Detail

AbstractTabPanelModuleDescriptor

public AbstractTabPanelModuleDescriptor(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 abstract Object getModule()
Specified by:
getModule in interface com.atlassian.plugin.ModuleDescriptor
Specified by:
getModule in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor

assertModuleClass

protected abstract void assertModuleClass()
                                   throws com.atlassian.plugin.PluginParseException
Throws:
com.atlassian.plugin.PluginParseException

getOrder

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

getLabel

public String getLabel()

getLabelKey

public String getLabelKey()

createVelocityParams

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


Copyright © 2002-2009 Atlassian. All Rights Reserved.