Package org.apache.isis.viewer.dnd.view.content

Examples of org.apache.isis.viewer.dnd.view.content.RootObject


        final ObjectSpecification objectSpec = object.getSpecification();
        if (objectSpec.isParentedOrFreeCollection()) {
            return new RootCollection(object);
        }
        if (objectSpec.isNotCollection()) {
            return new RootObject(object);
        }

        throw new IllegalArgumentException("Must be an object or collection: " + object);
    }
View Full Code Here


        IsisContext.closeSession();
    }

    private DummyView createView(final ObjectAdapter object) {
        final DummyView view = new DummyView();
        view.setupContent(new RootObject(object));
        return view;
    }
View Full Code Here

        final ObjectSpecification objectSpec = object.getSpecification();
        if (objectSpec.isCollection()) {
            return new RootCollection(object);
        }
        if (objectSpec.isNotCollection()) {
            return new RootObject(object);
        }

        throw new IllegalArgumentException("Must be an object or collection: " + object);
    }
View Full Code Here

        IsisContext.closeSession();
    }

    private DummyView createView(final ObjectAdapter object) {
        final DummyView view = new DummyView();
        view.setupContent(new RootObject(object));
        return view;
    }
View Full Code Here

        IsisContext.closeSession();
    }

    private DummyView createView(final ObjectAdapter object) {
        final DummyView view = new DummyView();
        view.setupContent(new RootObject(object));
        return view;
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.viewer.dnd.view.content.RootObject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.