|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Extension interface for ITextViewer
.
Introduces the concept of text hyperlinks and adds access to the undo manager.
IHyperlink
,
IHyperlinkDetector
Method Summary | |
---|---|
IUndoManager |
getUndoManager()
Returns this viewer's undo manager. |
void |
setHyperlinkDetectors(IHyperlinkDetector[] hyperlinkDetectors,
int eventStateMask)
Sets this viewer's hyperlinkDetectors for the given content type. |
Method Detail |
public void setHyperlinkDetectors(IHyperlinkDetector[] hyperlinkDetectors, int eventStateMask)
hyperlinkDetectors
- the new array of hyperlink detectors, null
or an empty array to disable hyperlinkingeventStateMask
- the SWT event state mask to activate hyperlink modepublic IUndoManager getUndoManager()
null
if it has not been plugged-in
|
Eclipse Platform Release 3.1 |
|||||||||||
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, 2005. All rights reserved.