Renamed user notifier classes.

This commit is contained in:
Claudio Indellicati 2014-08-21 20:13:05 +02:00 committed by Cristian Maglie
parent 1c37189599
commit bff6f2818b
4 changed files with 6 additions and 6 deletions

View File

@ -36,7 +36,7 @@ import processing.app.debug.TargetBoard;
import processing.app.debug.TargetPackage;
import processing.app.debug.TargetPlatform;
import processing.app.helpers.FileUtils;
import processing.app.helpers.GUINotifier;
import processing.app.helpers.GUIUserNotifier;
import processing.app.helpers.OSUtils;
import processing.app.helpers.PreferencesMap;
import processing.app.helpers.filefilters.OnlyDirs;
@ -106,7 +106,7 @@ public class Base {
static public void main(String args[]) throws Exception {
BaseNoGui.initLogger();
BaseNoGui.notifier = new GUINotifier();
BaseNoGui.notifier = new GUIUserNotifier();
initPlatform();

View File

@ -21,7 +21,7 @@ import processing.app.debug.TargetBoard;
import processing.app.debug.TargetPackage;
import processing.app.debug.TargetPlatform;
import processing.app.debug.TargetPlatformException;
import processing.app.helpers.BasicNotifier;
import processing.app.helpers.BasicUserNotifier;
import processing.app.helpers.OSUtils;
import processing.app.helpers.PreferencesMap;
import processing.app.helpers.UserNotifier;
@ -49,7 +49,7 @@ public class BaseNoGui {
// maps library name to their library folder
static private LibraryList libraries;
static UserNotifier notifier = new BasicNotifier();
static UserNotifier notifier = new BasicUserNotifier();
static public Map<String, TargetPackage> packages;

View File

@ -2,7 +2,7 @@ package processing.app.helpers;
import static processing.app.I18n._;
public class BasicNotifier implements UserNotifier {
public class BasicUserNotifier implements UserNotifier {
public void showError(String title, String message, Throwable e) {
showError(title, message, e, 1);

View File

@ -6,7 +6,7 @@ import java.awt.Frame;
import javax.swing.JOptionPane;
public class GUINotifier implements UserNotifier {
public class GUIUserNotifier implements UserNotifier {
public void showError(String title, String message, Throwable e) {
showError(title, message, e, 1);