Static Public Member Functions | |
final void | setStatusText (String text) |
final java.awt.Dialog | createDialog (org.openide.DialogDescriptor descriptor) |
final Object | notify (org.openide.NotifyDescriptor descriptor) |
final org.openide.windows.OutputWriter | getStdOut () |
final org.openide.windows.InputOutput | getIO (String name, boolean newIO) |
final void | notify (int severity, Throwable t) |
final void | showURL (java.net.URL url) |
Static Public Attributes | |
final int | ERROR = ErrorManager.ERROR |
final int | EXCEPTION = ErrorManager.EXCEPTION |
final int | INFORMATIONAL = ErrorManager.INFORMATIONAL |
final int | UNKNOWN = ErrorManager.UNKNOWN |
final int | USER = ErrorManager.USER |
final int | WARNING = ErrorManager.WARNING |
TopManager
whenever TopManager
has to be used. It provides the same utility methods for getting services from NetBeans. New versions of NetBeans removed TopManager
completely and are changing the way those services are accessed. This class limits the impact of the changes in your code.
|
Get a new standard dialog. The dialog is designed and created as specified in the parameter. Anyone who wants a dialog with standard buttons and standard behavior should use this method. Do not cache the resulting dialog if it is modal and try to reuse it! Always create a new dialog using this method if you need to show a dialog again. Otherwise previously closed windows can reappear.
|
|
Support reading from and writing to a specific tab on the Output Window. If a tab with the supplied name already exists, a new tab with the same name will be created regardless.
|
|
Support writing to the Output Window on the main tab.
|
|
Prints the exception to the log file and (possibly) notifies the user.
|
|
Notify the user of something in a message box, possibly with feedback. To support both GUI and non-GUI use, this method may be called from any thread (providing you are not holding any locks), and will block the caller's thread. In GUI mode, it will be run in the AWT event thread automatically. If you wish to hold locks, or do not need the result object immediately or at all, please make this call asynchronously (e.g. from the request processor).
|
|
Show text in the IDE's status line. Can be called at any time, but remember the text may not be updated until the AWT event queue is ready for it - so if you are hogging the event queue the text will not appear until you release it (finish your work or display a modal dialog, for example).
|
|
Browse a document named by some URL. HtmlBrowser provides more control in certain cases.
|
|
Serious problem, application may be crippled |
|
Something went wrong, though it can be recovered |
|
Message that would be useful for tracing events but which need not be a problem |
|
Undefined severity |
|
Something the user should be aware of |
|
Something went wrong in the software, but it is continuing and the user need not be bothered |