comparison org.eclipse.text/src/org/eclipse/jface/text/projection/IMinimalMapping.d @ 12:bc29606a740c

Added dwt-addons in original directory structure of eclipse.org
author Frank Benoit <benoit@tionex.de>
date Sat, 14 Mar 2009 18:23:29 +0100
parents
children 5feec68b4556
comparison
equal deleted inserted replaced
11:43904fec5dca 12:bc29606a740c
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 org.eclipse.jface.text.projection.IMinimalMapping;
14
15 import org.eclipse.jface.text.projection.ProjectionMapping; // packageimport
16 import org.eclipse.jface.text.projection.ChildDocumentManager; // packageimport
17 import org.eclipse.jface.text.projection.SegmentUpdater; // packageimport
18 import org.eclipse.jface.text.projection.Segment; // packageimport
19 import org.eclipse.jface.text.projection.ProjectionDocument; // packageimport
20 import org.eclipse.jface.text.projection.FragmentUpdater; // packageimport
21 import org.eclipse.jface.text.projection.ProjectionDocumentEvent; // packageimport
22 import org.eclipse.jface.text.projection.ChildDocument; // packageimport
23 import org.eclipse.jface.text.projection.Fragment; // packageimport
24 import org.eclipse.jface.text.projection.ProjectionTextStore; // packageimport
25 import org.eclipse.jface.text.projection.ProjectionDocumentManager; // packageimport
26
27
28 import java.lang.all;
29 import java.util.Set;
30
31
32 import org.eclipse.jface.text.BadLocationException;
33 import org.eclipse.jface.text.IRegion;
34
35
36 /**
37 * Internal interface for defining the exact subset of
38 * {@link org.eclipse.jface.text.projection.ProjectionMapping} that the
39 * {@link org.eclipse.jface.text.projection.ProjectionTextStore} is allowed to
40 * access.
41 *
42 * @since 3.0
43 */
44 interface IMinimalMapping {
45
46 /*
47 * @see org.eclipse.jface.text.IDocumentInformationMapping#getCoverage()
48 */
49 IRegion getCoverage();
50
51 /*
52 * @see org.eclipse.jface.text.IDocumentInformationMapping#toOriginRegion(IRegion)
53 */
54 IRegion toOriginRegion(IRegion region) ;
55
56 /*
57 * @see org.eclipse.jface.text.IDocumentInformationMapping#toOriginOffset(int)
58 */
59 int toOriginOffset(int offset) ;
60
61 /*
62 * @see org.eclipse.jface.text.IDocumentInformationMappingExtension#toExactOriginRegions(IRegion)
63 */
64 IRegion[] toExactOriginRegions(IRegion region) ;
65
66 /*
67 * @see org.eclipse.jface.text.IDocumentInformationMappingExtension#getImageLength()
68 */
69 int getImageLength();
70 }