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: | embedded history tab in files topcomponent | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | Tomas Stupka <tstupka> |
Component: | Code | Assignee: | Ondrej Vrabec <ovrabec> |
Status: | NEW --- | ||
Severity: | normal | CC: | anebuzelsky, issues, jtulach, markiewb, pjiricka |
Priority: | P1 | Keywords: | PLAN |
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
URL: | http://wiki.netbeans.org/EditorHistoryTab | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | 200419, 200424, 200425, 200427, 200428, 204249 | ||
Bug Blocks: |
Description
Tomas Stupka
2011-04-27 07:31:02 UTC
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.
|