comparison dwtx/jface/text/link/LinkedModeModel.d @ 146:75302ef3f92f

final
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 22:34:04 +0200
parents 26688fec6d23
children 5cf141e43417
comparison
equal deleted inserted replaced
145:02cd5f1224d3 146:75302ef3f92f
260 } 260 }
261 261
262 } 262 }
263 263
264 /** The set of linked position groups. */ 264 /** The set of linked position groups. */
265 private final List fGroups= new ArrayList(); 265 private const List fGroups= new ArrayList();
266 /** The set of documents spanned by this group. */ 266 /** The set of documents spanned by this group. */
267 private final Set fDocuments= new HashSet(); 267 private const Set fDocuments= new HashSet();
268 /** The position updater for linked positions. */ 268 /** The position updater for linked positions. */
269 private final IPositionUpdater fUpdater= new InclusivePositionUpdater(getCategory()); 269 private const IPositionUpdater fUpdater= new InclusivePositionUpdater(getCategory());
270 /** The document listener on the documents affected by this model. */ 270 /** The document listener on the documents affected by this model. */
271 private final DocumentListener fDocumentListener= new DocumentListener(); 271 private const DocumentListener fDocumentListener= new DocumentListener();
272 /** The parent model for a hierarchical set up, or <code>null</code>. */ 272 /** The parent model for a hierarchical set up, or <code>null</code>. */
273 private LinkedModeModel fParentEnvironment; 273 private LinkedModeModel fParentEnvironment;
274 /** 274 /**
275 * The position in <code>fParentEnvironment</code> that includes all 275 * The position in <code>fParentEnvironment</code> that includes all
276 * positions in this object, or <code>null</code> if there is no parent 276 * positions in this object, or <code>null</code> if there is no parent
283 */ 283 */
284 private bool fIsSealed= false; 284 private bool fIsSealed= false;
285 /** <code>true</code> when this model is changing documents. */ 285 /** <code>true</code> when this model is changing documents. */
286 private bool fIsChanging= false; 286 private bool fIsChanging= false;
287 /** The linked listeners. */ 287 /** The linked listeners. */
288 private final List fListeners= new ArrayList(); 288 private const List fListeners= new ArrayList();
289 /** Flag telling whether we have exited: */ 289 /** Flag telling whether we have exited: */
290 private bool fIsActive= true; 290 private bool fIsActive= true;
291 /** 291 /**
292 * The sequence of document positions as we are going to iterate through 292 * The sequence of document positions as we are going to iterate through
293 * them. 293 * them.