public interface ModuleWebComponentFields
WebPanel
.
Header links - WebItemModuleDescriptor
location = {webPanel.completeKey}/header
Default DropDown items - WebItemModuleDescriptor
location = {webPanel.completeKey}/drop/default
DropDown sections - WebSectionModuleDescriptor
location - {webPanel.completeKey}/drop
Items in those sections - WebItemModuleDescriptor
location = {webpanel.completeKey}/drop/{section.key}Modifier and Type | Interface and Description |
---|---|
static class |
ModuleWebComponentFields.SectionsAndLinks |
Modifier and Type | Field and Description |
---|---|
static String |
RENDER_PARAM_CONTAINER_CLASS |
static String |
RENDER_PARAM_HEADLESS |
static String |
RENDER_PARAM_PREFIX |
Modifier and Type | Method and Description |
---|---|
List<ModuleWebComponentFields.SectionsAndLinks> |
getDropdownSections(String key,
ApplicationUser user,
JiraHelper helper)
Returns dropdown sections and links for the given module
|
List<SimpleLink> |
getHeaderItems(String key,
ApplicationUser user,
JiraHelper helper)
Returns header links for the given module
|
List<com.atlassian.plugin.web.descriptors.WebPanelModuleDescriptor> |
getPanels(String key,
Map<String,Object> params)
Returns panel descriptors for given module
|
static final String RENDER_PARAM_HEADLESS
static final String RENDER_PARAM_CONTAINER_CLASS
static final String RENDER_PARAM_PREFIX
List<SimpleLink> getHeaderItems(@Nonnull String key, ApplicationUser user, @Nonnull JiraHelper helper)
key
- module descriptor keyuser
- current userhelper
- The context under which the list is being generatedList<ModuleWebComponentFields.SectionsAndLinks> getDropdownSections(@Nonnull String key, ApplicationUser user, @Nonnull JiraHelper helper)
key
- module descriptor keyuser
- current userhelper
- The context under which the list is being generatedList<com.atlassian.plugin.web.descriptors.WebPanelModuleDescriptor> getPanels(@Nonnull String key, @Nonnull Map<String,Object> params)
key
- module descriptor keyparams
- The params to pass to the renderCopyright © 2002-2021 Atlassian. All Rights Reserved.