}));
}
else if (component instanceof HermesTreeNode)
{
final HermesTreeNode hermesNode = (HermesTreeNode) component;
final PreferencesDialog dialog = new PreferencesDialog(HermesBrowser.getBrowser());
dialog.init();
dialog.refocus(hermesNode.getHermes().getId());
JideSwingUtilities.centerWindow(dialog);
dialog.setVisible(true) ;
}
else if (component instanceof NamingConfigTreeNode)
{
final NamingConfigTreeNode namingNode = (NamingConfigTreeNode) component;
final EditNamingConfigDialog dialog = new EditNamingConfigDialog(HermesBrowser.getBrowser(), namingNode.getId(), HermesBrowser.getBrowser()
.getConfig().getNaming());
dialog.pack();
JideSwingUtilities.centerWindow(dialog);
dialog.setVisible(true) ;
}
else if (component instanceof MessageStoreURLTreeNode)
{
MessageStoreURLTreeNode node = (MessageStoreURLTreeNode) component ;