Package org.apache.isis.viewer.dnd

Examples of org.apache.isis.viewer.dnd.Content


    protected void views(final Workspace workspace) {
        ObjectAdapter object = createExampleObjectForView();
        ViewAxis axis = new TreeBrowserFrame(null, null);

        Content content = new RootObject(object);

        View view = new ClosedCollectionNodeSpecification().createView(content, axis);
        view.setLocation(new Location(100, 20));
        view.setSize(view.getRequiredSize(new Size()));
        workspace.addView(view);
View Full Code Here


        new WindowBorderExample();
    }

    protected void views(final Workspace workspace) {
        ObjectAdapter object = createExampleObjectForView();
        Content content = new RootObject(object);
        ViewSpecification specification = new ExampleViewSpecification();
        ViewAxis axis = null;

        View view = new WindowBorder(new TestObjectView(content, specification, axis, 300, 120, "normal"), false);
        view.setLocation(new Location(50, 60));
View Full Code Here

        new ErrorViewExample();
    }

    protected void views(final Workspace workspace) {
        Object object = new ObjectAdapterRuntimeException("The test exception message");
        Content content = new ExceptionMessageContent((Throwable) object);
        ViewAxis axis = null;

        View view = new MessageDialogSpecification().createView(content, axis);
        view.setLocation(new Location(100, 30));
        view.setSize(view.getRequiredSize(new Size()));
View Full Code Here

    }

    protected void configure(final IsisConfiguration configuration) {}

    protected void views(final Workspace workspace) {
        Content content = null;
        ViewSpecification specification = null;
        ViewAxis axis = null;
        TestObjectView view = new TestObjectView(content, specification, axis, 100, 200, "object");
        view.setLocation(new Location(100, 60));
        view.setSize(view.getRequiredSize(new Size()));
View Full Code Here

TOP

Related Classes of org.apache.isis.viewer.dnd.Content

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.