Package org.jitterbit.application.ui

Examples of org.jitterbit.application.ui.DoNotShowAgainMessage


        private void showDialog() {
            String msg = Strings.format("RunOperation.Success", operation.getName());
            String title = UiResourceBundle.getString("OK");
            BooleanPreference showPref = RunOperationSuccessMessagePreference.INSTANCE;
            if (new DoNotShowAgainMessage(msg, title, showPref).showInDialog(null)) {
                ApplicationMessageEvent.postInformationMessage(getClass(), "");
            }
        }
View Full Code Here


        private void showSuccessMessage() {
            BooleanPreference showPref = UploadUsersAndGroupsSuccessMessagePreference.INSTANCE;
            String msg = Strings.get("User.Save.Success.Message");
            postStatusMessage(msg);
            String title = Strings.get("User.Save.Success.Title");
            DoNotShowAgainMessage alert = new DoNotShowAgainMessage(msg, title, showPref);
            boolean clearStatusBar = false;
            if (getState().contains(WindowElementState.OPEN)) {
                clearStatusBar = alert.showAsOverlay(getOverlayContainer());
            } else {
                clearStatusBar = alert.showInDialog(getDialogOwner());
            }
            if (clearStatusBar) {
                ApplicationMessageEvent.postInformationMessage(UploadJob.class, "");
            }
        }
View Full Code Here

    public void onInvalidProject() {
        statusLabel.setIcon(CommonIcons.ERROR_16);
        statusLabel.setText(Strings.get("Deploy.Page.Labels.Invalid"));
        resultReportArea.setText(Strings.get("Deploy.Page.Messages.Invalid"));
        DoNotShowAgainMessage message = new DoNotShowAgainMessage(panel, "Validation Errors",
                        ShowMessageOnInvalidProjectPreference.INSTANCE);
        if (overlayContainer != null) {
            message.showAsOverlay(overlayContainer);
        } else {
            message.showInDialogLater(null);
        }
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.application.ui.DoNotShowAgainMessage

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.