private Icon icon = null;
private String toolTipText = null;
public void put(Object key, Message message) {
Message oldMessage = messageMap.get(key);
if (oldMessage != message) {
// Update errorMessageStack
if ((oldMessage != null) && (oldMessage.getSeverity() == Severity.ERROR)) {
errorMessageStack.remove(oldMessage);
}
if ((message != null) && (message.getSeverity() == Severity.ERROR)) {
errorMessageStack.add(message);
}