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.jface.text
Interface ITextViewerExtension6

All Known Implementing Classes:
ProjectionViewer, SourceViewer, TextConsoleViewer, TextViewer

public interface ITextViewerExtension6

Extension interface for ITextViewer. Introduces the concept of text hyperlinks and adds access to the undo manager.

Since:
3.1
See Also:
IHyperlink, IHyperlinkDetector

Method Summary
  IUndoManager getUndoManager ()
          Returns this viewer's undo manager.
 void setHyperlinkDetectors ( IHyperlinkDetector[] hyperlinkDetectors, int eventStateMask)
          Sets this viewer's hyperlink detectors for the given state mask.
 

Method Detail

setHyperlinkDetectors

void setHyperlinkDetectors(
IHyperlinkDetector[] hyperlinkDetectors,
                           int eventStateMask)
Sets this viewer's hyperlink detectors for the given state mask.

Parameters:
hyperlinkDetectors - the new array of hyperlink detectors, null or an empty array to disable hyperlinking
eventStateMask - the SWT event state mask to activate hyperlink mode

getUndoManager

IUndoManager getUndoManager()
Returns this viewer's undo manager.

Returns:
the undo manager or null if it has not been plugged-in
Since:
3.1

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