|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModuleWebComponentFields
Utility to extract fields from a 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}
Nested Class Summary | |
---|---|
static class |
ModuleWebComponentFields.SectionsAndLinks
|
Field Summary | |
---|---|
static String |
RENDER_PARAM_CONTAINER_CLASS
|
static String |
RENDER_PARAM_HEADLESS
|
static String |
RENDER_PARAM_PREFIX
|
Method Summary | |
---|---|
List<ModuleWebComponentFields.SectionsAndLinks> |
getDropdownSections(String key,
com.atlassian.crowd.embedded.api.User user,
JiraHelper helper)
Returns dropdown sections and links for the given module |
List<SimpleLink> |
getHeaderItems(String key,
com.atlassian.crowd.embedded.api.User 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 |
Field Detail |
---|
static final String RENDER_PARAM_HEADLESS
static final String RENDER_PARAM_CONTAINER_CLASS
static final String RENDER_PARAM_PREFIX
Method Detail |
---|
List<SimpleLink> getHeaderItems(@Nonnull String key, com.atlassian.crowd.embedded.api.User user, @Nonnull JiraHelper helper)
key
- module descriptor keyuser
- current userhelper
- The context under which the list is being generated
List<ModuleWebComponentFields.SectionsAndLinks> getDropdownSections(@Nonnull String key, com.atlassian.crowd.embedded.api.User user, @Nonnull JiraHelper helper)
key
- module descriptor keyuser
- current userhelper
- The context under which the list is being generated
List<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 render
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |