To extend the logic for and override the default file upload behavior, I think we will have to extend and register nodestable.view, as well as inlineform.view and tabletoolbar.view.
I believe there are no extension point directly for fileupload, and the only way to extend the fileupload behavior is to extend the views mentioned.
With this there should be no problem implementing our own fileupload behavior, however there is another problem.
Apart from adding new commands, toolbar entries and widgets, how do we remove existing command, toolbar entries and widgets?
Say if I want to replace the current behavior of the rename command, I think is possible is to extend and register a new rename command.
Once this extension is loaded, there will be two rename commands, one is the original version, the other is mine.
How do we go about removing or hiding the original rename command?
Thanks