Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.ide.ceditor
Class OffsetNavigationPoint

java.lang.Object
  extended by oracle.ide.navigation.DefaultNavigationPoint
      extended by oracle.ide.ceditor.CodeNavigationPoint
          extended by oracle.ide.ceditor.OffsetNavigationPoint

All Implemented Interfaces:
Displayable, oracle.ide.navigation.EditorNavigationPoint, oracle.ide.navigation.NavigationPoint, ContextHolder, Copyable

public class OffsetNavigationPoint
extends CodeNavigationPoint

NavigationPoint implementation which navigates to a given offset within a FindableEditor.


Field Summary

 

Fields inherited from class oracle.ide.ceditor.CodeNavigationPoint
change, explicit, preferredType, selLength, start, tracker

 

Fields inherited from class oracle.ide.navigation.DefaultNavigationPoint
done, nodeURL, prjURL, viewClass, viewID, wspURL

 

Fields inherited from interface oracle.ide.navigation.NavigationPoint
CANCEL, OK

 

Constructor Summary
OffsetNavigationPoint(Context context, int start, int length)
          Constructor.

 

Method Summary
 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.

 

Methods inherited from class oracle.ide.ceditor.CodeNavigationPoint
copyToImpl, findOrCreateEditor, getPreferredEditorType, gotoOffset, refresh, renavigate, setContext, setExplicit, setPreferredEditorType

 

Methods inherited from class oracle.ide.navigation.DefaultNavigationPoint
addNavigationPointListener, contextRemoved, copyToImpl, findEditorInfo, fireDescriptionChanged, fireExpired, getContext, getIcon, getLongLabel, getShortLabel, getToolTipText, navigate, nodeRenamed, projectRenamed, removeNavigationPointListener, toString, workspaceRenamed

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

OffsetNavigationPoint

public OffsetNavigationPoint(Context context,
                             int start,
                             int length)
Constructor.
Parameters:
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.

Method Detail

copyTo

public java.lang.Object copyTo(java.lang.Object target)
Copies the internal state of this object to the specified target. If target is null, then this method should create a new instance of this class and proceed to copy the internal state to the newly created object.
Specified by:
copyTo in interface Copyable
Overrides:
copyTo in class CodeNavigationPoint
Parameters:
target - the Object to receive the state, or null.
Returns:
an instance with an identical state.
See Also:
Copyable

copyToImpl

protected final void copyToImpl(OffsetNavigationPoint point)
Copy the pertinent state information.
Parameters:
point - the NavigationPoint whose state is to be altered.

navigateImpl

protected int navigateImpl()
                    throws java.lang.Exception
Navigate to the offset within the FindableEditor.
Overrides:
navigateImpl in class oracle.ide.navigation.DefaultNavigationPoint
Throws:
java.lang.Exception

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.