|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
com.atlassian.confluence.plugin.descriptor.web.conditions.ViewingContentCondition
public class ViewingContentCondition
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 java.lang.String |
CONTEXT_KEY
|
| Fields inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition |
|---|
CONTEXT_KEY_HELPER |
| 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 |
|---|
public static final java.lang.String CONTEXT_KEY
| Constructor Detail |
|---|
public ViewingContentCondition()
| Method Detail |
|---|
public boolean shouldDisplay(WebInterfaceContext context)
shouldDisplay in class BaseConfluenceCondition
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||