Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.text
Class TabsToSpacesConverter


java.lang.Object
  extended by 
org.eclipse.jface.text.TabsToSpacesConverter
All Implemented Interfaces:
IAutoEditStrategy

public class TabsToSpacesConverter
extends Object
implements IAutoEditStrategy

Auto edit strategy that converts tabs into spaces.

Clients usually instantiate and configure this class but can also extend it in their own subclass.

Since:
3.3

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

TabsToSpacesConverter

public TabsToSpacesConverter()
Method Detail

setNumberOfSpacesPerTab

public void setNumberOfSpacesPerTab(int ratio)

setLineTracker

public void setLineTracker(
ILineTracker lineTracker)

customizeDocumentCommand

public void customizeDocumentCommand(
IDocument document,
                                     
DocumentCommand command)
Description copied from interface: IAutoEditStrategy
Allows the strategy to manipulate the document command.

Specified by:
customizeDocumentCommand in interface IAutoEditStrategy
Parameters:
document - the document that will be changed
command - the document command describing the change

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire