org.eclipse.mylyn.wikitext.ui.editor
Class AbstractWikiTextDocumentProvider
java.lang.Object
StorageDocumentProvider
org.eclipse.mylyn.wikitext.ui.editor.AbstractWikiTextDocumentProvider
- All Implemented Interfaces:
- WikiTextDocumentProvider
public abstract class AbstractWikiTextDocumentProvider
- extends StorageDocumentProvider
- implements WikiTextDocumentProvider
An abstract document provider for the WikiTextSourceEditor
. Subclasses must implement
mutable document storage
.
- Since:
- 1.3
- Author:
- David Green
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractWikiTextDocumentProvider
public AbstractWikiTextDocumentProvider()
setupDocument
protected void setupDocument(Object element,
IDocument document)
getMarkupLanguage
public MarkupLanguage getMarkupLanguage()
setMarkupLanguage
public void setMarkupLanguage(MarkupLanguage markupLanguage)
- Specified by:
setMarkupLanguage
in interface WikiTextDocumentProvider
createAnnotationModel
protected IAnnotationModel createAnnotationModel(Object element)
throws CoreException
- Throws:
CoreException
doSaveDocument
protected abstract void doSaveDocument(IProgressMonitor monitor,
Object element,
IDocument document,
boolean overwrite)
throws CoreException
- Throws:
CoreException
Copyright © 2007, 2009 David Green 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