public class NavTreeDescriptor extends Object implements Serializable, Comparable<NavTreeDescriptor>
Moved from module nuxeo-platform-virtual-navigation-web, originally added in 5.6.
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_ID_PREFIX |
Constructor and Description |
---|
NavTreeDescriptor() |
NavTreeDescriptor(String treeId,
String treeLabel) |
NavTreeDescriptor(String treeId,
String treeLabel,
boolean directoryTreeBased) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(NavTreeDescriptor o) |
protected Action |
getAction()
Helper to register a simple action based on the given descriptor
|
Integer |
getOrder() |
String |
getTreeId() |
String |
getTreeLabel() |
String |
getXhtmlview() |
boolean |
isDirectoryTreeBased() |
boolean |
isEnabled() |
void |
setDirectoryTreeBased(boolean directoryTreeBased) |
void |
setEnabled(boolean enabled) |
void |
setTreeId(String treeId) |
void |
setTreeLabel(String treeLabel) |
void |
setXhtmlview(String xhtmlview) |
public static final String ACTION_ID_PREFIX
public NavTreeDescriptor()
public NavTreeDescriptor(String treeId, String treeLabel)
public NavTreeDescriptor(String treeId, String treeLabel, boolean directoryTreeBased)
public boolean isDirectoryTreeBased()
public void setDirectoryTreeBased(boolean directoryTreeBased)
public String getXhtmlview()
public void setXhtmlview(String xhtmlview)
public String getTreeLabel()
public void setTreeLabel(String treeLabel)
public void setEnabled(boolean enabled)
public boolean isEnabled()
public int compareTo(NavTreeDescriptor o)
compareTo
in interface Comparable<NavTreeDescriptor>
Copyright © 2016 Nuxeo SA. All rights reserved.