Hi All, I am trying to hack the localHistory to allow it to work with multiple files.
The way i have done this so far is to hack the Local History and Versioning UI modules and trying to avoid rewriting the NetBeans plumbing (which assumes single file History). I have modified ShowHistoryAction so that it allows history selection on multiple files and then opens a new HistoryTopComponent. For the moment, I put the Nodes[] into this component so I can access. I keep a copy of the selected Nodes which I then use to build a combined History list in HistoryFileView. In LocalHistoryProvider, I have my own RevertFile and RevertFiles Actions but these are never called by the software. My aim is to then add this functionality, which gives me a much better version of history. I am not clear how I get the NetBeans system to call my commands and also appreciate the current solution is a bit hacky. I have attached the 2 diffs from the 2 modules. Is there any advice to help me complete adding this fucntionality into NetBeans? Kind Regards, MArk ====
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
