|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ITextViewerExtension5
public interface ITextViewerExtension3
Extension interface for ITextViewer.
This interface has been replaced by ITextViewerExtension5.
Clients are not supposed to use this interface any longer.
| Method Summary | |
|---|---|
IRegion |
getModelCoverage()
Deprecated. Returns the minimal region of the viewer's document that completely comprises everything that is visible in the viewer's widget or null if there is no such region. |
int |
modelLine2WidgetLine(int modelLine)
Deprecated. Returns the widget line that corresponds to the given line of the viewer's document or -1 if there is no such line. |
int |
modelOffset2WidgetOffset(int modelOffset)
Deprecated. Returns the widget offset that corresponds to the given offset in the viewer's document or -1 if there is no such offset |
IRegion |
modelRange2WidgetRange(IRegion modelRange)
Deprecated. Returns the minimal region of the viewer's widget that completely comprises the given region of the viewer's document or null if there is no such region. |
int |
widgetLineOfWidgetOffset(int widgetOffset)
Deprecated. Returns the widget line of the given widget offset. |
int |
widgetlLine2ModelLine(int widgetLine)
Deprecated. Returns the line of the viewer's document that corresponds to the given widget line or -1 if there is no such line. |
int |
widgetOffset2ModelOffset(int widgetOffset)
Deprecated. Returns the offset of the viewer's document that corresponds to the given widget offset or -1 if there is no such offset |
IRegion |
widgetRange2ModelRange(IRegion widgetRange)
Deprecated. Returns the minimal region of the viewer's document that completely comprises the given widget region or null if there is no such region. |
| Method Detail |
|---|
IRegion getModelCoverage()
null if there is no such region.
nullint modelLine2WidgetLine(int modelLine)
-1 if there is no such line.
modelLine - the line of the viewer's document
-1int modelOffset2WidgetOffset(int modelOffset)
-1 if there is no such offset
modelOffset - the offset in the viewer's document
-1IRegion modelRange2WidgetRange(IRegion modelRange)
null if there is no such region.
modelRange - the region of the viewer's document
modelRange or nullint widgetOffset2ModelOffset(int widgetOffset)
-1 if there is no such offset
widgetOffset - the widget offset
-1IRegion widgetRange2ModelRange(IRegion widgetRange)
null if there is no such region.
widgetRange - the widget region
widgetRange or nullint widgetlLine2ModelLine(int widgetLine)
-1 if there is no such line.
widgetLine - the widget line
-1int widgetLineOfWidgetOffset(int widgetOffset)
widgetOffset - the widget offset
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.