/*******************************************************************************
* Copyright (c) 2005, 2006 Thiago Arrais and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Thiago Arrais
*******************************************************************************/
package net.sf.eclipsefp.haskell.ui.internal.editors.haskell.codeassist.doubles;
import org.eclipse.jface.text.Document;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.TextViewer;
public class StubViewer extends TextViewer {
public StubViewer(final String contents) {
this(new Document(contents));
}
public StubViewer(final IDocument doc) {
setDocument(doc);
}
}