Overview

 
Package  Use  Tree  Deprecated  Index  Help 
Eclipse Platform
Release 3.0
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


 

org.eclipse.jface.text
Interface IAutoEditStrategy

All Known Subinterfaces:
IAutoIndentStrategy

All Known Implementing Classes:
DefaultAutoIndentStrategy


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.

Since:
2.1


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

Method Detail

 

 

customizeDocumentCommand

public void customizeDocumentCommand(IDocument document,
                                     DocumentCommand command)

Allows the strategy to manipulate the document command.

Parameters:
document - the document that will be changed
command - the document command describing the change


 

Overview

 
Package  Use  Tree  Deprecated  Index  Help 
Eclipse Platform
Release 3.0
 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, 2004. All rights reserved.