List of usage examples for com.liferay.portal.kernel.theme PortletDisplay isShowPortletCssIcon
public boolean isShowPortletCssIcon()
From source file:com.liferay.portlet.configuration.css.web.internal.portlet.configuration.icon.PortletConfigurationCSSPortletConfigurationIcon.java
License:Open Source License
@Override public boolean isShow(PortletRequest portletRequest) { ThemeDisplay themeDisplay = (ThemeDisplay) portletRequest.getAttribute(WebKeys.THEME_DISPLAY); PortletDisplay portletDisplay = themeDisplay.getPortletDisplay(); return portletDisplay.isShowPortletCssIcon(); }