Package fr.esrf.tangoatk.widget.util
Class ErrorPopup
java.lang.Object
fr.esrf.tangoatk.widget.util.ErrorPopup
- All Implemented Interfaces:
fr.esrf.tangoatk.core.IErrorListener,fr.esrf.tangoatk.core.ISetErrorListener,Serializable,EventListener
public class ErrorPopup
extends Object
implements fr.esrf.tangoatk.core.IErrorListener, fr.esrf.tangoatk.core.ISetErrorListener
A class which listens for command and attribute writing errors and display
an ErrorPane when an error occured.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoiderrorChange(fr.esrf.tangoatk.core.ErrorEvent evt) static ErrorPopupgetInstancereturns the unique instance of the ErrorPopup.static voidvoidsetErrorOccured(fr.esrf.tangoatk.core.ErrorEvent evt)
-
Method Details
-
getInstance
getInstancereturns the unique instance of the ErrorPopup. There will be only one ErrorPopup per running instance of the JVM.- Returns:
- an
ErrorPopupvalue
-
errorChange
public void errorChange(fr.esrf.tangoatk.core.ErrorEvent evt) - Specified by:
errorChangein interfacefr.esrf.tangoatk.core.IErrorListener
-
setErrorOccured
public void setErrorOccured(fr.esrf.tangoatk.core.ErrorEvent evt) - Specified by:
setErrorOccuredin interfacefr.esrf.tangoatk.core.ISetErrorListener
-
main
- Throws:
Exception
-