com.atlassian.plugin.web.WebInterfaceManager.getDisplayableWebPanels()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(2.5k)|赞(0)|评价(0)|浏览(79)

本文整理了Java中com.atlassian.plugin.web.WebInterfaceManager.getDisplayableWebPanels()方法的一些代码示例,展示了WebInterfaceManager.getDisplayableWebPanels()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebInterfaceManager.getDisplayableWebPanels()方法的具体详情如下:
包路径:com.atlassian.plugin.web.WebInterfaceManager
类名称:WebInterfaceManager
方法名:getDisplayableWebPanels

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));

相关文章