本文整理了Java中com.atlassian.plugin.web.WebInterfaceManager.getDisplayableWebPanels()
方法的一些代码示例,展示了WebInterfaceManager.getDisplayableWebPanels()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebInterfaceManager.getDisplayableWebPanels()
方法的具体详情如下:
包路径:com.atlassian.plugin.web.WebInterfaceManager
类名称:WebInterfaceManager
方法名:getDisplayableWebPanels
暂无
代码示例来源:origin: com.atlassian.refapp/atlassian-refapp-web-item-plugin
public List<WebPanel> getDisplayableWebPanels(String s, Map<String, Object> stringObjectMap) {
return webInterfaceManager.getDisplayableWebPanels(s, stringObjectMap);
}
代码示例来源:origin: com.atlassian.jira/jira-core
/**
* Called to include web panels of a named location into the JSP page
*
* @param out the JSP to write to
* @param location the named location of the web panel like alt.general
*/
private void includeWebPanelsOnPage(final JspWriter out, final String location)
{
final Map<String, Object> context = getWebFragmentContext(location);
final List<WebPanel> displayableWebPanels = webInterfaceManager.getDisplayableWebPanels(location, context);
for (WebPanel webPanel : displayableWebPanels)
{
getWebPanelSafely(out, location, context, webPanel);
}
}
代码示例来源:origin: com.atlassian.applinks/applinks-common
public WebPanelEntityList getWebPanelsForLocation(final String location, final WebFragmentContext context) {
final List<WebPanelEntity> webPanels = new ArrayList<WebPanelEntity>();
final Map<String, Object> contextMap = context.getContextMap();
for (final WebPanel webPanel : webInterfaceManager.getDisplayableWebPanels(location, contextMap)) {
webPanels.add(new WebPanelEntity(webPanel.getHtml(contextMap)));
}
return new WebPanelEntityList(webPanels);
}
代码示例来源:origin: com.atlassian.applinks/applinks-plugin-core
public WebPanelEntityList getWebPanelsForLocation(final String location, final WebFragmentContext context)
{
final List<WebPanelEntity> webPanels = new ArrayList<WebPanelEntity>();
final Map<String, Object> contextMap = context.getContextMap();
for (final WebPanel webPanel : webInterfaceManager.getDisplayableWebPanels(location, contextMap))
{
webPanels.add(new WebPanelEntity(webPanel.getHtml(contextMap)));
}
return new WebPanelEntityList(webPanels);
}
代码示例来源:origin: com.atlassian.jira/jira-core
headerPanelSection = "atl.jira.proj.config.header";
final List<WebPanel> panels = webInterfaceManager.getDisplayableWebPanels(headerPanelSection, Collections.emptyMap());
final List<Header> headers = panels.stream().map(panel -> new Header(panel, context))
.collect(CollectorsUtil.toNewArrayListWithSizeOf(panels));
内容来源于网络,如有侵权,请联系作者删除!