com.atlassian.jira.plugin.issuetabpanel
Class IssueTabPanelModuleDescriptorImpl

java.lang.Object
  extended by com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
      extended by com.atlassian.jira.plugin.AbstractJiraModuleDescriptor<IssueTabPanel3>
          extended by com.atlassian.jira.plugin.issuetabpanel.IssueTabPanelModuleDescriptorImpl
All Implemented Interfaces:
IssueTabPanelModuleDescriptor, JiraResourcedModuleDescriptor<IssueTabPanel3>, OrderableModuleDescriptor, com.atlassian.plugin.ModuleDescriptor<IssueTabPanel3>, com.atlassian.plugin.Resourced, com.atlassian.plugin.StateAware

public class IssueTabPanelModuleDescriptorImpl
extends AbstractJiraModuleDescriptor<IssueTabPanel3>
implements IssueTabPanelModuleDescriptor

An issue tab panel plugin adds extra panel tabs to JIRA's View Issue page.


Field Summary
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources, singleton
 
Constructor Summary
IssueTabPanelModuleDescriptorImpl(JiraAuthenticationContext authenticationContext, com.atlassian.plugin.module.ModuleFactory moduleFactory)
           
 
Method Summary
protected  IssueTabPanel3 createModule()
          Creates an instance of the Module.
 void enabled()
           
 String getLabel()
           
 int getOrder()
           
 void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element)
           
 boolean isDefault()
           
 boolean isSortable()
           
 boolean isSupportsAjaxLoad()
           
 
Methods inherited from class com.atlassian.jira.plugin.AbstractJiraModuleDescriptor
assertResourceExists, createVelocityParams, disabled, getAuthenticationContext, getClassLoader, getDescription, getHtml, getHtml, getI18nBean, getModule, getName, getText, getText, isResourceExist, writeHtml
 
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, checkPermissions, destroy, destroy, equals, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getParams, getPlugin, getPluginKey, getRequiredPermissions, 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, writeHtml
 
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, 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
 

Constructor Detail

IssueTabPanelModuleDescriptorImpl

public IssueTabPanelModuleDescriptorImpl(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<IssueTabPanel3>
Overrides:
init in class AbstractJiraModuleDescriptor<IssueTabPanel3>
Throws:
com.atlassian.plugin.PluginParseException

enabled

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

getLabel

public String getLabel()
Specified by:
getLabel in interface IssueTabPanelModuleDescriptor

createModule

protected IssueTabPanel3 createModule()
Description copied from class: AbstractJiraModuleDescriptor
Creates an instance of the Module.

This is called by the lazy load logic of getModule() and is suitable for overriding in subclasses if they want to customize how the Module class is instantiated.

Overrides:
createModule in class AbstractJiraModuleDescriptor<IssueTabPanel3>
Returns:
a new instance of the module.

getOrder

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

isDefault

public boolean isDefault()
Specified by:
isDefault in interface IssueTabPanelModuleDescriptor

isSortable

public boolean isSortable()
Specified by:
isSortable in interface IssueTabPanelModuleDescriptor

isSupportsAjaxLoad

public boolean isSupportsAjaxLoad()
Specified by:
isSupportsAjaxLoad in interface IssueTabPanelModuleDescriptor
Returns:
a boolean indicating whether the issue tab panel can be loaded using an AJAX request


Copyright © 2002-2014 Atlassian. All Rights Reserved.