|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.descriptors.AbstractModuleDescriptor
com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor
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 |
|---|
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()
|
java.lang.String |
getSection()
|
java.lang.String |
getStyleClass()
Returns the item style as a "class" String consisting of one or more style classes. |
void |
init(Plugin plugin,
org.dom4j.Element element)
|
| Methods inherited from class com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor |
|---|
disabled, getCondition, getContextProvider, getModule, getTooltip, getWebLabel, getWebParams, getWeight, makeCondition, makeConditions, makeConditions, makeContextProvider, setWebInterfaceManager |
| Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
|---|
assertModuleClassImplements, destroy, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, satisfiesMinJavaVersion, setPlugin, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor |
|---|
getCondition, getContextProvider, getModule, getTooltip, getWebLabel, getWebParams, getWeight |
| Methods inherited from interface com.atlassian.plugin.ModuleDescriptor |
|---|
destroy, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion |
| Methods inherited from interface com.atlassian.plugin.Resourced |
|---|
getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation |
| Methods inherited from interface com.atlassian.plugin.StateAware |
|---|
disabled |
| Constructor Detail |
|---|
public DefaultWebItemModuleDescriptor(WebInterfaceManager webInterfaceManager)
public DefaultWebItemModuleDescriptor()
| Method Detail |
|---|
public void init(Plugin plugin,
org.dom4j.Element element)
throws PluginParseException
init in interface ModuleDescriptorinit in class AbstractWebFragmentModuleDescriptorPluginParseExceptionpublic java.lang.String getSection()
getSection in interface WebItemModuleDescriptorpublic WebLink getLink()
getLink in interface WebItemModuleDescriptorpublic WebIcon getIcon()
getIcon in interface WebItemModuleDescriptorpublic java.lang.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 StateAwareenabled in class AbstractWebFragmentModuleDescriptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||