public class Linker extends AbstractContexed implements MessageEditLinker
conn| Constructor and Description |
|---|
Linker(AppContext conn,
MessageHandler h) |
| Modifier and Type | Method and Description |
|---|---|
void |
addButton(ContentBuilder cb,
EditAction action,
java.util.List<java.lang.String> path,
java.lang.String text)
Add a single button form to a HtmlBuilder page that invokes the named
operation on the encapsulated Message
|
void |
addLink(ContentBuilder builder,
java.util.List<java.lang.String> args,
java.lang.String file,
java.lang.String text)
Create a HTML link to the associated message or part of the message.
|
MessageProvider |
getMessageProvider()
Get the MessageProvider associated with this object
|
getContext, getLogger, resetLoggerpublic Linker(AppContext conn, MessageHandler h)
public void addButton(ContentBuilder cb, EditAction action, java.util.List<java.lang.String> path, java.lang.String text)
MessageEditLinkeraddButton in interface MessageEditLinkerpublic void addLink(ContentBuilder builder, java.util.List<java.lang.String> args, java.lang.String file, java.lang.String text)
MessageLinkeraddLink in interface MessageLinkerbuilder - HtmlBuilder to add link toargs - args identifying part of message to accessfile - filename to add to URLtext - text of linkpublic MessageProvider getMessageProvider() throws java.lang.Exception
MessageLinkergetMessageProvider in interface MessageLinkerjava.lang.Exception