Static Public Member Functions | |
| static void | updateBars (int parentWindowsID, MenuBar newMenuBar, ToolBar newToolBar, TextBox newInfoBar, String newWindowTitle) |
Private Member Functions | |
| BarUpdater () | |
Definition at line 23 of file BarUpdater.java.
| org::scilab::modules::gui::utils::BarUpdater::BarUpdater | ( | ) | [inline, private] |
| 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.
| 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 }

1.5.5