Bug 223383 - EditorCookie.getOpenedPanes() should be deprecated
EditorCookie.getOpenedPanes() should be deprecated
Status: NEW
Product: platform
Classification: Unclassified
Component: Text
7.3
All All
: P3 (vote)
: TBD
Assigned To: Miloslav Metelka
issues@editor
: API
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-06 10:57 UTC by Petr Jiricka
Modified: 2013-08-30 16:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2012-12-06 10:57:43 UTC
As discussed in bug 186117, EditorCookie.getOpenedPanes() is not recommended, and NbDocument.findRecentEditorPane should be used instead. See comments 13 and 14 of that bug.

So, the getOpenedPanes() method should be deprecated, or there should at least be a comment in javadoc alerting about the performance implications.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo