Extension SDK

oracle.ide.addin
Interface ToplevelView

All Superinterfaces:
Helpable, Subview, View
All Known Implementing Classes:
MainWindow

public interface ToplevelView
extends View

View components dispaly information to the user. A view obtains the data from the model. There can be multiple views of the model. Each View has an associated Controller. Controllers receive requests to handle the commands associated with user interaction with the view. A view can own other views. For example, all views are owned by the IdeMainWindow view.

See Also:
oracle.ide.Controller, oracle.ide.IdeMainWindow

Field Summary
 
Fields inherited from interface oracle.ide.addin.View
PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP
 
Method Summary
 void add(View child)
          Adds a sub-view to this view.
 Menubar getMenubar()
          Gets this view menu.
 StatusBar getStatusBar()
          Gets this view statusbar.
 Toolbar getToolbar()
          Gets this view toolbar.
 void initialize()
          This method is reponsible for initializing the view.
 
Methods inherited from interface oracle.ide.addin.View
activate, addViewListener, addViewSelectionListener, deactivate, getContext, getId, getSelection, removeViewListener, removeViewSelectionListener, updateTitle
 
Methods inherited from interface oracle.ide.help.Helpable
getHelpInfo
 
Methods inherited from interface oracle.ide.addin.Subview
close, getContext, getContextMenu, getController, getGUI, isVisible, owner, show
 

Method Detail

initialize

public void initialize()
This method is reponsible for initializing the view. It should be called a the end of the view constructor.


getMenubar

public Menubar getMenubar()
Gets this view menu. Null if view does not have a menu.

Returns:
the view menu.

getStatusBar

public StatusBar getStatusBar()
Gets this view statusbar. Null if view does not have a statusbar.

Returns:
the statusbar menu.

getToolbar

public Toolbar getToolbar()
Gets this view toolbar. Null if view does not have a toolbar.

Specified by:
getToolbar in interface View
Returns:
the view toolbar.

add

public void add(View child)
Adds a sub-view to this view.

Parameters:
child - the sub-view to add.

Extension SDK

 

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