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

Examples of org.apache.isis.viewer.dnd.view.message.MessageDialogSpecification$CloseViewAction


            viewFactory.addDesignSpecification(new ConfigurableObjectViewSpecification());
            viewFactory.addDesignSpecification(new PanelViewSpecification());
            viewFactory.addDesignSpecification(new NewViewSpecification());
        }

        viewFactory.addSpecification(new MessageDialogSpecification());
        viewFactory.addSpecification(new DetailedMessageViewSpecification());

        viewFactory.addEmptyFieldSpecification(loadSpecification("field.empty", EmptyField.Specification.class));

        viewFactory.addSpecification(loadSpecification("icon.object", RootIconSpecification.class));
View Full Code Here


    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()));
        workspace.addView(view);

        View view2 = new DetailedMessageViewSpecification().createView(content, axis);
View Full Code Here

            viewFactory.addDesignSpecification(new ConfigurableObjectViewSpecification());
            viewFactory.addDesignSpecification(new PanelViewSpecification());
            viewFactory.addDesignSpecification(new NewViewSpecification());
        }

        viewFactory.addSpecification(new MessageDialogSpecification());
        viewFactory.addSpecification(new DetailedMessageViewSpecification());

        viewFactory.addEmptyFieldSpecification(loadSpecification("field.empty", EmptyField.Specification.class));

        viewFactory.addSpecification(loadSpecification("icon.object", RootIconSpecification.class));
View Full Code Here

            viewFactory.addDesignSpecification(new ConfigurableObjectViewSpecification());
            viewFactory.addDesignSpecification(new PanelViewSpecification());
            viewFactory.addDesignSpecification(new NewViewSpecification());
        }

        viewFactory.addSpecification(new MessageDialogSpecification());
        viewFactory.addSpecification(new DetailedMessageViewSpecification());

        viewFactory.addEmptyFieldSpecification(loadSpecification("field.empty", EmptyField.Specification.class));

        viewFactory.addSpecification(loadSpecification("icon.object", RootIconSpecification.class));
View Full Code Here

TOP

Related Classes of org.apache.isis.viewer.dnd.view.message.MessageDialogSpecification$CloseViewAction

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.