NavigationSvc.I Interface

com.bea.ide.core.navigation
NavigationSvc.I Interface

public static interface NavigationSvc.I

The navigation service interface.

Enclosing class

NavigationSvc

Method Summary

public void
push(INavigationPoint navPoint)
Push the specified navigation point onto the navigation stack.
public void
push()
Shorthand for push(Application.getActiveDocumentView().getNavigationPoint())

Method Detail

push(INavigationPoint) Method

public void push(INavigationPoint navPoint)
Push the specified navigation point onto the navigation stack. If there is no current navigation point then navPoint will be pushed onto the navigation stack. If there is a current navigation point then there are four possible results depending on what the isSame() methods for the navigation point and the navigation point on the top of the stack return. If navPoint reports that it is the same as the current top of the stack, the top of the stack will be replaced with navPoint. If navPoint reports that it is not the same as the current top of the stack, but the top of the stack reports that it is the same as navPoint, navPoint will be ignored and the current top of the stack retained. If both navPoint and the current top of the stack report that they are not the same then the current top of the stack will be retained and navPoint will be pushed on top of it. This action will also cause an update of any navigation-related UI. Regardless of what other action is taken.

Parameters

navPoint
The navigation point to be put on the stack. This value should not be null.

push() Method

public void push()
Shorthand for push(Application.getActiveDocumentView().getNavigationPoint())