com.atlassian.confluence.plugin.descriptor.web.conditions
Class ViewingContentCondition
java.lang.Object
com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTEXT_KEY
public static final String CONTEXT_KEY
- See Also:
- Constant Field Values
ViewingContentCondition
public ViewingContentCondition()
shouldDisplay
public boolean shouldDisplay(WebInterfaceContext context)
- Specified by:
shouldDisplay
in class BaseConfluenceCondition
Copyright © 2003-2013 Atlassian. All Rights Reserved.