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.
There is an original Evaluate Code dialog implemented in JPDA debugger. If another debugger implementation wants to add such functionality, it needs to create it's own evaluate UI component. We can put an abstracted version of the Evaluate Code dialog into the SPI module instead and have it used by several debugger implementations.
Created attachment 150607 [details] CodeEvaluator API
Please review the proposed API change. CodeEvaluator class provides access to code evaluation UI to all debugger implementations.
Thanks, I'll push the change tomorrow.
Integrated as changeset: 281545:ca400f249d66 http://hg.netbeans.org/core-main/rev/ca400f249d66
Integrated into 'main-silver', will be available in build *201411300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ca400f249d66 User: mentlicher@netbeans.org Log: #248626: Code evaluator is moved to spi.debugger.ui module. API class org.netbeans.spi.debugger.ui.CodeEvaluator is introduced.