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.
If any of the design patterns that are shipped with UML tools are deleted or modified, there should be a menu action to restore them. Current workaround is to delete the userdir and restart the NetBeans IDE. Another workaround is: - in your OS filesystem, go to the NetBeans install folder, then navigate to folder uml4\modules - find the org-netbeans-modules-uml.jar file and open it - find the dotuml.zip file, and open it - extract all files under the .uml/config/DesignCenter/DesignPatterns to your userdir folder. - to just restore certain design patterns, filter your extraction of the design patter files as needed.
A better workaround: add below section to DesignPatternCatalog.etw file in user-dir/.uml/config/DesignCenter/DesignPatterns <EMBT:WSProject baseDirectory=".\GoF" name="GoF"> <EMBT:WSElement href="./GoF/GoF.etpat" name="_MetaData__" data="DCE.D5981FAA-AD6A-4E6F-AE5B-0E11E391B26D"/> </EMBT:WSProject> and restart the IDE. Similar for other design patterns other than GOF.