Package org.jitterbit.ui.widget.overlay

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


                }
            };
            decorator.setFocusReceiverWhenClosed(node.getTreeMapper());
            decorator.setFadeIn(AnimationPreference.get());
            decorator.setAlpha(0.8f);
            decorator.useOkAndCancel();
            decorator.setBlocking(true);
            return decorator;
        }
    }
View Full Code Here


                    notifyListeners(filter, listener, originalFilter);
                }
            };
            decorator.setFadeIn(AnimationPreference.get());
            decorator.setBlocking(true);
            decorator.useOkAndCancel();
            decorator.setAlpha(0.8f);
            decorator.show(container, getPositioner());
            filter.requestFocus();
        }
View Full Code Here

                callback.handle(false);
            }
        };
        alert.setTitleIcon(CommonIcons.WARNING_24);
        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

            }
        };
        decorator.setFadeIn(AnimationPreference.get());
        decorator.setAlpha(0.8f);
        decorator.setBlocking(true);
        decorator.useOkAndCancel();
        return decorator;
    }

    private void presentInDialog(HttpPropertiesPanel panel) {
        InputPanelDialog dlg = new InputPanelDialog(UiUtils.getActiveWindow(), panel, getTitle()) {
View Full Code Here

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

}
View Full Code Here

            }
           
        };
        decorator.setFadeIn(AnimationPreference.get());
        decorator.setBlocking(true);
        decorator.useOkAndCancel();
        return decorator;
    }

}
View Full Code Here

                } else {
                    redisplay();
                }
            }
        };
        overlay.useOkAndCancel();
        overlay.setBlocking(true);
        overlay.setFadeIn(AnimationPreference.get());
        overlay.setFocusReceiverWhenClosed(focusReceiverWhenClosed);
        return overlay;
    }
View Full Code Here

                @Override
                protected void onOk() {
                    receiver.handle(textArea.getText());
                }
            };
            decorator.useOkAndCancel();
            decorator.setBlocking(modal);
            decorator.setFadeIn(AnimationPreference.get());
            return decorator;
        }
View Full Code Here

                    Point p = inputPanel.isInputValid() ? inputPanel.getNewCoordinates() : null;
                    applyNewPoint(p);
                }
            };
            overlay.setFadeIn(AnimationPreference.get());
            overlay.useOkAndCancel();
            bindOkAction(overlay);
            return overlay;
        }
       
        private void bindOkAction(final OverlayDecorator overlay) {
View Full Code Here

                    applyChanges();
                }
            };
            overlay.setBlocking(true);
            overlay.setFillHorizontally(true);
            overlay.useOkAndCancel();
            return overlay;
        }

        private OverlayPositioner getPositioner() {
            return trigger != null ? new OverlayRelativePositioner(trigger, new Point(8, 8)) :
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.