|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.core.filebuffers.manipulation.TextFileBufferOperation
org.eclipse.core.filebuffers.manipulation.ConvertLineDelimitersOperation
A text file buffer operation that changes the line delimiters to a specified line delimiter.
| Constructor Summary | |
|---|---|
ConvertLineDelimitersOperation(String lineDelimiter)
Creates a new line delimiter conversion operation for the given target delimiter. |
|
| Method Summary | |
|---|---|
protected MultiTextEditWithProgress |
computeTextEdit(ITextFileBuffer fileBuffer,
IProgressMonitor progressMonitor)
Computes and returns a text edit. |
protected DocumentRewriteSessionType |
getDocumentRewriteSessionType()
Returns the rewrite session type that corresponds to the text edit sequence. |
| Methods inherited from class org.eclipse.core.filebuffers.manipulation.TextFileBufferOperation |
|---|
getOperationName, run |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConvertLineDelimitersOperation(String lineDelimiter)
lineDelimiter - the target line delimiter| Method Detail |
protected MultiTextEditWithProgress computeTextEdit(ITextFileBuffer fileBuffer,
IProgressMonitor progressMonitor)
throws CoreException
TextFileBufferOperation
computeTextEdit in class TextFileBufferOperationfileBuffer - the text file buffer to manipulateprogressMonitor - the progress monitor
CoreException - in case the computation failedprotected DocumentRewriteSessionType getDocumentRewriteSessionType()
TextFileBufferOperation
getDocumentRewriteSessionType in class TextFileBufferOperation
|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.