setToolTipText(node.getDestinationName());
maybeRefocusDocument(node);
} else if (treePath.getPathComponent(i) instanceof RepositoryTreeNode) {
final RepositoryTreeNode node = (RepositoryTreeNode) treePath.getPathComponent(i);
setToolTipText(node.getRepository().getId());
} else if (treePath.getPathComponent(i) instanceof MessageStoreTreeNode) {
final MessageStoreTreeNode node = (MessageStoreTreeNode) treePath.getPathComponent(i);
setToolTipText(node.getMessageStore().getTooltipText());
maybeRefocusDocument(node);
} else if (treePath.getPathComponent(i) instanceof MessageStoreURLTreeNode) {
final MessageStoreURLTreeNode node = (MessageStoreURLTreeNode) treePath.getPathComponent(i);
setToolTipText(node.getURL());
}
}
}
} catch (JMSException ex) {
Hermes.ui.getDefaultMessageSink().add(ex.getMessage());