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<IssueTabPanel>
          extended by com.atlassian.jira.plugin.issuetabpanel.IssueTabPanelModuleDescriptorImpl
All Implemented Interfaces:
IssueTabPanelModuleDescriptor, JiraResourcedModuleDescriptor<IssueTabPanel>, OrderableModuleDescriptor, com.atlassian.plugin.ModuleDescriptor<IssueTabPanel>, com.atlassian.plugin.Resourced, com.atlassian.plugin.StateAware

public class IssueTabPanelModuleDescriptorImpl
extends AbstractJiraModuleDescriptor<IssueTabPanel>
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.jira.plugin.AbstractJiraModuleDescriptor
RESOURCE_TYPE_I18N
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
moduleClass, moduleClassName, plugin, resources, singleton
 
Constructor Summary
IssueTabPanelModuleDescriptorImpl(JiraAuthenticationContext authenticationContext, com.atlassian.plugin.module.ModuleFactory moduleFactory)
           
 
Method Summary
 void enabled()
           
 List<IssueAction> getActions(Issue issue, com.atlassian.crowd.embedded.api.User remoteUser)
           
 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, createModule, createVelocityParams, 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
 

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

enabled

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

getLabel

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

getActions

public List<IssueAction> getActions(Issue issue,
                                    com.atlassian.crowd.embedded.api.User remoteUser)
Specified by:
getActions in interface IssueTabPanelModuleDescriptor
Parameters:
issue - Issue
remoteUser - User
Returns:
A List of IssueActions.

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-2012 Atlassian. All Rights Reserved.