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.
consider showing a files history (localhistory, vcs history) in a tab directly in the files topcomponent
For reference, here is the relevant wiki page: http://wiki.netbeans.org/EditorHistoryTab
It's nice that MultiViews are now easily registered, but can we see somewhere UI request/review why "Local History" is now exposed so widely for all editors? + due to this change now all data objects depend on multi view module and for applications based on nb platform it introduces one more dependent module. How to prevent this if only basic editor functionality is needed in application?
(In reply to comment #2) > It's nice that MultiViews are now easily registered, but can we see somewhere > UI request/review why "Local History" is now exposed so widely for all editors? see UI Spec in http://wiki.netbeans.org/EditorHistoryTab > due to this change now all data objects depend on multi view module and for > applications based on nb platform it introduces one more dependent module. > How to prevent this if only basic editor functionality is needed in > application? cc yarda
There is no guide for existing multi view implementations. I found this: Rewrite already existing multiviews a possible inspiration could be the Form module. See org.netbeans.modules.form.FormDesigner.java and org.netbeans.modules.form.FormEditorSupport.java. FormDesigner and FormEditorSupport has about 4000 lines of code.
> > due to this change now all data objects depend on multi view module and for > > applications based on nb platform it introduces one more dependent module. > > How to prevent this if only basic editor functionality is needed in > > application? > cc yarda The MultiDataObject.registerEditor method might be of some help. It finds out whether core.multiview API is around or not and calls to it using reflection. Thus, if using MultiDataObject.registerEditor is enough, you don't need to change your dependencies at all.