com.atlassian.confluence.plugin.descriptor.web.conditions
Class HasTemplateCondition

java.lang.Object
  extended by com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
      extended by com.atlassian.confluence.plugin.descriptor.web.conditions.HasTemplateCondition
All Implemented Interfaces:
com.atlassian.plugin.web.Condition

public class HasTemplateCondition
extends BaseConfluenceCondition

Only display the link if there are templates to use


Constructor Summary
HasTemplateCondition()
           
 
Method Summary
 void setPageTemplateManager(PageTemplateManager pageTemplateManager)
           
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

HasTemplateCondition

public HasTemplateCondition()
Method Detail

setPageTemplateManager

public void setPageTemplateManager(PageTemplateManager pageTemplateManager)

shouldDisplay

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


Copyright © 2003-2012 Atlassian. All Rights Reserved.