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

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

public class ViewingContentCondition
extends BaseConfluenceCondition

Only display the link if the user is viewing content (pages or blogs) but *only* viewing it - not editing, viewing info, attachments, etc.


Field Summary
static String CONTEXT_KEY
           
 
Constructor Summary
ViewingContentCondition()
           
 
Method Summary
 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
 

Field Detail

CONTEXT_KEY

public static final String CONTEXT_KEY
See Also:
Constant Field Values
Constructor Detail

ViewingContentCondition

public ViewingContentCondition()
Method Detail

shouldDisplay

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


Copyright © 2003-2012 Atlassian. All Rights Reserved.