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

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.ui.texteditor
Interface ITextEditorExtension3

All Known Implementing Classes:
AbstractDecoratedTextEditor, AbstractTextEditor, StatusTextEditor, TextEditor

public interface ITextEditorExtension3

Extension interface for ITextEditor. Adds the following functions:

  • insert mode management

Since:
3.0

Nested Class Summary
static class ITextEditorExtension3.InsertMode
          Constitutes entities to enumerate the editor insert modes.
 
Field Summary
static  ITextEditorExtension3.InsertMode INSERT
          Represents the non-smart insert mode.
static  ITextEditorExtension3.InsertMode SMART_INSERT
          Represents the smart insert mode.
 
Method Summary
  ITextEditorExtension3.InsertMode getInsertMode ()
          Returns the current input mode of this editor.
 boolean isChangeInformationShowing ()
          Returns the quick diff display state.
 void setInsertMode ( ITextEditorExtension3.InsertMode mode)
          Sets the insert mode of this editor.
 void showChangeInformation (boolean show)
          Sets the display of quick diff information.
 

Field Detail

INSERT

static final 
ITextEditorExtension3.InsertMode INSERT
Represents the non-smart insert mode.


SMART_INSERT

static final 
ITextEditorExtension3.InsertMode SMART_INSERT
Represents the smart insert mode.

Method Detail

getInsertMode

ITextEditorExtension3.InsertMode getInsertMode()
Returns the current input mode of this editor.

Returns:
the current input mode of this editor

setInsertMode

void setInsertMode(
ITextEditorExtension3.InsertMode mode)
Sets the insert mode of this editor.

Parameters:
mode - the new insert mode
Throws:
IllegalArgumentException - if mode is not a legal insert mode for this editor

showChangeInformation

void showChangeInformation(boolean show)
Sets the display of quick diff information.

Parameters:
show - true if quick diff information should be shown, false otherwise

isChangeInformationShowing

boolean isChangeInformationShowing()
Returns the quick diff display state.

Returns:
true if quick diff info is displayed, false otherwise

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