|
Multivalent API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmultivalent.VObject
multivalent.Behavior
multivalent.std.ui.PublishAnno
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.)
SaveAnnoAs
Field Summary | |
---|---|
static java.lang.String |
ATTR_TITLE
Hub attribute that gives text to show in menu item. |
static java.lang.String |
ATTR_URI
Hub attribute that sets URI of server to which to write annos. |
static java.lang.String |
MSG_PUBLISH
Write annotations to a server. |
Fields inherited from class multivalent.Behavior |
---|
ATTR_BEHAVIOR, name_ |
Fields inherited from class multivalent.VObject |
---|
attr_ |
Constructor Summary | |
---|---|
PublishAnno()
|
Method Summary | |
---|---|
void |
restore(ESISNode n,
java.util.Map<java.lang.String,java.lang.Object> attr,
Layer layer)
Takes the place of a constructor's initialization functions; that is, it is invoked exactly once immediately after object instantiation. |
boolean |
semanticEventAfter(SemanticEvent se,
java.lang.String msg)
Round robin distribution to all behaviors. |
boolean |
semanticEventBefore(SemanticEvent se,
java.lang.String msg)
At VMenu.MSG_CREATE_FILE , add "Publish Annos to |
Methods inherited from class multivalent.Behavior |
---|
buildAfter, buildBefore, checkRep, clipboardAfter, clipboardBefore, createUI, destroy, eventAfter, eventBefore, formatAfter, formatBefore, getBrowser, getDocument, getInstance, getInstance, getLayer, getLogger, getName, getPreference, getRoot, isEditable, paintAfter, paintBefore, putPreference, redo, restoreChildren, save, setName, toString, undo |
Methods inherited from class multivalent.VObject |
---|
attrEntrySetIterator, attrKeysIterator, clearAttributes, getAttr, getAttr, getAttributes, getGlobal, getValue, hasAttributes, putAttr, removeAttr, setAttributes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MSG_PUBLISH
"publishAnnos".
public static final java.lang.String ATTR_URI
public static final java.lang.String ATTR_TITLE
Constructor Detail |
---|
public PublishAnno()
Method Detail |
---|
public void restore(ESISNode n, java.util.Map<java.lang.String,java.lang.Object> attr, Layer layer)
Behavior
restore
in class Behavior
public boolean semanticEventBefore(SemanticEvent se, java.lang.String msg)
VMenu.MSG_CREATE_FILE
, add "Publish Annos to
semanticEventBefore
in class Behavior
public boolean semanticEventAfter(SemanticEvent se, java.lang.String msg)
Behavior
semanticEventAfter
in class Behavior
|
Multivalent API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |