Mercurial > projects > dwt-addons
comparison dwtx/jface/text/link/ILinkedModeListener.d @ 162:1a5b8f8129df
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 08 Sep 2008 00:51:37 +0200 |
parents | c4fb132a086c |
children |
comparison
equal
deleted
inserted
replaced
161:f8d52b926852 | 162:1a5b8f8129df |
---|---|
36 * @since 3.0 | 36 * @since 3.0 |
37 */ | 37 */ |
38 public interface ILinkedModeListener { | 38 public interface ILinkedModeListener { |
39 | 39 |
40 /** Flag to <code>leave</code> specifying no special action. */ | 40 /** Flag to <code>leave</code> specifying no special action. */ |
41 int NONE= 0; | 41 static const int NONE= 0; |
42 /** | 42 /** |
43 * Flag to <code>leave</code> specifying that all nested modes should | 43 * Flag to <code>leave</code> specifying that all nested modes should |
44 * exit. | 44 * exit. |
45 */ | 45 */ |
46 int EXIT_ALL= 1 << 0; | 46 static const int EXIT_ALL= 1 << 0; |
47 /** | 47 /** |
48 * Flag to <code>leave</code> specifying that the caret should be moved to | 48 * Flag to <code>leave</code> specifying that the caret should be moved to |
49 * the exit position. | 49 * the exit position. |
50 */ | 50 */ |
51 int UPDATE_CARET= 1 << 1; | 51 static const int UPDATE_CARET= 1 << 1; |
52 /** | 52 /** |
53 * Flag to <code>leave</code> specifying that a UI of a parent mode should | 53 * Flag to <code>leave</code> specifying that a UI of a parent mode should |
54 * select the current position. | 54 * select the current position. |
55 */ | 55 */ |
56 int SELECT= 1 << 2; | 56 static const int SELECT= 1 << 2; |
57 /** | 57 /** |
58 * Flag to <code>leave</code> specifying that document content outside of | 58 * Flag to <code>leave</code> specifying that document content outside of |
59 * a linked position was modified. | 59 * a linked position was modified. |
60 */ | 60 */ |
61 int EXTERNAL_MODIFICATION= 1 << 3; | 61 static const int EXTERNAL_MODIFICATION= 1 << 3; |
62 | 62 |
63 /** | 63 /** |
64 * The leave event occurs when linked is left. | 64 * The leave event occurs when linked is left. |
65 * | 65 * |
66 * @param model the model being left | 66 * @param model the model being left |