This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I am currently developing on NetBeans 3.6 as the platform. Essentially when I perform a CVS commit I want to replace the "Enter Reason" dialog with my own dialog window to collect extra information. But I still want to see the CVS output visualizer that displays the files/revisions that have been committed. I have been able to implement this functionality by: 1. Taking the changes from http://www.netbeans.org/issues/show_bug.cgi? id=46639 and patching a copy of the NetBeans 3.6 code and re-building. These changes were to fix the setGUIMode() method. BUT, these changes didn't actually fix the setGUIMode() and I had to make further changes to get it to work. 2. Then when using setGUIMode(false), this will not display the "Enter Reason" dialog and also not display the output windows. So I had to make another patch to resolve this. This patch is hardcoded to always display the output windows, irrespective of the setGUIMode() value. It would be a great enhancement for a future release to somehow either have an easy hook into replacing the customizer dialog, or having another method to distinguish between not displaying either of the customerizer dialog or output visualizer. I am attaching the patch files I have used to implement this functionality.
Created attachment 36083 [details] GlobalExecutionContext patch to fix setGUIMode() method
Created attachment 36084 [details] VcsFileSystem patch to fix setGUIMode() method
Created attachment 36085 [details] UserCommandSupport patch to fix setGUIMode() and also display output window.
Created attachment 36086 [details] CommandExecutionContext patch to fix setGUIMode()