|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.aspectj.tools.ajbrowser.ui.BrowserMessageHandler
public class BrowserMessageHandler
MessageHandler used by AjBrowser that displays ERROR messages with exceptions and ABORT messages in an error dialog. Other messages are displayed by the MessageHandlerPanel. By default INFO and WEAVEINFO messages are ignored.
| Constructor Summary | |
|---|---|
BrowserMessageHandler()
|
|
| Method Summary | |
|---|---|
void |
dontIgnore(IMessage.Kind kind)
Allow fine grained configuration after initialization. |
java.util.List<IMessage> |
getMessages()
|
boolean |
handleMessage(IMessage message)
Handle message by reporting and/or throwing an AbortException. |
void |
ignore(IMessage.Kind kind)
Allow fine grained configuration after initialization. |
boolean |
isIgnoring(IMessage.Kind kind)
Signal whether this will ignore messages of a given type. |
void |
reset()
Reset the state of the message handler |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BrowserMessageHandler()
| Method Detail |
|---|
public boolean handleMessage(IMessage message)
throws AbortException
IBuildMessageHandler
handleMessage in interface IBuildMessageHandlermessage - the IMessage to handle - never null
AbortException - depending on handler logic.public void dontIgnore(IMessage.Kind kind)
IBuildMessageHandler
dontIgnore in interface IBuildMessageHandlerpublic boolean isIgnoring(IMessage.Kind kind)
IBuildMessageHandler
isIgnoring in interface IBuildMessageHandlerpublic void ignore(IMessage.Kind kind)
IBuildMessageHandler
ignore in interface IBuildMessageHandlerpublic java.util.List<IMessage> getMessages()
public void reset()
IUIBuildMessageHandler
reset in interface IUIBuildMessageHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||