Examples of OverlayCenterPositioner


Examples of org.jitterbit.ui.widget.overlay.OverlayCenterPositioner

        }
    }

    @Override
    public void open() {
        overlay.show(container, new OverlayCenterPositioner());
        EventQueue.invokeLater(new Runnable() {

            @Override
            public void run() {
                getUi().requestFocus();
View Full Code Here

Examples of org.jitterbit.ui.widget.overlay.OverlayCenterPositioner

        }

        @Override
        public void show(String title, String caption) {
            OverlayDecorator overlay = createOverlay(title, caption);
            overlay.show(container, new OverlayCenterPositioner());
            table.requestFocus();
        }
View Full Code Here

Examples of org.jitterbit.ui.widget.overlay.OverlayCenterPositioner

        checkBox.setBorder(Empty.border(10, 0, 0, 0));
        return checkBox;
    }

    private OverlayPositioner getPositioner() {
        return new OverlayCenterPositioner();
        /* TODO: Place the overlay on top of the new operation node. The tricky part
         * is getting this to work when the new operation node ends up outside of the
         * visible area of the graph, so that the graph must auto-scroll to display it.
        OperationGraphLayout layout = controller.getGraph().getLayout();
        Rectangle bounds = layout.getBounds(opNode);
View Full Code Here

Examples of org.jitterbit.ui.widget.overlay.OverlayCenterPositioner

    private void showWarning(Warning w) {
        if (isShowing) {
            queue.add(w);
        } else {
            OverlayDecorator overlay = createOverlay(w);
            overlay.show(container, new OverlayCenterPositioner());
            isShowing = true;
        }
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.overlay.OverlayCenterPositioner

            }
        }

        private OverlayPositioner getPositioner() {
            return trigger != null ? new OverlayRelativePositioner(trigger, new Point(8, 8)) :
                new OverlayCenterPositioner();
        }
View Full Code Here

Examples of org.jitterbit.ui.widget.overlay.OverlayCenterPositioner

        alert.setBlocking(true);
        alert.useOkAndCancel();
        alert.installOkAndCancelShortCuts();
        alert.getOkAction().putValue(Action.NAME, "&Yes");
        alert.getCancelAction().putValue(Action.NAME, "&No");
        alert.show(getOverlayContainer(), new OverlayCenterPositioner());
        askForAttention();
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.overlay.OverlayCenterPositioner

            presentInDialog(panel);
        }
    }

    protected OverlayPositioner getOverlayPositioner() {
        return new OverlayCenterPositioner();
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.overlay.OverlayCenterPositioner

                panel.apply();
            }
        };
        decorator.setBlocking(true);
        decorator.useOkAndCancel();
        decorator.show(container, new OverlayCenterPositioner());
    }
View Full Code Here

Examples of org.jitterbit.ui.widget.overlay.OverlayCenterPositioner

    private class PasswordAction extends AbstractPasswordAction {

        public PasswordAction() {
            setIncludeReTypeField(true);
            setPositioner(new OverlayCenterPositioner());
            setEnabled(false);
        }
View Full Code Here

Examples of org.jitterbit.ui.widget.overlay.OverlayCenterPositioner

        ContainerCanvas.decorate(monitor, p);
        p.setBackground(new Color(250, 250, 254));
        p.setBorder(new LineBorder(Color.DARK_GRAY));
        p.putClientProperty(OverlayContainer.BLOCKING_PROPERTY, Boolean.TRUE);
        progressOverlay = p;
        addOverlay(p, new OverlayCenterPositioner());
    }
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.