import org.apache.isis.viewer.dnd.view.composite.ViewBuilder;
public class TreeNodeSpecification extends CompositeViewSpecification {
public TreeNodeSpecification() {
builder = new ViewBuilder() {
ViewBuilder objectBuilder = new ObjectFieldBuilder(new ViewFactory() {
@Override
public View createView(final Content content, final Axes axes, final int sequence) {
if (content.isTextParseable() || content.getAdapter() == null) {
return null;