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
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

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




Eclipse Platform
Release 3.5

Interface IAutoEditStrategy

All Known Subinterfaces:
All Known Implementing Classes:
DefaultAutoIndentStrategy, DefaultIndentLineAutoEditStrategy, TabsToSpacesConverter

public interface IAutoEditStrategy

An auto edit strategy can adapt changes that will be applied to a text viewer's document. The strategy is informed by the text viewer about each upcoming change in form of a document command. By manipulating this document command, the strategy can influence in which way the text viewer's document is changed. Clients may implement this interface.


Method Summary
 void customizeDocumentCommand ( IDocument document, DocumentCommand command)
          Allows the strategy to manipulate the document command.

Method Detail


void customizeDocumentCommand(
IDocument document,
DocumentCommand command)
Allows the strategy to manipulate the document command.

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