Mercurial > projects > dwt-addons
comparison dwtx/jface/text/source/IAnnotationModelListener.d @ 129:eb30df5ca28b
Added JFace Text sources
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 23 Aug 2008 19:10:48 +0200 |
parents | |
children | c4fb132a086c |
comparison
equal
deleted
inserted
replaced
128:8df1d4193877 | 129:eb30df5ca28b |
---|---|
1 /******************************************************************************* | |
2 * Copyright (c) 2000, 2005 IBM Corporation and others. | |
3 * All rights reserved. This program and the accompanying materials | |
4 * are made available under the terms of the Eclipse Public License v1.0 | |
5 * which accompanies this distribution, and is available at | |
6 * http://www.eclipse.org/legal/epl-v10.html | |
7 * | |
8 * Contributors: | |
9 * IBM Corporation - initial API and implementation | |
10 * Port to the D programming language: | |
11 * Frank Benoit <benoit@tionex.de> | |
12 *******************************************************************************/ | |
13 module dwtx.jface.text.source.IAnnotationModelListener; | |
14 | |
15 import dwt.dwthelper.utils; | |
16 | |
17 | |
18 /** | |
19 * Interface for objects interested in getting informed about annotation model | |
20 * changes. Changes are the addition or removal of annotations managed by the | |
21 * model. Clients may implement this interface. | |
22 * | |
23 * In order to provided backward compatibility for clients of | |
24 * <code>IAnnotationModelListener</code>, extension interfaces are used to | |
25 * provide a means of evolution. The following extension interfaces exist: | |
26 * <ul> | |
27 * <li>{@link dwtx.jface.text.source.IAnnotationModelListenerExtension} | |
28 * since version 2.0 replacing the change notification mechanisms.</li> | |
29 * </ul> | |
30 * | |
31 * @see dwtx.jface.text.source.IAnnotationModel | |
32 */ | |
33 public interface IAnnotationModelListener { | |
34 | |
35 /** | |
36 * Called if a model change occurred on the given model.<p> | |
37 * Replaced by {@link IAnnotationModelListenerExtension#modelChanged(AnnotationModelEvent)}. | |
38 * | |
39 * @param model the changed annotation model | |
40 */ | |
41 void modelChanged(IAnnotationModel model); | |
42 } |