comparison dwtx/jface/text/IDocumentInformationMappingExtension.d @ 139:93a6ec48fd28

Regexp throws removal in interfaces
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 02:31:41 +0200
parents c4fb132a086c
children
comparison
equal deleted inserted replaced
138:b6bad70d540a 139:93a6ec48fd28
176 * @param originRegion the origin region 176 * @param originRegion the origin region
177 * @return the exact image region or <code>null</code> 177 * @return the exact image region or <code>null</code>
178 * @throws BadLocationException if origin region is not a valid region in 178 * @throws BadLocationException if origin region is not a valid region in
179 * the origin document 179 * the origin document
180 */ 180 */
181 IRegion toExactImageRegion(IRegion originRegion) throws BadLocationException; 181 IRegion toExactImageRegion(IRegion originRegion) ;
182 182
183 /** 183 /**
184 * Returns the segments of the image document that exactly correspond to the 184 * Returns the segments of the image document that exactly correspond to the
185 * given region of the original document. Returns <code>null</code> if 185 * given region of the original document. Returns <code>null</code> if
186 * there are no such image regions. 186 * there are no such image regions.
188 * @param originRegion the region in the origin document 188 * @param originRegion the region in the origin document
189 * @return the segments in the image document or <code>null</code> 189 * @return the segments in the image document or <code>null</code>
190 * @throws BadLocationException in case the given origin region is not valid 190 * @throws BadLocationException in case the given origin region is not valid
191 * in the original document 191 * in the original document
192 */ 192 */
193 IRegion[] toExactImageRegions(IRegion originRegion) throws BadLocationException; 193 IRegion[] toExactImageRegions(IRegion originRegion) ;
194 194
195 /** 195 /**
196 * Returns the fragments of the original document that exactly correspond to 196 * Returns the fragments of the original document that exactly correspond to
197 * the given region of the image document. 197 * the given region of the image document.
198 * 198 *
199 * @param imageRegion the region in the image document 199 * @param imageRegion the region in the image document
200 * @return the fragments in the origin document 200 * @return the fragments in the origin document
201 * @throws BadLocationException in case the given image region is not valid 201 * @throws BadLocationException in case the given image region is not valid
202 * in the image document 202 * in the image document
203 */ 203 */
204 IRegion[] toExactOriginRegions(IRegion imageRegion) throws BadLocationException; 204 IRegion[] toExactOriginRegions(IRegion imageRegion) ;
205 205
206 /** 206 /**
207 * Returns the length of the image document. 207 * Returns the length of the image document.
208 * 208 *
209 * @return the length of the image document 209 * @return the length of the image document
219 * @param originRegion the region in the origin document 219 * @param originRegion the region in the origin document
220 * @return the sub-regions with complete coverage or <code>null</code> 220 * @return the sub-regions with complete coverage or <code>null</code>
221 * @throws BadLocationException in case the given origin region is not valid 221 * @throws BadLocationException in case the given origin region is not valid
222 * in the original document 222 * in the original document
223 */ 223 */
224 IRegion[] getExactCoverage(IRegion originRegion) throws BadLocationException; 224 IRegion[] getExactCoverage(IRegion originRegion) ;
225 } 225 }