Extension SDK 10.1.2

oracle.ide
Interface ActiveViewHandler


public interface ActiveViewHandler

This interface is used by the main window to return the active view and to build the control stack.

See Also:
IdeMainWindow.getLastActiveView()

Method Summary
 java.util.List getControllerStack(View view)
          This methods get a list of ControllerProvider based on a view.
 View getLastActiveView()
          Gets the last active view.
 

Method Detail

getLastActiveView

public View getLastActiveView()
Gets the last active view. In general the main application view keeps track of the last active view. Other views should just return owner().getLastActiveView(). The last active view controller is usually invoked when a user executes a menu or toolbar command.

Returns:
the last active view.

getControllerStack

public java.util.List getControllerStack(View view)
This methods get a list of ControllerProvider based on a view. The view itself is NOT included in the list. The ActiveViewHandler uses a cache that is cleared everytime the active view changes. The returned value is never null and cannot contain null elements.

Returns:
a List of ControllerProvider.

Extension SDK

 

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