Examples of NullContent


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

    @Before
    public void createView() {
        org.apache.log4j.Logger.getRootLogger().setLevel(org.apache.log4j.Level.OFF);
        TestToolkit.createInstance();

        view = new CompositeView(new NullContent(), null) {
            @Override
            protected void buildNewView() {
                newBuildCount++;
            }
View Full Code Here

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

        return new DebuggableWithTitle[] { debugView };
    }

    class EmptyView extends AbstractView {
        public EmptyView() {
            super(new NullContent());
        }
View Full Code Here

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

        org.apache.log4j.Logger.getRootLogger().setLevel(org.apache.log4j.Level.OFF);
       
        TestToolkit.createInstance();
        LookFactory.init();

        toolbar = new ToolbarView(new NullContent(), null);

        button1 = new DummyView();
        button1.setupRequiredSize(new Size(120, 10));
        toolbar.addView(button1);
View Full Code Here

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

    private Item[] items = new Item[0];
    private int optionIdentified;
    private final FocusManager simpleFocusManager;

    public PopupMenu(final PopupMenuContainer parent) {
        super(new NullContent(), new PopupSpecification());
        // REVIEW should this content be used as param 1 above?
        setContent(new PopupContent());
        setParent(parent);
        simpleFocusManager = new SubviewFocusManager(this);
    }
View Full Code Here

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

    private final int thickness = 1;
    private String label = "";
    private final Size size;

    protected ViewResizeOutline(final Bounds resizeArea) {
        super(new NullContent());
        size = resizeArea.getSize();
    }
View Full Code Here

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

        leftHandView = new ViewResizeBorder(new ScrollBorder(leftHandView));
        leftHandView.setParent(getView());
        addView(leftHandView);

        final Size blankViewSize = new Size(MINIMUM_WIDTH, 0);
        final View blankView = new BlankView(new NullContent(), blankViewSize);
        blankView.setParent(getView());
        addView(blankView);

        selectFirstSuitableObject(content);
    }
View Full Code Here

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

        }, this));

        toolbarView.addView(new Button(new AbstractButtonAction("Date") {
            @Override
            public void execute(final Workspace workspace, View view, final Location at) {
                final Content content = new NullContent() {
                };
                view = DatePickerControl.getPicker(content);
                calendar.today();
                getViewManager().setOverlayView(view);
            }
View Full Code Here

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

    @Before
    public void createView() {
        Logger.getRootLogger().setLevel(Level.OFF);
        TestToolkit.createInstance();

        view = new CompositeView(new NullContent(), null) {
            @Override
            protected void buildNewView() {
                newBuildCount++;
            }
View Full Code Here

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

    private Item[] items = new Item[0];
    private int optionIdentified;
    private final FocusManager simpleFocusManager;

    public PopupMenu(final PopupMenuContainer parent) {
        super(new NullContent(), new PopupSpecification());
        // REVIEW should this content be used as param 1 above?
        setContent(new PopupContent());
        setParent(parent);
        simpleFocusManager = new SubviewFocusManager(this);
    }
View Full Code Here

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

                }
                viewer.clearAction();
            } else if (ke.getKeyCode() == KeyEvent.VK_F5) {
                draggedView = identifiedView;
            } else if (draggedView != null && ke.getKeyCode() == KeyEvent.VK_F6) {
                final ContentDrag content = new ContentDragImpl(draggedView, new Location(), new AbstractView(new NullContent()) {
                });
                if (identifiedView != null) {
                    identifiedView.drop(content);
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.