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.

Bug 89406

Summary: Need ability to only hide the VCS customizer dialog
Product: obsolete Reporter: alewty <alewty>
Component: vcscoreAssignee: issues@obsolete <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: GlobalExecutionContext patch to fix setGUIMode() method
VcsFileSystem patch to fix setGUIMode() method
UserCommandSupport patch to fix setGUIMode() and also display output window.
CommandExecutionContext patch to fix setGUIMode()

Description alewty 2006-11-15 22:57:57 UTC
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.
Comment 1 alewty 2006-11-15 23:16:13 UTC
Created attachment 36083 [details]
GlobalExecutionContext patch to fix setGUIMode() method
Comment 2 alewty 2006-11-15 23:18:09 UTC
Created attachment 36084 [details]
VcsFileSystem patch to fix setGUIMode() method
Comment 3 alewty 2006-11-15 23:20:27 UTC
Created attachment 36085 [details]
UserCommandSupport patch to fix setGUIMode() and also display output window.
Comment 4 alewty 2006-11-15 23:21:30 UTC
Created attachment 36086 [details]
CommandExecutionContext patch to fix setGUIMode()