Package com.intellij.notification

Examples of com.intellij.notification.NotificationGroup


        FileTemplateManager templateManager = FileTemplateManager.getInstance();
        if (templateManager.getTemplate("SQL Script") == null) {
            templateManager.addTemplate("SQL Script", "sql");
        }

        NotificationGroup notificationGroup = new NotificationGroup("Database Navigator", NotificationDisplayType.TOOL_WINDOW, true, ExecutionManager.TOOL_WINDOW_ID);

        Timer updateChecker = new Timer("Plugin Update check task");
        updateChecker.schedule(new PluginUpdateChecker(), TimeUtil.ONE_MINUTE, TimeUtil.ONE_HOUR);
    }
View Full Code Here


        if (StringUtil.isEmpty(config.getCompilerOutputPath())) {
            if (!StringUtil.isEmpty(defaultConfiguration.getCompilerOutputPath())) {
                config.setCompilerOutputPath(defaultConfiguration.getCompilerOutputPath());
            } else {
                final String text = PbBundle.message("facet.protobuf.configuration.missing_output_dir", module.getName());
                NotificationGroup ng = NotificationGroup.balloonGroup("Framework Detection");
                ng.createNotification("Framework configuration incomplete", text, NotificationType.INFORMATION, new NotificationListener() {
                    @Override
                    public void hyperlinkUpdate(@NotNull Notification notification, @NotNull HyperlinkEvent event) {
                        if (event.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
                            ShowSettingsUtil.getInstance().editConfigurable(project, ProjectStructureConfigurable.getInstance(project), new Runnable() {
                                @Override
View Full Code Here

TOP

Related Classes of com.intellij.notification.NotificationGroup

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.