|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.henri.jbcs.MessageHandler
public class MessageHandler
Constructor Summary | |
---|---|
MessageHandler()
MessageHandler just writing on the currently active browser. |
|
MessageHandler(com.borland.primetime.ide.Browser browser)
MessageHandler for a specific Browser. |
Method Summary | |
---|---|
com.borland.primetime.ide.Message |
addMessage(java.lang.String msg)
Add a message at the root of the message pane |
com.borland.primetime.ide.Message |
addMessage(java.lang.String msgText,
com.borland.primetime.ide.Message parent)
Add a message as a child of the parent message in the message pane |
void |
addMessages(com.borland.primetime.ide.Message parent,
com.borland.primetime.ide.Message[] msgs)
Will add the list of messages as child of the parent messages |
void |
clearMessages()
|
void |
debug(java.lang.String msg)
Log debug info. |
void |
error(java.lang.String msg,
java.lang.Throwable t)
Log Error conditions. |
void |
writeStatusBarMessage(java.lang.String msg)
Write a message in the status bar |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageHandler(com.borland.primetime.ide.Browser browser)
browser
- Browserpublic MessageHandler()
Method Detail |
---|
public void clearMessages()
public com.borland.primetime.ide.Message addMessage(java.lang.String msg)
msg
- Message to be added
public com.borland.primetime.ide.Message addMessage(java.lang.String msgText, com.borland.primetime.ide.Message parent)
msgText
- Message to be addedparent
- Parent of the message. If null, the message will be put at the root
public void writeStatusBarMessage(java.lang.String msg)
msg
- Message to writepublic void addMessages(com.borland.primetime.ide.Message parent, com.borland.primetime.ide.Message[] msgs)
parent
- Parent message, if null messages will be added at the rootmsgs
- List of messages to addpublic void debug(java.lang.String msg)
msg
- The message to log.public void error(java.lang.String msg, java.lang.Throwable t)
msg
- The message to log.t
- Error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |