|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.texteditor.AbstractDocumentProvider
org.eclipse.ui.examples.rcp.texteditor.editors.SimpleDocumentProvider
public class SimpleDocumentProvider
A document provider that reads can handle IPathEditorInput
editor inputs. Documents are created by reading them in from the file that
the IPath
contained in the editor input points to.
Constructor Summary | |
---|---|
SimpleDocumentProvider()
|
Method Summary | |
---|---|
boolean |
isModifiable(java.lang.Object element)
|
boolean |
isReadOnly(java.lang.Object element)
|
boolean |
isStateValidated(java.lang.Object element)
|
Methods inherited from class org.eclipse.ui.texteditor.AbstractDocumentProvider |
---|
aboutToChange, addElementStateListener, canSaveDocument, changed, connect, disconnect, getAnnotationModel, getContentType, getDocument, getModificationStamp, getProgressMonitor, getStatus, getSynchronizationStamp, isDeleted, isNotSynchronizedException, isSynchronized, mustSaveDocument, removeElementStateListener, resetDocument, saveDocument, setCanSaveDocument, setProgressMonitor, synchronize, updateStateCache, validateState |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleDocumentProvider()
Method Detail |
---|
public boolean isModifiable(java.lang.Object element)
isModifiable
in interface org.eclipse.ui.texteditor.IDocumentProviderExtension
isModifiable
in class org.eclipse.ui.texteditor.AbstractDocumentProvider
public boolean isReadOnly(java.lang.Object element)
isReadOnly
in interface org.eclipse.ui.texteditor.IDocumentProviderExtension
isReadOnly
in class org.eclipse.ui.texteditor.AbstractDocumentProvider
public boolean isStateValidated(java.lang.Object element)
isStateValidated
in interface org.eclipse.ui.texteditor.IDocumentProviderExtension
isStateValidated
in class org.eclipse.ui.texteditor.AbstractDocumentProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |