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 198385

Summary: Allow to create custom debugger views
Product: debugger Reporter: Egor Ushakov <gorrus>
Component: CodeAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED FIXED    
Severity: normal Keywords: API, API_REVIEW_FAST, PLAN
Priority: P2    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: The proposed API change.

Description Egor Ushakov 2011-05-06 12:57:23 UTC
In CND we have Registers view that acts absolutely the same as all other debugger views like callstack or variables (represent only active session). Now we have to create it ourselves. That would be great if View class could be extended and/or be a part of public API so that we could subclass it or just create our own views with all default behavior that ViewModelListener provides.
Comment 1 Martin Entlicher 2011-05-06 14:36:01 UTC
I agree that it'd be good to have it in the APIs.
Comment 2 Martin Entlicher 2012-08-09 20:48:04 UTC
Created attachment 122957 [details]
The proposed API change.
Comment 3 Martin Entlicher 2012-08-09 20:49:11 UTC
Please review the proposed API change.
Comment 4 Martin Entlicher 2012-08-16 11:43:09 UTC
Thanks for the review, I'll push the API change tomorrow.
Comment 5 Martin Entlicher 2012-08-17 12:50:01 UTC
The API change is pushed as http://hg.netbeans.org/main/rev/5be7e4c53161
Associated changes were done in Java debugger modules:
http://hg.netbeans.org/main/rev/f83c7579c3d6
http://hg.netbeans.org/main/rev/4d04c9f3cfdf
http://hg.netbeans.org/main/rev/7e6c0dcb34c1
Comment 6 Quality Engineering 2012-08-19 01:23:16 UTC
Integrated into 'main-golden', will be available in build *201208190001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/5be7e4c53161
User: mentlicher@netbeans.org
Log: #198385: ViewFactory API introduced for an easy creation of custom debugger views.