public boolean triggerAction(JTree tree, String action) throws Exception {
if (action.equals(DeleteAction.ID)) {
deleteServiceDescription(tree);
return true;
} else if (action.equals(AddAction.ID)) {
ServiceDescriptionDialog serviceDescriptionDialog = new ServiceDescriptionDialog(getRegistry());
serviceDescriptionDialog.open();
if (serviceDescriptionDialog.isServiceCreated()) {
refresh();
reloadTreeNode(tree, this);
}
return true;
}