|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ui.editors.text.TextFileDocumentProvider
com.aptana.ide.editors.unified.BaseDocumentProvider
public class BaseDocumentProvider
Overrides the base implementation for saving for saving. Used by UntitledTextFileEditor. non-project-based files
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.ui.editors.text.TextFileDocumentProvider |
|---|
org.eclipse.ui.editors.text.TextFileDocumentProvider.DocumentProviderOperation, org.eclipse.ui.editors.text.TextFileDocumentProvider.FileBufferListener, org.eclipse.ui.editors.text.TextFileDocumentProvider.FileInfo, org.eclipse.ui.editors.text.TextFileDocumentProvider.NullProvider |
| Constructor Summary | |
|---|---|
BaseDocumentProvider()
|
|
| Method Summary | |
|---|---|
boolean |
canSaveDocument(java.lang.Object element)
|
protected org.eclipse.ui.editors.text.TextFileDocumentProvider.FileInfo |
createFileInfo(java.lang.Object element)
|
protected org.eclipse.ui.editors.text.TextFileDocumentProvider.DocumentProviderOperation |
createSaveOperation(java.lang.Object element,
org.eclipse.jface.text.IDocument document,
boolean overwrite)
|
| Methods inherited from class org.eclipse.ui.editors.text.TextFileDocumentProvider |
|---|
aboutToChange, addElementStateListener, changed, commitFileBuffer, computeSchedulingRule, connect, createAnnotationModel, createEmptyFileInfo, createFileFromDocument, disconnect, disposeFileInfo, executeOperation, fireElementStateChangeFailed, fireElementStateChanging, getAnnotationModel, getConnectedElementsIterator, getContentType, getDefaultEncoding, getDocument, getElements, getEncoding, getFileInfo, getFileInfosIterator, getFileStore, getModificationStamp, getOperationRunner, getParentProvider, getProgressMonitor, getStatus, getSynchronizationStamp, getSystemFile, handleCoreException, isDeleted, isModifiable, isNotSynchronizedException, isReadOnly, isStateValidated, isSynchronized, isSystemFileReadOnly, mustSaveDocument, removeElementStateListener, resetDocument, saveDocument, setCanSaveDocument, setEncoding, setParentDocumentProvider, setProgressMonitor, setUpSynchronization, synchronize, updateStateCache, validateState |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseDocumentProvider()
| Method Detail |
|---|
protected org.eclipse.ui.editors.text.TextFileDocumentProvider.DocumentProviderOperation createSaveOperation(java.lang.Object element,
org.eclipse.jface.text.IDocument document,
boolean overwrite)
throws org.eclipse.core.runtime.CoreException
createSaveOperation in class org.eclipse.ui.editors.text.TextFileDocumentProviderorg.eclipse.core.runtime.CoreExceptionTextFileDocumentProvider.createSaveOperation(java.lang.Object,
org.eclipse.jface.text.IDocument, boolean)
protected org.eclipse.ui.editors.text.TextFileDocumentProvider.FileInfo createFileInfo(java.lang.Object element)
throws org.eclipse.core.runtime.CoreException
createFileInfo in class org.eclipse.ui.editors.text.TextFileDocumentProviderorg.eclipse.core.runtime.CoreExceptionTextFileDocumentProvider.createFileInfo(java.lang.Object)public boolean canSaveDocument(java.lang.Object element)
canSaveDocument in interface org.eclipse.ui.texteditor.IDocumentProvidercanSaveDocument in class org.eclipse.ui.editors.text.TextFileDocumentProviderIDocumentProvider.canSaveDocument(java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||