01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jface.text.projection;
11:
12: import org.eclipse.jface.text.IDocument;
13:
14: /**
15: * Implementation of a child document manager based on
16: * {@link org.eclipse.jface.text.projection.ProjectionDocumentManager}. This
17: * class exists for compatibility reasons.
18: * <p>
19: * Internal class. This class is not intended to be used by clients.</p>
20: *
21: * @since 3.0
22: */
23: public class ChildDocumentManager extends ProjectionDocumentManager {
24:
25: /*
26: * @see org.eclipse.jface.text.projection.ProjectionDocumentManager#createProjectionDocument(org.eclipse.jface.text.IDocument)
27: */
28: protected ProjectionDocument createProjectionDocument(
29: IDocument master) {
30: return new ChildDocument(master);
31: }
32: }
|