com.atlassian.plugin.web.descriptors
Interface WebPanelModuleDescriptor

All Superinterfaces:
ConditionalDescriptor, ContextAware, ModuleDescriptor<WebPanel>, Resourced, StateAware, WeightedDescriptor
All Known Implementing Classes:
DefaultWebPanelModuleDescriptor

public interface WebPanelModuleDescriptor
extends ModuleDescriptor<WebPanel>, WeightedDescriptor, StateAware, ContextAware, ConditionalDescriptor

The web panel module declares a single web panel in atlassian-plugin.xml. Its XML element contains a location string that should match existing locations in the host application where web panels can be embedded.

The descriptor specifies a resource or class that renders HTML given a context map, and may specify a ContextProvider that augments the context with custom properties.

Since:
2.6.0

Method Summary
 java.lang.String getLocation()
          Returns the location in the host application where the web panel should be embedded.
 
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, init, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion
 
Methods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation
 
Methods inherited from interface com.atlassian.plugin.web.descriptors.WeightedDescriptor
getWeight
 
Methods inherited from interface com.atlassian.plugin.StateAware
disabled, enabled
 
Methods inherited from interface com.atlassian.plugin.web.descriptors.ContextAware
getContextProvider
 
Methods inherited from interface com.atlassian.plugin.web.descriptors.ConditionalDescriptor
getCondition
 

Method Detail

getLocation

java.lang.String getLocation()
Returns the location in the host application where the web panel should be embedded.



Copyright © 2010 Atlassian. All Rights Reserved.