|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.ui.texteditor.MarkRegionTarget
Default implementation of IMarkRegionTarget
using ITextViewer
and IStatusLineManager
.
Constructor Summary | |
MarkRegionTarget(ITextViewer viewer,
IStatusLineManager manager)
Creates a MarkRegionTaret. |
Method Summary | |
void |
setMarkAtCursor(boolean set)
Sets or clears a mark at the current cursor position. |
void |
swapMarkAndCursor()
Swaps the mark and cursor position if the mark is in visible region. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MarkRegionTarget(ITextViewer viewer, IStatusLineManager manager)
viewer
- the text viewermanager
- the status line managerMethod Detail |
public void setMarkAtCursor(boolean set)
IMarkRegionTarget
setMarkAtCursor
in interface IMarkRegionTarget
set
- sets the mark if true
, clears otherwise.public void swapMarkAndCursor()
IMarkRegionTarget
swapMarkAndCursor
in interface IMarkRegionTarget
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |