public class LineNavigationPoint extends CodeNavigationPoint
Modifier and Type | Field and Description |
---|---|
protected boolean |
hilight
Flag indicating whether to hilight the line.
|
protected boolean |
translate
Flag indicating whether the start value must first be converted to a line number.
|
change, explicit, preferredType, selLength, start, tracker
Constructor and Description |
---|
LineNavigationPoint(Context context,
int offset,
boolean select)
Constructor.
|
LineNavigationPoint(Context context,
int line,
int col,
boolean select)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
copyTo(java.lang.Object target)
Copies the internal state of this object to the specified target.
|
protected void |
copyToImpl(LineNavigationPoint point)
Copy the pertinent state information.
|
protected int |
navigateImpl()
Navigate to the line within the CodeEditor.
|
copyToImpl, equals, findOrCreateEditor, getLongLabel, getPreferredEditorType, gotoOffset, refresh, renavigate, setContext, setExplicit, setPreferredEditorType
addNavigationPointListener, contextRemoved, copyToImpl, findEditorInfo, fireDescriptionChanged, fireExpired, getContext, getIcon, getShortLabel, getToolTipText, navigate, nodeRenamed, projectRenamed, removeNavigationPointListener, toString, workspaceRenamed
protected boolean hilight
protected boolean translate
public LineNavigationPoint(Context context, int line, int col, boolean select)
context
- the Context describing the CodeEditor in which to navigate.line
- the line number to navigate to.col
- the column location for the cursor upon the given line.select
- true indicates that the entire line should be hilighted.public LineNavigationPoint(Context context, int offset, boolean select)
context
- the Context describing the CodeEditor in which to navigate.offset
- location within the CodeEditor to navigate to.select
- true indicates that the entire line should be hilighted.public java.lang.Object copyTo(java.lang.Object target)
copyTo
in interface Copyable
copyTo
in class CodeNavigationPoint
target
- the Object to receive the state, or null.Copyable
protected final void copyToImpl(LineNavigationPoint point)
point
- the NavigationPoint whose state is to be altered.protected int navigateImpl() throws java.lang.Exception
navigateImpl
in class oracle.ide.navigation.DefaultNavigationPoint
java.lang.Exception