Package org.openide.awt

Examples of org.openide.awt.NotificationDisplayer


                    return;
                }

                // show notification displayer
                if (!FuelPhpPreferences.isEnabled(phpModule)) {
                    NotificationDisplayer notificationDisplayer = NotificationDisplayer.getDefault();
                    notification = notificationDisplayer.notify(
                            Bundle.FuelPhpFrameworkProvider_autoditection(phpModule.getDisplayName()), // title
                            NotificationDisplayer.Priority.LOW.getIcon(), // icon
                            Bundle.FuelPhpFrameworkProvider_autoditection_action(), // detail
                            new FuelPhpAutoDetectionActionListener(), // action
                            NotificationDisplayer.Priority.LOW); // priority
View Full Code Here


        ExceptionHelper.checkNotNullArgument(message, "message");

        SwingUtilities.invokeLater(new Runnable() {
            @Override
            public void run() {
                NotificationDisplayer displayer = NotificationDisplayer.getDefault();
                JLabel messageLabel = new JLabel(
                        message,
                        NbIcons.getUIErrorIcon(),
                        SwingConstants.LEADING);
                JLabel lineLabel = new JLabel(message);

                displayer.notify(
                        NbStrings.getGlobalErrorReporterTitle(),
                        ERROR_ICON,
                        messageLabel,
                        lineLabel,
                        NotificationDisplayer.Priority.HIGH);
View Full Code Here

                return;
            }

            // show notification displayer
            if (!WordPressPreferences.isEnabled(phpModule)) {
                NotificationDisplayer notificationDisplayer = NotificationDisplayer.getDefault();
                notification = notificationDisplayer.notify(
                        Bundle.WordPressPhpProvider_autoditection(phpModule.getDisplayName()), // title
                        NotificationDisplayer.Priority.LOW.getIcon(), // icon
                        Bundle.WordPressPhpProvider_autoditection_action(),
                        new WordPressAutoDetectionActionListener(), // action
                        NotificationDisplayer.Priority.LOW); // priority
View Full Code Here

TOP

Related Classes of org.openide.awt.NotificationDisplayer

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.