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 *******************************************************************************/ 11 package org.eclipse.jface.text.projection; 12 13 14 import org.eclipse.jface.text.IDocument; 15 16 17 /** 18 * Implementation of a child document manager based on 19 * {@link org.eclipse.jface.text.projection.ProjectionDocumentManager}. This 20 * class exists for compatibility reasons. 21 * <p> 22 * Internal class. This class is not intended to be used by clients.</p> 23 * 24 * @since 3.0 25 */ 26 public class ChildDocumentManager extends ProjectionDocumentManager { 27 28 /* 29 * @see org.eclipse.jface.text.projection.ProjectionDocumentManager#createProjectionDocument(org.eclipse.jface.text.IDocument) 30 */ 31 protected ProjectionDocument createProjectionDocument(IDocument master) { 32 return new ChildDocument(master); 33 } 34 } 35