void (JTree tree, ActionUrl url) { if (url.myActionType == ADDED) { addPathToActionsTree(tree, url); } else if (url.myActionType == DELETED) { removePathFromActionsTree(tree, url); } else if (url.myActionType == MOVE) { movePathInActionsTree(tree, url); } }