|
Eclipse Platform Release 3.2 |
|||||||||
| 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.RemoveTrailingWhitespaceOperation
public class RemoveTrailingWhitespaceOperation
A text file buffer operation that removes all trailing whitespace.
| Constructor Summary | |
|---|---|
RemoveTrailingWhitespaceOperation()
Creates a remove trailing whitespace operation. |
|
| 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 RemoveTrailingWhitespaceOperation()
| 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.2 |
|||||||||
| 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, 2006. All rights reserved.