org.eclipse.xtext.xbase.ui.editor
Class DocumentProviderStub
java.lang.Object
org.eclipse.xtext.xbase.ui.editor.DocumentProviderStub
- All Implemented Interfaces:
- org.eclipse.ui.texteditor.IDocumentProvider
public class DocumentProviderStub
- extends java.lang.Object
- implements org.eclipse.ui.texteditor.IDocumentProvider
- Author:
- Sebastian Zarnekow - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentProviderStub
public DocumentProviderStub()
connect
public void connect(java.lang.Object element)
throws org.eclipse.core.runtime.CoreException
- Specified by:
connect
in interface org.eclipse.ui.texteditor.IDocumentProvider
- Throws:
org.eclipse.core.runtime.CoreException
disconnect
public void disconnect(java.lang.Object element)
- Specified by:
disconnect
in interface org.eclipse.ui.texteditor.IDocumentProvider
getDocument
public org.eclipse.jface.text.IDocument getDocument(java.lang.Object element)
- Specified by:
getDocument
in interface org.eclipse.ui.texteditor.IDocumentProvider
resetDocument
public void resetDocument(java.lang.Object element)
throws org.eclipse.core.runtime.CoreException
- Specified by:
resetDocument
in interface org.eclipse.ui.texteditor.IDocumentProvider
- Throws:
org.eclipse.core.runtime.CoreException
saveDocument
public void saveDocument(org.eclipse.core.runtime.IProgressMonitor monitor,
java.lang.Object element,
org.eclipse.jface.text.IDocument document,
boolean overwrite)
throws org.eclipse.core.runtime.CoreException
- Specified by:
saveDocument
in interface org.eclipse.ui.texteditor.IDocumentProvider
- Throws:
org.eclipse.core.runtime.CoreException
getModificationStamp
public long getModificationStamp(java.lang.Object element)
- Specified by:
getModificationStamp
in interface org.eclipse.ui.texteditor.IDocumentProvider
getSynchronizationStamp
public long getSynchronizationStamp(java.lang.Object element)
- Specified by:
getSynchronizationStamp
in interface org.eclipse.ui.texteditor.IDocumentProvider
isDeleted
public boolean isDeleted(java.lang.Object element)
- Specified by:
isDeleted
in interface org.eclipse.ui.texteditor.IDocumentProvider
mustSaveDocument
public boolean mustSaveDocument(java.lang.Object element)
- Specified by:
mustSaveDocument
in interface org.eclipse.ui.texteditor.IDocumentProvider
canSaveDocument
public boolean canSaveDocument(java.lang.Object element)
- Specified by:
canSaveDocument
in interface org.eclipse.ui.texteditor.IDocumentProvider
getAnnotationModel
public org.eclipse.jface.text.source.IAnnotationModel getAnnotationModel(java.lang.Object element)
- Specified by:
getAnnotationModel
in interface org.eclipse.ui.texteditor.IDocumentProvider
aboutToChange
public void aboutToChange(java.lang.Object element)
- Specified by:
aboutToChange
in interface org.eclipse.ui.texteditor.IDocumentProvider
changed
public void changed(java.lang.Object element)
- Specified by:
changed
in interface org.eclipse.ui.texteditor.IDocumentProvider
addElementStateListener
public void addElementStateListener(org.eclipse.ui.texteditor.IElementStateListener listener)
- Specified by:
addElementStateListener
in interface org.eclipse.ui.texteditor.IDocumentProvider
removeElementStateListener
public void removeElementStateListener(org.eclipse.ui.texteditor.IElementStateListener listener)
- Specified by:
removeElementStateListener
in interface org.eclipse.ui.texteditor.IDocumentProvider