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.
Summary: | New TopComponent Wizard Should Ask Whether Singleton Desired | ||
---|---|---|---|
Product: | apisupport | Reporter: | tomwheeler <tomwheeler> |
Component: | Templates | Assignee: | Martin Kozeny <mkozeny> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
tomwheeler
2008-07-24 02:37:16 UTC
Possible. There is not that much to generate for a non-singleton TC; clearly you have to have a class extending TopComponent, but there is not a lot else that the template could clearly fill in for you. You will need to have some criterion for when to create or open the TC (a Window menu action will not make sense in this case). You need to decide whether it should be clonable, and implement that if desired. You need to specify how persistence should work. Etc. |