129
|
1 /*******************************************************************************
|
|
2 * Copyright (c) 2000, 2008 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.projection.ChildDocumentManager;
|
|
14
|
|
15 import dwt.dwthelper.utils;
|
|
16
|
|
17 import dwtx.jface.text.IDocument;
|
|
18
|
|
19
|
|
20 /**
|
|
21 * Implementation of a child document manager based on
|
|
22 * {@link dwtx.jface.text.projection.ProjectionDocumentManager}. This
|
|
23 * class exists for compatibility reasons.
|
|
24 * <p>
|
|
25 * Internal class. This class is not intended to be used by clients outside
|
|
26 * the Platform Text framework.</p>
|
|
27 *
|
|
28 * @since 3.0
|
|
29 * @noinstantiate This class is not intended to be instantiated by clients.
|
|
30 * @noextend This class is not intended to be subclassed by clients.
|
|
31 */
|
|
32 public class ChildDocumentManager : ProjectionDocumentManager {
|
|
33
|
|
34 /*
|
|
35 * @see dwtx.jface.text.projection.ProjectionDocumentManager#createProjectionDocument(dwtx.jface.text.IDocument)
|
|
36 */
|
|
37 protected ProjectionDocument createProjectionDocument(IDocument master) {
|
|
38 return new ChildDocument(master);
|
|
39 }
|
|
40 }
|