com.atlassian.jira.plugin
Class AbstractTabPanelModuleDescriptor<T>

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

public abstract class AbstractTabPanelModuleDescriptor<T>
extends JiraResourcedModuleDescriptor<T>
implements OrderableModuleDescriptor, java.lang.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
moduleClassName, plugin, resources, singleton
 
Constructor Summary
AbstractTabPanelModuleDescriptor(JiraAuthenticationContext authenticationContext, com.atlassian.plugin.module.ModuleFactory moduleFactory)
           
 
Method Summary
protected abstract  void assertModuleClass()
           
protected  java.util.Map createVelocityParams(java.util.Map startingParams)
           
 void enabled()
           
 java.lang.String getLabel()
           
 java.lang.String getLabelKey()
           
 int getOrder()
           
 void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element)
           
 
Methods inherited from class com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
assertResourceExists, createModule, disabled, getAuthenticationContext, getClassLoader, getDescription, getHtml, getHtml, getI18nBean, getModule, 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, loadClass, loadClass, provideValidationRules, 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,
                                        com.atlassian.plugin.module.ModuleFactory moduleFactory)
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<T>
Overrides:
init in class JiraResourcedModuleDescriptor<T>
Throws:
com.atlassian.plugin.PluginParseException

enabled

public void enabled()
Specified by:
enabled in interface com.atlassian.plugin.StateAware
Overrides:
enabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>

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 java.lang.String getLabel()

getLabelKey

public java.lang.String getLabelKey()

createVelocityParams

protected java.util.Map createVelocityParams(java.util.Map startingParams)
Overrides:
createVelocityParams in class JiraResourcedModuleDescriptor<T>


Copyright © 2002-2010 Atlassian. All Rights Reserved.