Package org.jitterbit.ui.widget.overlay

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


        private void showMessage() {
            String message = "<html>One or more project items referred to in this formula were renamed or "
                            + "moved to a new folder.<br><br>The script has been updated accordingly.</html>";
            OverlayAlert alert = new OverlayAlert(message, AlertIcons.INFO, "Automatic Change");
            alert.setAlpha(0.75f);
            alert.show(container);
            // TODO: The TransformationPage should ask for attention
        }
    }

}
View Full Code Here


                @Override
                protected void onClosed() {
                    updatePreference();
                }
            };
            alert.show(container);
            return true;
        } else {
            return false;
        }
    }
View Full Code Here

                if (doNotShowAgain.isSelected()) {
                    ShowMappingMessagePreference.INSTANCE.set(false);
                }
            }
        };
        alert.show(page.getOverlayContainer());
    }

   
    public static void main(String[] args) {
        SupportedLookAndFeel.NIMBUS.install();
View Full Code Here

    public void show() {
        String title = "Invalid Data";
        if (container != null) {
            OverlayAlert alert = new OverlayAlert(message, title);
            alert.setTitleIcon(AlertIcons.ERROR);
            alert.show(container);
        } else {
            Alert.error(message, title);
        }
    }
   
View Full Code Here

        String message = "<html>The current user does not have administration privileges on the server " +
            model.getCurrentServer().getName() + ".<br>No changes to the users and groups can be made.</html>";
        if (overlayContainer != null) {
            OverlayAlert alert = new OverlayAlert(message, title);
            alert.setTitleIcon(AlertIcons.WARNING);
            alert.show(overlayContainer);
        } else {
            Alert.warning(message, title);
        }
    }
   
View Full Code Here

        String message = "<html>The current user does not have administration privileges on the server " +
            model.getCurrentServer().getName() + ".<br>Please log in as an administrator to save the changes.</html>";
        if (overlayContainer != null) {
            OverlayAlert alert = new OverlayAlert(message, title);
            alert.setTitleIcon(AlertIcons.ERROR);
            alert.show(overlayContainer);
        } else {
            Alert.error(message, title);
        }
    }
   
View Full Code Here

            @Override
            public void run() {
                OverlayContainer container = getResultContainer(testedEntity);
                if (container != null) {
                    OverlayAlert alert = createOverlay(message, title);
                    alert.show(container);
                } else {
                    NonBlockingAlert.info(message, title);
                }
            }
View Full Code Here

     *            corresponding tab, in case it is not active at the moment
     */
    public final void showOverlayMessage(String title, String message, boolean askForAttention) {
        OverlayAlert alert = new OverlayAlert(message, AlertIcons.INFO, title);
        alert.setAlpha(0.75f);
        alert.show(getOverlayContainer());
        if (askForAttention) {
            askForAttention();
        }
    }

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.