187 |
|
|
188 |
|
|
189 |
/** |
/** |
190 |
* If {@link #beginEdit} has been called (so that the current |
* If {@link #beginUpdate} has been called (so that the current |
191 |
* update level is greater than zero), adds the specified edit |
* update level is greater than zero), adds the specified edit |
192 |
* to {@link #compoundEdit}. Otherwise, notify listeners of the |
* to {@link #compoundEdit}. Otherwise, notify listeners of the |
193 |
* edit by calling {@link #_postEdit(UndoableEdit)}. |
* edit by calling {@link #_postEdit(UndoableEdit)}. |
233 |
|
|
234 |
|
|
235 |
/** |
/** |
236 |
* Creates a new instance of {@link #CompoundEdit}. Called by {@link |
* Creates a new instance of {@link CompoundEdit}. Called by {@link |
237 |
* #beginUpdate}. If a subclass wants {@link #beginUpdate} to work |
* #beginUpdate}. If a subclass wants {@link #beginUpdate} to work |
238 |
* on a specific {@link #compoundEdit}, it should override this |
* on a specific {@link #compoundEdit}, it should override this |
239 |
* method. |
* method. |
240 |
* |
* |
241 |
* @returns a newly created instance of {@link #CompoundEdit}. |
* @returns a newly created instance of {@link CompoundEdit}. |
242 |
*/ |
*/ |
243 |
protected CompoundEdit createCompoundEdit() |
protected CompoundEdit createCompoundEdit() |
244 |
{ |
{ |