|
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.jface.text.TabsToSpacesConverter
Auto edit strategy that converts tabs into spaces.
Clients usually instantiate and configure this class but can also extend it in their own subclass.
Constructor Summary | |
---|---|
TabsToSpacesConverter()
|
Method Summary | |
---|---|
void |
customizeDocumentCommand(IDocument document,
DocumentCommand command)
Allows the strategy to manipulate the document command. |
void |
setLineTracker(ILineTracker lineTracker)
|
void |
setNumberOfSpacesPerTab(int ratio)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TabsToSpacesConverter()
Method Detail |
public void setNumberOfSpacesPerTab(int ratio)
public void setLineTracker(ILineTracker lineTracker)
public void customizeDocumentCommand(IDocument document, DocumentCommand command)
IAutoEditStrategy
customizeDocumentCommand
in interface IAutoEditStrategy
document
- the document that will be changedcommand
- the document command describing the change
|
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.