multivalent.std.ui

Class PublishAnno

public class PublishAnno extends Behavior

Write annotations to server. (As opposed to ordinary "saving", which automatically writes locally in directory tree parallel to cache tree--may want annos and extras and rely on robust locations for reassoc with pages.)

Version: $Revision$ $Date$

See Also: SaveAnnoAs

Field Summary
static StringATTR_TITLE
Hub attribute that gives text to show in menu item.
static StringATTR_URI
Hub attribute that sets URI of server to which to write annos.
static StringMSG_PUBLISH
Write annotations to a server.
Method Summary
voidrestore(ESISNode n, Map<String,Object> attr, Layer layer)
booleansemanticEventAfter(SemanticEvent se, String msg)
booleansemanticEventBefore(SemanticEvent se, String msg)
At MSG_CREATE_FILE, add "Publish Annos to " to menu.

Field Detail

ATTR_TITLE

public static final String ATTR_TITLE
Hub attribute that gives text to show in menu item.

ATTR_URI

public static final String ATTR_URI
Hub attribute that sets URI of server to which to write annos.

MSG_PUBLISH

public static final String MSG_PUBLISH
Write annotations to a server.

"publishAnnos".

Method Detail

restore

public void restore(ESISNode n, Map<String,Object> attr, Layer layer)

semanticEventAfter

public boolean semanticEventAfter(SemanticEvent se, String msg)

semanticEventBefore

public boolean semanticEventBefore(SemanticEvent se, String msg)
At MSG_CREATE_FILE, add "Publish Annos to " to menu.