filetree: reuse katefileactions code
Reduce code duplication by reusing the code in katefileactions.cpp
Patch is quite a few weeks old. The main motivation behind this is preparation for LSP workspace create/delete/rename, but also some cleanup. After this, we need to do the same for the project plugin.
Edited by Eric Armbruster