public abstract class SimpleViewTransitionProvider<T extends Indexed,K extends TransitionKey<T>> extends SimpleTransitionProvider<T,K> implements ViewTransitionProvider<K,T>
SimpleTransitionProvider
that implements ViewTransitionProvider
conn
Constructor and Description |
---|
SimpleViewTransitionProvider(AppContext c,
IndexedProducer<? extends T> fac,
java.lang.String target_name) |
Modifier and Type | Method and Description |
---|---|
<X extends ContentBuilder> |
getBottomContent(X cb,
T target,
SessionService<?> sess)
Get the content to be displayed at the bottom of the target page.
|
java.lang.String |
getHelp(K key)
Get tooltip help string for an operation
|
<X extends ContentBuilder> |
getLogContent(X cb,
T target,
SessionService<?> sess)
Get the content to be displayed on the view target page as part of the target pane.
|
<X extends ContentBuilder> |
getSummaryContent(AppContext c,
X cb,
T target)
Get target summary to be shown on transition page.
|
java.lang.String |
getText(K key)
get custom button content.
|
<X extends ContentBuilder> |
getTopContent(X cb,
T target,
SessionService<?> sess)
Get the content to be displayed at the top of the target page.
|
getID, getProducer, getTarget, getTargetName, normaliseID
accept
addTransition, getTransition, getTransition, getTransitions, lookupTransition, sortByKey
getContext, getLogger, resetLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canView, showTransition
accept, getID, getTarget
allowTransition, getTargetName, getTransition, getTransitions, lookupTransition
getContext
public SimpleViewTransitionProvider(AppContext c, IndexedProducer<? extends T> fac, java.lang.String target_name)
c
- fac
- target_name
- public <X extends ContentBuilder> X getSummaryContent(AppContext c, X cb, T target)
TransitionFactory
getSummaryContent
in interface TransitionFactory<K extends TransitionKey<T>,T extends Indexed>
c
- AppContextcb
- ContentBuilderpublic <X extends ContentBuilder> X getTopContent(X cb, T target, SessionService<?> sess)
ViewTransitionFactory
getTopContent
in interface ViewTransitionFactory<K extends TransitionKey<T>,T extends Indexed>
public <X extends ContentBuilder> X getBottomContent(X cb, T target, SessionService<?> sess)
ViewTransitionFactory
getBottomContent
in interface ViewTransitionFactory<K extends TransitionKey<T>,T extends Indexed>
public <X extends ContentBuilder> X getLogContent(X cb, T target, SessionService<?> sess)
ViewTransitionFactory
getLogContent
in interface ViewTransitionFactory<K extends TransitionKey<T>,T extends Indexed>
public final java.lang.String getHelp(K key)
ViewTransitionFactory
getHelp
in interface ViewTransitionFactory<K extends TransitionKey<T>,T extends Indexed>
public java.lang.String getText(K key)
ViewTransitionFactory
getText
in interface ViewTransitionFactory<K extends TransitionKey<T>,T extends Indexed>