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 51441 - Need a replacement for EditorSupport.openAt()
Summary: Need a replacement for EditorSupport.openAt()
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords:
Depends on:
Blocks: 12331
  Show dependency tree
 
Reported: 2004-11-12 08:57 UTC by Jan Becicka
Modified: 2008-12-22 21:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Becicka 2004-11-12 08:57:47 UTC
EditorSupport is deprecated. I tried to find a
replacement for EditorSupport.openAt() but I
didn't find any. CloaneableEditorSupport has a
method openAt(), but it is unfortunately package
private.
Comment 1 Petr Nejedly 2004-11-25 09:49:20 UTC
This is small change: just changing CloneableEditorSupport.openAt from
final to final protected to allow calling from subclasses.

It is needed to offer the functionality implemented by deprecated
EditorSupport => to fix issue 12331.
Although the functionality can be achieved different way (Line cookie,
editor pane, ...) this is most straightforward and may allow
simplification in other modules as well (probably properties module)

The change is so small I'm not attaching the diff.


Comment 2 Petr Nejedly 2004-12-06 14:41:03 UTC
openide/openide-spec-vers.properties,v1.163
openide/api/doc/changes/apichanges.xml,v1.230
openide/src/org/openide/text/CloneableEditorSupport.java,v1.139
Comment 3 Jan Becicka 2005-03-18 12:41:43 UTC
V