public interface

WebItemModuleDescriptor

implements WebFragmentModuleDescriptor
com.atlassian.plugin.web.descriptors.WebItemModuleDescriptor
Known Indirect Subclasses

Class Overview

A web-item plugin adds extra links to a particular section.

Summary

[Expand]
Inherited Constants
From interface com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor
Public Methods
abstract WebIcon getIcon()
abstract WebLink getLink()
abstract String getSection()
abstract String getStyleClass()
Returns the item style as a "class" String consisting of one or more style classes.
[Expand]
Inherited Methods
From interface com.atlassian.plugin.ModuleDescriptor
From interface com.atlassian.plugin.Resourced
From interface com.atlassian.plugin.StateAware
From interface com.atlassian.plugin.web.descriptors.ConditionalDescriptor
From interface com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor
From interface com.atlassian.plugin.web.descriptors.WeightedDescriptor

Public Methods

public abstract WebIcon getIcon ()

public abstract WebLink getLink ()

public abstract String getSection ()

public abstract String getStyleClass ()

Returns the item style as a "class" String consisting of one or more style classes. The default value returned should be an empty String rather than null.

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.

Returns
  • space-separated list of style classes