public abstract class JSonTree extends Object
Modifier and Type | Field and Description |
---|---|
protected TreeModelImpl |
tree |
Constructor and Description |
---|
JSonTree() |
Modifier and Type | Method and Description |
---|---|
String |
enter(WebContext ctx,
String path) |
protected String |
enter(WebContext ctx,
String path,
JSonTreeSerializer serializer) |
protected abstract Object |
getInput(WebContext ctx) |
protected abstract ContentProvider |
getProvider(WebContext ctx) |
protected abstract JSonTreeSerializer |
getSerializer(WebContext ctx) |
TreeModel |
getTree() |
String |
getTreeAsJSONArray(WebContext ctx) |
protected void |
toggle(String path) |
String |
updateSelection(WebContext ctx) |
String |
updateSelection(WebContext ctx,
ContentProvider provider,
JSonTreeSerializer serializer)
root=ID - enter node ID toggle=ID - toggle expanded state for node ID
|
protected TreeModelImpl tree
public JSonTree()
protected abstract Object getInput(WebContext ctx)
protected abstract ContentProvider getProvider(WebContext ctx)
protected abstract JSonTreeSerializer getSerializer(WebContext ctx)
public String updateSelection(WebContext ctx)
public String enter(WebContext ctx, String path)
public String updateSelection(WebContext ctx, ContentProvider provider, JSonTreeSerializer serializer)
public String getTreeAsJSONArray(WebContext ctx)
protected String enter(WebContext ctx, String path, JSonTreeSerializer serializer)
Copyright © 2015 Nuxeo SA. All rights reserved.