org::scilab::modules::gui::utils::BarUpdater Class Reference


Static Public Member Functions

static void updateBars (int parentWindowsID, MenuBar newMenuBar, ToolBar newToolBar, TextBox newInfoBar, String newWindowTitle)

Private Member Functions

 BarUpdater ()

Detailed Description

Author:
Bruno JOFRET

Definition at line 23 of file BarUpdater.java.


Constructor & Destructor Documentation

org::scilab::modules::gui::utils::BarUpdater::BarUpdater (  )  [inline, private]

Constructor

Definition at line 28 of file BarUpdater.java.

00028                              {
00029                 throw new UnsupportedOperationException();
00030         }


Member Function Documentation

static void org::scilab::modules::gui::utils::BarUpdater::updateBars ( int  parentWindowsID,
MenuBar  newMenuBar,
ToolBar  newToolBar,
TextBox  newInfoBar,
String  newWindowTitle 
) [inline, static]

Local update for MenuBar and ToolBar Called when a Dock is complete.

Parameters:
parentWindowsID : the ID of the window we want to update.
newMenuBar the new MenuBar to display.
newToolBar the new ToolBar to display.
newInfoBar the new InfoBar to display.
newWindowTitle the new Title to display

Definition at line 41 of file BarUpdater.java.

References org::scilab::modules::gui::uielement::UIElement::addInfoBar(), org::scilab::modules::gui::uielement::UIElement::addMenuBar(), and org::scilab::modules::gui::uielement::UIElement::addToolBar().

00041                                                                                                                                               {
00042                 UIElement element = UIElementMapper.getCorrespondingUIElement(parentWindowsID);
00043                 if (element != null) {
00044                         element.addMenuBar(newMenuBar);
00045                         element.addToolBar(newToolBar);
00046                         element.addInfoBar(newInfoBar);
00047                         ((Window) element).setTitle(newWindowTitle);
00048                 }
00049         }

Here is the call graph for this function:


The documentation for this class was generated from the following file:

Generated on Tue Sep 9 18:26:53 2008 for Scilab [trunk] by  doxygen 1.5.5