Mercurial > projects > dwt-addons
comparison dwtx/text/undo/IDocumentUndoListener.d @ 159:7926b636c282
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 27 Aug 2008 01:57:58 +0200 |
parents | c4fb132a086c |
children |
comparison
equal
deleted
inserted
replaced
158:25f1f92fa3df | 159:7926b636c282 |
---|---|
10 * Port to the D programming language: | 10 * Port to the D programming language: |
11 * Frank Benoit <benoit@tionex.de> | 11 * Frank Benoit <benoit@tionex.de> |
12 *******************************************************************************/ | 12 *******************************************************************************/ |
13 module dwtx.text.undo.IDocumentUndoListener; | 13 module dwtx.text.undo.IDocumentUndoListener; |
14 | 14 |
15 import dwtx.text.undo.DocumentUndoManager; // packageimport | |
16 import dwtx.text.undo.DocumentUndoManagerRegistry; // packageimport | |
17 import dwtx.text.undo.DocumentUndoEvent; // packageimport | 15 import dwtx.text.undo.DocumentUndoEvent; // packageimport |
18 import dwtx.text.undo.UndoMessages; // packageimport | |
19 import dwtx.text.undo.IDocumentUndoManager; // packageimport | |
20 | 16 |
21 | 17 |
22 import dwt.dwthelper.utils; | 18 import dwt.dwthelper.utils; |
23 | 19 |
24 | 20 |
31 * properly synchronized using the techniques specified by the client's widget | 27 * properly synchronized using the techniques specified by the client's widget |
32 * library.</p> | 28 * library.</p> |
33 * <p> | 29 * <p> |
34 * Clients may implement this interface. | 30 * Clients may implement this interface. |
35 * </p> | 31 * </p> |
36 * | 32 * |
37 * @since 3.2 | 33 * @since 3.2 |
38 */ | 34 */ |
39 public interface IDocumentUndoListener { | 35 public interface IDocumentUndoListener { |
40 | 36 |
41 /** | 37 /** |
42 * The document is involved in an undo-related change. Notify listeners | 38 * The document is involved in an undo-related change. Notify listeners |
43 * with an event describing the change. | 39 * with an event describing the change. |
44 * | 40 * |
45 * @param event the document undo event that describes the particular notification | 41 * @param event the document undo event that describes the particular notification |
46 */ | 42 */ |
47 void documentUndoNotification(DocumentUndoEvent event); | 43 void documentUndoNotification(DocumentUndoEvent event); |
48 | 44 |
49 } | 45 } |