1.1 --- a/PLSQL/Execution/src/org/netbeans/modules/plsql/execution/impl/SelectDatabaseNotifier.java Tue Jun 04 16:36:21 2013 +0200
1.2 +++ b/PLSQL/Execution/src/org/netbeans/modules/plsql/execution/impl/SelectDatabaseNotifier.java Tue Jun 04 16:42:05 2013 +0200
1.3 @@ -13,7 +13,6 @@
1.4 */
1.5 package org.netbeans.modules.plsql.execution.impl;
1.6
1.7 -//import static ifs.dev.nb.silentupdate.ui.Bundle.*;
1.8 import org.openide.awt.Notification;
1.9 import org.openide.awt.NotificationDisplayer;
1.10 import org.openide.util.ImageUtilities;
1.11 @@ -29,18 +28,16 @@
1.12
1.13 /**
1.14 *
1.15 - * @param tooltip the reason for doing the restart.
1.16 + * @param filename
1.17 */
1.18 -// @NbBundle.Messages({"RestartNeeded_Details=Click the balloon to restart your application now",
1.19 -// "Support_RestartNeeded=Restart the application to complete "})
1.20 - public void notify(final String tooltip) {
1.21 + public void notify(final String filename) {
1.22 synchronized (SelectDatabaseNotifier.class) {
1.23 if (notification != null) {
1.24 notification.clear();
1.25 notification = null;
1.26 }
1.27
1.28 - notification = NotificationDisplayer.getDefault().notify("No Database Connection Selected for " + tooltip,
1.29 + notification = NotificationDisplayer.getDefault().notify("No Database Connection Selected for " + filename,
1.30 ImageUtilities.loadImageIcon("org/netbeans/modules/autoupdate/pluginimporter/resources/warning.gif",
1.31 false), // NOI18N
1.32 "Select Connection in Combo box and try again.", null);