*/
@Override
public IPropertyDescriptor[] getPropertyDescriptors() {
if (zNode != null) {
List<IPropertyDescriptor> props = new ArrayList<IPropertyDescriptor>();
props.add(new PropertyDescriptor(PROP_PATH, "Path"));
// Versions
props.add(new PropertyDescriptor(PROP_VERSION, "Version (Node)"));
props.add(new PropertyDescriptor(PROP_VERSION_CHILDREN, "Version (Children)"));
props.add(new PropertyDescriptor(PROP_VERSION_ACL, "Version (ACL)"));
// IDs
props.add(new PropertyDescriptor(PROP_ID_CREATION, "ID (Creation)"));
props.add(new PropertyDescriptor(PROP_ID_MODIFICATION, "ID (Modification)"));
// Time
props.add(new PropertyDescriptor(PROP_TIME_CREATION, "Created"));
props.add(new PropertyDescriptor(PROP_TIME_MODIFICATION, "Modified"));
props.add(new PropertyDescriptor(PROP_TIME_REFRESH, "Refreshed"));
// Misc
props.add(new PropertyDescriptor(PROP_CHILD_COUNT, "Children Count"));
props.add(new PropertyDescriptor(PROP_DATA_SIZE, "Data size"));
props.add(new PropertyDescriptor(PROP_EPHERMERAL, "Is Ephermeral Node"));
if (zNode.isEphermeral())
props.add(new PropertyDescriptor(PROP_EPHERMERAL_SESSION_ID, "Ephermeral Session Id"));
return props.toArray(new IPropertyDescriptor[props.size()]);
}
return new IPropertyDescriptor[0];
}