multivalent.std.ui
public class DocumentPopup extends Behavior
Version: $Revision: 1.5 $ $Date: 2003/06/02 05:56:14 $
Field Summary | |
---|---|
static String | ATTR_CATEGORIES |
static String | MSG_CREATE
Request to show document popup menu.
|
static String | MSG_CREATE_DOCPOPUP
Collect components for document context-aware popup menu.
|
Method Summary | |
---|---|
void | buildAfter(Document doc) |
boolean | eventAfter(AWTEvent e, Point rel, Node obsn)
Button 3 creates the document popup menu by sending semantic event,
with CHashMap as arg with following attributes, as applicable: NODE=current node, ACTIVES=active ContextListeners, ACTIVESPAN=first active span, MENU=popup menu (seeded with categories SPECIFIC, NAVIGATE, VIEW, CREATE, SAVE). |
void | restore(ESISNode n, Map<String,Object> attr, Layer layer)
Take name of menu categories, in order, from comma-separated list in ATTR_CATEGORIES attribute. |
boolean | semanticEventAfter(SemanticEvent se, String msg) Recognizes "createDocPopup |
"createDocPopup": in= Behavior requestor.
"createWidget/DOCPOPUP": arg= java.util.HashMap attributes, in= Behavior or java.util.List active behavior(s), out= INode menu-to-modify. where attributes holds key-value pairs "node" - active node, "actives" - all active behaviors at point.