Since the FileTreeComponent is meant for showing & using files, would it not perhaps be better to implement drag’n’drop into it, something like adding this to line 96 of the juce_FileTreeComponent.cpp file :
virtual const String getDragSourceDescription() {return getUniqueName();}
This function could perhaps check a boolean flag in the FileTreeComponent if it should allow drag’n’drop and if not, return an empty String as usual.
Perhaps is there any reason for not doing this?
