Package org.jitterbit.ui.widget.overlay

Examples of org.jitterbit.ui.widget.overlay.OverlayDecorator.show()


        }

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

        private OverlayDecorator createOverlay(String title, String caption) {
            BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 5);
View Full Code Here


            };
            decorator.setFadeIn(AnimationPreference.get());
            decorator.setBlocking(true);
            decorator.useOkAndCancel();
            decorator.setAlpha(0.8f);
            decorator.show(container, getPositioner());
            filter.requestFocus();
        }

        private void notifyListeners(ActivityEntryFilterUi<E> filter, FilterListener listener, String originalFilter) {
            String newFilter = filter.getFilterString();
View Full Code Here

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

        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();
    }

    public void showDataLoadWarning(String title, String message) {
        if (dataWarningsPresenter == null) {
View Full Code Here

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

}
View Full Code Here

            // Already showing
            return;
        }
        this.container = container;
        OverlayDecorator decorator = createOverlay();
        decorator.show(container, new OverlayCenterPositioner());
    }

    private OverlayDecorator createOverlay() {
        OverlayDecorator decorator = new InputPanelOverlay(panel, "Operation Options") {
View Full Code Here

        overlay.setFadeIn(AnimationPreference.get());
        overlay.useCloseOnly();
        Point p = graph.getLayout().getBounds(selected).getLocation();
        p.x += 10;
        p.y += 10;
        overlay.show(graph.getOverlayContainer(), new OverlayAbsolutePositioner(p));
    }

    private static IntegrationEntity getSelectedEntity(Object node) {
        if (node instanceof OperationWrapperNode) {
            return ((OperationWrapperNode) node).getDataObject().getActivity();
View Full Code Here

       
        private PointInputPanel inputPanel;
       
        public void run(Point currentLocation) {
            OverlayDecorator overlay = createOverlay(currentLocation);
            overlay.show(getContainer(), new OverlayCenterPositioner());
            inputPanel.setInitialFocus();
        }

        private OverlayContainer getContainer() {
            return controller.getGraph().getOverlayContainer();
View Full Code Here

        }

        @Override
        public void display() {
            OverlayDecorator overlay = createOverlay();
            overlay.show(container, getPositioner());
        }

        private OverlayDecorator createOverlay() {
            BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 10).setBorder(Empty.border(0, 10, 0, 10));
            layoutTable(layout, table);
View Full Code Here

                OverlayDecorator decorator = new OverlayDecorator(content,
                        Strings.get("Connection.MatchingFiles.Title"));
                decorator.setAlpha(0.8f);
                decorator.useCloseOnly();
                decorator.setBlocking(true);
                decorator.show(container, 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.