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 199462 - add useMultiview into @LanguageRegistration
Summary: add useMultiview into @LanguageRegistration
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 7.1
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords: API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2011-06-16 13:08 UTC by Tomas Stupka
Modified: 2011-06-21 14:48 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
patch (10.70 KB, patch)
2011-06-16 13:10 UTC, Tomas Stupka
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Stupka 2011-06-16 13:08:17 UTC
due to planed History Tab in editor view it is necessary in GsfDataObject.GenericEditorSupport.createPane() to obtain the information if the registered language is meant to have editors as a multiview

a possible solution would be to add 
boolean useMultiview() default false;
into @LanguageRegistration

see attached patch...
Comment 1 Tomas Stupka 2011-06-16 13:10:55 UTC
Created attachment 108926 [details]
patch
Comment 2 Tomas Stupka 2011-06-20 14:15:14 UTC
will integrate tomorrow, in case no objections are raised
Comment 3 Tomas Stupka 2011-06-21 14:48:59 UTC
fixed core-main #ca6a9f6907b1