|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor<Void>
com.atlassian.plugin.web.descriptors.DefaultWebItemModuleDescriptor
public class DefaultWebItemModuleDescriptor
Represents a pluggable link.
| Field Summary |
|---|
| Fields inherited from class com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor |
|---|
condition, contextProvider, element, label, params, tooltip, webInterfaceManager, weight |
| Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
|---|
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources, singleton |
| Fields inherited from interface com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor |
|---|
COMPOSITE_TYPE_AND, COMPOSITE_TYPE_OR |
| Constructor Summary | |
|---|---|
DefaultWebItemModuleDescriptor()
|
|
DefaultWebItemModuleDescriptor(WebInterfaceManager webInterfaceManager)
|
|
| Method Summary | |
|---|---|
void |
enabled()
|
WebIcon |
getIcon()
|
WebLink |
getLink()
|
Void |
getModule()
|
String |
getSection()
|
String |
getStyleClass()
Returns the item style as a "class" String consisting of one or more style classes. |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element)
|
| Methods inherited from class com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor |
|---|
disabled, equals, getCondition, getContextProvider, getTooltip, getWebLabel, getWebParams, getWeight, hashCode, makeCondition, makeConditions, makeConditions, makeContextProvider, setWebInterfaceManager |
| Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
|---|
assertModuleClassImplements, checkPermissions, destroy, destroy, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, 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.plugin.web.descriptors.WebFragmentModuleDescriptor |
|---|
getCondition, getTooltip, getWebLabel, getWebParams, getWeight |
| Methods inherited from interface com.atlassian.plugin.ModuleDescriptor |
|---|
destroy, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, 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 com.atlassian.plugin.StateAware |
|---|
disabled |
| Methods inherited from interface com.atlassian.plugin.web.descriptors.ContextAware |
|---|
getContextProvider |
| Constructor Detail |
|---|
public DefaultWebItemModuleDescriptor(WebInterfaceManager webInterfaceManager)
public DefaultWebItemModuleDescriptor()
| Method Detail |
|---|
public void init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element)
throws com.atlassian.plugin.PluginParseException
init in interface com.atlassian.plugin.ModuleDescriptor<Void>init in class AbstractWebFragmentModuleDescriptor<Void>com.atlassian.plugin.PluginParseExceptionpublic String getSection()
getSection in interface WebItemModuleDescriptorpublic WebLink getLink()
getLink in interface WebItemModuleDescriptorpublic WebIcon getIcon()
getIcon in interface WebItemModuleDescriptorpublic String getStyleClass()
WebItemModuleDescriptor
Where possible, use of this method is preferred over getIcon as it
allows more flexibility for CSS-based web element styling and class-based
JavaScript behaviour.
getStyleClass in interface WebItemModuleDescriptorpublic void enabled()
enabled in interface com.atlassian.plugin.StateAwareenabled in class AbstractWebFragmentModuleDescriptor<Void>public Void getModule()
getModule in interface com.atlassian.plugin.ModuleDescriptor<Void>getModule in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||