com.atlassian.confluence.plugins.doctheme
Class DocThemeEnabledCondition

java.lang.Object
  extended by com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
      extended by com.atlassian.confluence.plugins.doctheme.DocThemeEnabledCondition
All Implemented Interfaces:
com.atlassian.plugin.web.baseconditions.BaseCondition, com.atlassian.plugin.web.Condition

public class DocThemeEnabledCondition
extends BaseConfluenceCondition

Condition that reports true if the doc theme is enabled in the space provided by the webInterfaceContext


Field Summary
 
Fields inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
CONTEXT_KEY_HELPER
 
Constructor Summary
DocThemeEnabledCondition(ThemeManager mgr)
           
 
Method Summary
protected  boolean shouldDisplay(WebInterfaceContext context)
           
 
Methods inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
init, shouldDisplay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocThemeEnabledCondition

public DocThemeEnabledCondition(ThemeManager mgr)
Method Detail

shouldDisplay

protected boolean shouldDisplay(WebInterfaceContext context)
Specified by:
shouldDisplay in class BaseConfluenceCondition


Copyright © 2003–2015 Atlassian. All rights reserved.