Mercurial > projects > dwt-addons
annotate dwtx/jface/text/source/IAnnotationMap.d @ 153:f70d9508c95c
Fix java Collection imports
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 25 Aug 2008 00:27:31 +0200 |
parents | c4fb132a086c |
children |
rev | line source |
---|---|
129 | 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.IAnnotationMap; | |
14 | |
131 | 15 import dwtx.jface.text.source.ISharedTextColors; // packageimport |
16 import dwtx.jface.text.source.ILineRange; // packageimport | |
17 import dwtx.jface.text.source.IAnnotationPresentation; // packageimport | |
18 import dwtx.jface.text.source.IVerticalRulerInfoExtension; // packageimport | |
19 import dwtx.jface.text.source.ICharacterPairMatcher; // packageimport | |
20 import dwtx.jface.text.source.TextInvocationContext; // packageimport | |
21 import dwtx.jface.text.source.LineChangeHover; // packageimport | |
22 import dwtx.jface.text.source.IChangeRulerColumn; // packageimport | |
23 import dwtx.jface.text.source.IAnnotationModelListenerExtension; // packageimport | |
24 import dwtx.jface.text.source.ISourceViewerExtension2; // packageimport | |
25 import dwtx.jface.text.source.IAnnotationHover; // packageimport | |
26 import dwtx.jface.text.source.ContentAssistantFacade; // packageimport | |
27 import dwtx.jface.text.source.IAnnotationAccess; // packageimport | |
28 import dwtx.jface.text.source.IVerticalRulerExtension; // packageimport | |
29 import dwtx.jface.text.source.IVerticalRulerColumn; // packageimport | |
30 import dwtx.jface.text.source.LineNumberRulerColumn; // packageimport | |
31 import dwtx.jface.text.source.MatchingCharacterPainter; // packageimport | |
32 import dwtx.jface.text.source.IAnnotationModelExtension; // packageimport | |
33 import dwtx.jface.text.source.ILineDifferExtension; // packageimport | |
34 import dwtx.jface.text.source.DefaultCharacterPairMatcher; // packageimport | |
35 import dwtx.jface.text.source.LineNumberChangeRulerColumn; // packageimport | |
36 import dwtx.jface.text.source.IAnnotationAccessExtension; // packageimport | |
37 import dwtx.jface.text.source.ISourceViewer; // packageimport | |
38 import dwtx.jface.text.source.AnnotationModel; // packageimport | |
39 import dwtx.jface.text.source.ILineDifferExtension2; // packageimport | |
40 import dwtx.jface.text.source.IAnnotationModelListener; // packageimport | |
41 import dwtx.jface.text.source.IVerticalRuler; // packageimport | |
42 import dwtx.jface.text.source.DefaultAnnotationHover; // packageimport | |
43 import dwtx.jface.text.source.SourceViewer; // packageimport | |
44 import dwtx.jface.text.source.SourceViewerConfiguration; // packageimport | |
45 import dwtx.jface.text.source.AnnotationBarHoverManager; // packageimport | |
46 import dwtx.jface.text.source.CompositeRuler; // packageimport | |
47 import dwtx.jface.text.source.ImageUtilities; // packageimport | |
48 import dwtx.jface.text.source.VisualAnnotationModel; // packageimport | |
49 import dwtx.jface.text.source.IAnnotationModel; // packageimport | |
50 import dwtx.jface.text.source.ISourceViewerExtension3; // packageimport | |
51 import dwtx.jface.text.source.ILineDiffInfo; // packageimport | |
52 import dwtx.jface.text.source.VerticalRulerEvent; // packageimport | |
53 import dwtx.jface.text.source.ChangeRulerColumn; // packageimport | |
54 import dwtx.jface.text.source.ILineDiffer; // packageimport | |
55 import dwtx.jface.text.source.AnnotationModelEvent; // packageimport | |
56 import dwtx.jface.text.source.AnnotationColumn; // packageimport | |
57 import dwtx.jface.text.source.AnnotationRulerColumn; // packageimport | |
58 import dwtx.jface.text.source.IAnnotationHoverExtension; // packageimport | |
59 import dwtx.jface.text.source.AbstractRulerColumn; // packageimport | |
60 import dwtx.jface.text.source.ISourceViewerExtension; // packageimport | |
61 import dwtx.jface.text.source.AnnotationMap; // packageimport | |
62 import dwtx.jface.text.source.IVerticalRulerInfo; // packageimport | |
63 import dwtx.jface.text.source.IAnnotationModelExtension2; // packageimport | |
64 import dwtx.jface.text.source.LineRange; // packageimport | |
65 import dwtx.jface.text.source.IAnnotationAccessExtension2; // packageimport | |
66 import dwtx.jface.text.source.VerticalRuler; // packageimport | |
67 import dwtx.jface.text.source.JFaceTextMessages; // packageimport | |
68 import dwtx.jface.text.source.IOverviewRuler; // packageimport | |
69 import dwtx.jface.text.source.Annotation; // packageimport | |
70 import dwtx.jface.text.source.IVerticalRulerListener; // packageimport | |
71 import dwtx.jface.text.source.ISourceViewerExtension4; // packageimport | |
72 import dwtx.jface.text.source.AnnotationPainter; // packageimport | |
73 import dwtx.jface.text.source.IAnnotationHoverExtension2; // packageimport | |
74 import dwtx.jface.text.source.OverviewRuler; // packageimport | |
75 import dwtx.jface.text.source.OverviewRulerHoverManager; // packageimport | |
76 | |
77 | |
129 | 78 import dwt.dwthelper.utils; |
79 | |
80 | |
153
f70d9508c95c
Fix java Collection imports
Frank Benoit <benoit@tionex.de>
parents:
131
diff
changeset
|
81 import dwtx.dwtxhelper.Collection; |
f70d9508c95c
Fix java Collection imports
Frank Benoit <benoit@tionex.de>
parents:
131
diff
changeset
|
82 |
f70d9508c95c
Fix java Collection imports
Frank Benoit <benoit@tionex.de>
parents:
131
diff
changeset
|
83 |
f70d9508c95c
Fix java Collection imports
Frank Benoit <benoit@tionex.de>
parents:
131
diff
changeset
|
84 |
129 | 85 |
86 import dwtx.jface.text.ISynchronizable; | |
87 | |
88 | |
89 /** | |
90 * An annotation map is a map specialized for the requirements of an annotation | |
91 * model. The annotation map supports a customizable lock object which is used | |
92 * to synchronize concurrent operations on the map (see | |
93 * {@link dwtx.jface.text.ISynchronizable}. The map supports two | |
94 * iterator methods, one for the values and one for the keys of the map. The | |
95 * returned iterators are robust, i.e. they work on a copy of the values and | |
96 * keys set that is made at the point in time the iterator methods are called. | |
97 * <p> | |
98 * The returned collections of the methods <code>values</code>, | |
99 * <code>entrySet</code>, and <code>keySet</code> are not synchronized on | |
100 * the annotation map's lock object. | |
101 * <p> | |
102 * | |
103 * @see dwtx.jface.text.source.IAnnotationModel | |
104 * @since 3.0 | |
105 */ | |
106 public interface IAnnotationMap : Map, ISynchronizable { | |
107 | |
108 /** | |
109 * Returns an iterator for a copy of this annotation map's values. | |
110 * | |
111 * @return an iterator for a copy of this map's values | |
112 */ | |
113 Iterator valuesIterator(); | |
114 | |
115 /** | |
116 * Returns an iterator for a copy of this map's key set. | |
117 * | |
118 * @return an iterator for a copy of this map's key set | |
119 */ | |
120 Iterator keySetIterator(); | |
121 | |
122 /** | |
123 * {@inheritDoc} | |
124 * | |
125 * The returned set is not synchronized on this annotation map's lock object. | |
126 */ | |
127 Set entrySet(); | |
128 | |
129 /** | |
130 * {@inheritDoc} | |
131 * | |
132 * The returned set is not synchronized on this annotation map's lock object. | |
133 */ | |
134 Set keySet(); | |
135 | |
136 /** | |
137 * {@inheritDoc} | |
138 * | |
139 * The returned collection is not synchronized on this annotation map's lock object. | |
140 */ | |
141 Collection values(); | |
142 } |