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

java.lang.Object
  extended by com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
      extended by com.atlassian.jira.plugin.AbstractJiraModuleDescriptor<T>
          extended by com.atlassian.jira.plugin.AbstractTabPanelModuleDescriptor<T>
All Implemented Interfaces:
JiraResourcedModuleDescriptor<T>, OrderableModuleDescriptor, TabPanelModuleDescriptor<T>, com.atlassian.plugin.ModuleDescriptor<T>, com.atlassian.plugin.Resourced, com.atlassian.plugin.StateAware, Comparable
Direct Known Subclasses:
ComponentTabPanelModuleDescriptorImpl, ProjectTabPanelModuleDescriptorImpl, VersionTabPanelModuleDescriptorImpl

public abstract class AbstractTabPanelModuleDescriptor<T extends TabPanel>
extends AbstractJiraModuleDescriptor<T>
implements TabPanelModuleDescriptor<T>

Copyright 2007 Atlassian Software. All rights reserved.


Field Summary
protected  int order
           
 
Fields inherited from class com.atlassian.jira.plugin.AbstractJiraModuleDescriptor
RESOURCE_TYPE_I18N
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
moduleClass, moduleClassName, plugin, resources, singleton
 
Constructor Summary
AbstractTabPanelModuleDescriptor(JiraAuthenticationContext authenticationContext, com.atlassian.plugin.module.ModuleFactory moduleFactory)
           
 
Method Summary
protected abstract  void assertModuleClass()
           
protected  Map createVelocityParams(Map startingParams)
           
 void enabled()
           
 String getLabel()
           
 String getLabelKey()
           
 int getOrder()
           
 void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element)
           
 
Methods inherited from class com.atlassian.jira.plugin.AbstractJiraModuleDescriptor
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, equals, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hashCode, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
getHtml, getHtml, getI18nBean
 
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion
 
Methods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation
 
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 extends TabPanel>
Overrides:
init in class AbstractJiraModuleDescriptor<T extends TabPanel>
Throws:
com.atlassian.plugin.PluginParseException

enabled

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

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()
Specified by:
getLabel in interface TabPanelModuleDescriptor<T extends TabPanel>

getLabelKey

public String getLabelKey()
Specified by:
getLabelKey in interface TabPanelModuleDescriptor<T extends TabPanel>

createVelocityParams

protected Map createVelocityParams(Map startingParams)
Overrides:
createVelocityParams in class AbstractJiraModuleDescriptor<T extends TabPanel>


Copyright © 2002-2012 Atlassian. All Rights Reserved.