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.
Open SynchronousSample Project Double-click SynchronousSample.xsdl to open the schema file In the schema view , select Elements, typeA. Right-click typeA -> Refactor -> Safe Delete.. Safe Delete box opens. leave the Preview All Changes box checked. Click Next. Safe Delete box opens. Under List of Errors, you will get a warning symbole(triangle)Is this a warning or a bug? Click Show usage. Click Rerun Delete typeA. The Safe Delete box is reopened. Select Next. From here, you cannot do anything because the Next button is disabled
Caused by ParametersPanel next button incorrectly disable. Also have to fix performAction on next button after going back from showUsages window.
Fixed as explained above: /cvs/xml/refactoring/src/org/netbeans/modules/xml/refactoring/Attic/RefactorRequest.java,v <-- RefactorRequest.java new revision: 1.1.2.9; previous revision: 1.1.2.8 /cvs/xml/refactoring/src/org/netbeans/modules/xml/refactoring/ui/j/spi/ui/Attic/ParametersPanel.java,v <-- ParametersPanel.java new revision: 1.1.2.5; previous revision: 1.1.2.4 /cvs/xml/refactoring/src/org/netbeans/modules/xml/refactoring/ui/j/ui/Attic/RefactoringPanel.java,v <-- RefactoringPanel.java new revision: 1.1.2.10; previous revision: 1.1.2.9
The Next button is enabled but there are still some issue with the message. Please change the message to something similar to Java refactoring Safe Delete Message. The current message says: Cascade delete of referencing components is not supported. The Java safe delete message is more meaningful: References to selected elements were found. Remove all references to these elements in order to safely delete your class. Also when click on Rerun Delete typeA, it takes you to two more dialog boxes for the delete. It should take you directly to the last dialog.
Verified in build 061010_1.