public class OffsetNavigationPoint extends CodeNavigationPoint
change, explicit, preferredType, selLength, start, tracker| Constructor and Description |
|---|
OffsetNavigationPoint(Context context,
int start,
int length)
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(OffsetNavigationPoint point)
Copy the pertinent state information.
|
protected int |
navigateImpl()
Navigate to the offset within the FindableEditor.
|
copyToImpl, equals, findOrCreateEditor, getLongLabel, getPreferredEditorType, gotoOffset, refresh, renavigate, setContext, setExplicit, setPreferredEditorTypeaddNavigationPointListener, contextRemoved, copyToImpl, findEditorInfo, fireDescriptionChanged, fireExpired, getContext, getIcon, getShortLabel, getToolTipText, navigate, nodeRenamed, projectRenamed, removeNavigationPointListener, toString, workspaceRenamedclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAttributedLabelpublic OffsetNavigationPoint(Context context, int start, int length)
context - the Context describing the Editor in which to navigate.start - the offset to navigate to, negative value indicates that
opening the Editor is enough with no further navigation needed.length - number of characters to hilight beginning at start.public java.lang.Object copyTo(java.lang.Object target)
copyTo in interface CopyablecopyTo in class CodeNavigationPointtarget - the Object to receive the state, or null.Copyableprotected final void copyToImpl(OffsetNavigationPoint point)
point - the NavigationPoint whose state is to be altered.protected int navigateImpl()
throws java.lang.Exception
navigateImpl in class oracle.ide.navigation.DefaultNavigationPointjava.lang.Exception