-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
1.2.0
-
Fix Understood
-
generic
-
generic
Name: krT82822 Date: 05/17/99
In trying to extend the UndoManager, I came across a small
inconsistency. The CompoundEdit class declares the Vector edits
as protected so my subclass can access it just fine. However, the
integer indexOfNextAdd in UndoManager is package protection. So, in
my subclass I can get a list of edits but not the current one (easily).
In particular, I was trying to have UndoManager implements ListModel
and return either the Undo or RedoPresentationString depending
on where it is in the edits list, but can't tell simply by the
index given in getElementAt().
(Review ID: 83166)
======================================================================