public Editor getRootEditor(
NodeState before, NodeState after, NodeBuilder builder) {
NodeState system = after.getChildNode(JCR_SYSTEM);
NodeState types = system.getChildNode(JCR_NODE_TYPES);
if (types.exists()) {
return new VisibleEditor(new TypeEditor(types, builder));
} else {
return null;
}
}