INavigationBarDriver Interface

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

com.bea.ide.sourceeditor.driver
INavigationBarDriver Interface

public interface INavigationBarDriver

Contains file-specific code for implementing the navigation bar. Note that each file could potentially show up in the navigation bar either as the primary file or as a control being used.


All Known Implementing Classes
com.bea.ide.lang.java.driver.JavaNavigationBarDriver

Method Summary

public IElement
getControlForHandler(IElement handler)
Returns the node for the control corresponding to the given handler.
public IElement
getEventForHandler(IElement handler)
Returns the node for the event that is caught by the given handler.
public IElement
getHandlerForEvent(IElement type, IElement control, IElement event)
Returns the handler in the given type for the given event.
public Icon
getIcon(IElement b)
Returns the icon to be used for the given node.
public boolean
isControl(IElement node)
Determines whether the given node represents a control that is being used by this type.
public boolean
isEvent(IElement node)
Determines whether the given node represents an event that is exported by this type (for use as a control).
public boolean
isEventHandler(IElement node)
Determines whether the given node represents an event handler for an event thrown by a control used by this type.
public boolean
isMember(IElement node)
Determines whether the given node represents a member of the enclosing type to be shown in the members list.
public boolean
isType(IElement node)
Determines whether the given node represents a type to be shown in the types list.

Method Detail

getControlForHandler(IElement) Method

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

public IElement getControlForHandler(IElement handler)
Returns the node for the control corresponding to the given handler.


getEventForHandler(IElement) Method

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

public IElement getEventForHandler(IElement handler)
Returns the node for the event that is caught by the given handler. This may return null if it is a handler for an event that is not thrown.


getHandlerForEvent(IElement, IElement, IElement) Method

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

public IElement getHandlerForEvent(IElement type, 
                                   IElement control, 
                                   IElement event)
Returns the handler in the given type for the given event. This should create the handler if it does not exist.


getIcon(IElement) Method

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

public Icon getIcon(IElement b)
Returns the icon to be used for the given node. It may be showing up in either the types or members list, for the current file or as a control being used.


isControl(IElement) Method

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

public boolean isControl(IElement node)
Determines whether the given node represents a control that is being used by this type. (Note that controls should be symblic links.)


isEvent(IElement) Method

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

public boolean isEvent(IElement node)
Determines whether the given node represents an event that is exported by this type (for use as a control).


isEventHandler(IElement) Method

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

public boolean isEventHandler(IElement node)
Determines whether the given node represents an event handler for an event thrown by a control used by this type.


isMember(IElement) Method

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

public boolean isMember(IElement node)
Determines whether the given node represents a member of the enclosing type to be shown in the members list.


isType(IElement) Method

DEPRECATED In V8.1 the navigation bar has been removed in favor of other navigation aids like the structure view. Implementations of this class are not harmful, but will be ignored.

public boolean isType(IElement node)
Determines whether the given node represents a type to be shown in the types list.