com.ephox.editlive.plugins
Class ErrorReporter

java.lang.Object
  extended by com.ephox.editlive.plugins.ErrorReporter

public class ErrorReporter
extends Object

Simple class to display error messages.

Since:
7.5

Constructor Summary
ErrorReporter()
           
 
Method Summary
 void showError(Component parent, String message)
          Display an error dialog to the user, using the title "error" translated into the current interface language.
 void showMessage(Component parent, String message)
          Display a message dialog to the user.
 void showMessage(Component parent, String message, String title)
          Display a message dialog to the user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorReporter

public ErrorReporter()
Method Detail

showError

public void showError(Component parent,
                      String message)
Display an error dialog to the user, using the title "error" translated into the current interface language.

Parameters:
parent - the parent component.
message - the message to display.

showMessage

public void showMessage(Component parent,
                        String message)
Display a message dialog to the user.

Parameters:
parent - the parent component.
message - the message to display.

showMessage

public void showMessage(Component parent,
                        String message,
                        String title)
Display a message dialog to the user.

Parameters:
parent - the parent component.
message - the message to display.
title - the title for the dialog

Copyright (c) 2005-2012 Ephox Pty Ltd. All rights reserved.