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

Examples of org.apache.isis.viewer.dnd.view.message.ExceptionMessageContent


        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


        return IsisContext.getMessageBroker();
    }

    @Override
    public void showException(final Throwable e) {
        final ExceptionMessageContent content = new ExceptionMessageContent(e);
        viewer.showDialog(content);
    }
View Full Code Here

        return IsisContext.getMessageBroker();
    }

    @Override
    public void showException(final Throwable e) {
        final ExceptionMessageContent content = new ExceptionMessageContent(e);
        viewer.showDialog(content);
    }
View Full Code Here

        return IsisContext.getMessageBroker();
    }

    @Override
    public void showException(final Throwable e) {
        final ExceptionMessageContent content = new ExceptionMessageContent(e);
        viewer.showDialog(content);
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.viewer.dnd.view.message.ExceptionMessageContent

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.