Search in sources :

Example 1 with IMenuBarModel

use of org.jowidgets.api.model.item.IMenuBarModel in project jo-client-platform by jo-source.

the class CapWorkbenchMenuFactoryImpl method menuBar.

@Override
public IMenuBarModel menuBar() {
    final MenuBarModel result = new MenuBarModel();
    final IMenuModel dataMenu = dataMenu();
    if (dataMenu != null) {
        result.addMenu(dataMenu);
    }
    return result;
}
Also used : IMenuModel(org.jowidgets.api.model.item.IMenuModel) IMenuBarModel(org.jowidgets.api.model.item.IMenuBarModel) MenuBarModel(org.jowidgets.tools.model.item.MenuBarModel)

Aggregations

IMenuBarModel (org.jowidgets.api.model.item.IMenuBarModel)1 IMenuModel (org.jowidgets.api.model.item.IMenuModel)1 MenuBarModel (org.jowidgets.tools.model.item.MenuBarModel)1