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: | Support for providing initial values of properties. | ||
---|---|---|---|
Product: | debugger | Reporter: | Martin Entlicher <mentlicher> |
Component: | Code | Assignee: | Martin Entlicher <mentlicher> |
Status: | CLOSED FIXED | ||
Severity: | blocker | Keywords: | API, API_REVIEW_FAST |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: |
The API change.
The API change with test included. |
Description
Martin Entlicher
2009-02-18 19:51:54 UTC
The proposal is to have an interface, e.g. Properties.Initializer (similar to Properties.Reader), whose implementation can be registered into the Lookup and which can provide the default values of properties. Created attachment 77129 [details]
The API change.
Please review this simple API addition. Properties.Initializer interface is added. Test will be attached soon, so far the correct functionality was verified on a class initializing JPDA debugger options. Created attachment 77138 [details]
The API change with test included.
Thanks for the review, I'm going to push this API change by the COB. Integrated into 'main-golden', will be available in build *200903021401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/8f7521bd12b3 User: mentlicher@netbeans.org Log: #158775 - Intrduction of Properties.Initializer. Integrated. Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier. |