You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.0 KiB
32 lines
1.0 KiB
import { UIPanel } from '../libs/ui.js';
|
|
|
|
import { MenubarAdd } from './Menubar.Add.js';
|
|
import { MenubarEdit } from './Menubar.Edit.js';
|
|
import { MenubarFile } from './Menubar.File.js';
|
|
import { MenubarExamples } from './Menubar.Examples.js';
|
|
import { MenubarView } from './Menubar.View.js';
|
|
import { MenubarHelp } from './Menubar.Help.js';
|
|
import { MenubarPlay } from './Menubar.Play.js';
|
|
import { MenubarStatus } from './Menubar.Status.js';
|
|
import {MenubarModels} from './Menubar.Models.js';
|
|
function Menubar( editor ) {
|
|
|
|
const container = new UIPanel();
|
|
container.setId( 'menubar' );
|
|
|
|
container.add( new MenubarFile( editor ) );
|
|
container.add( new MenubarEdit( editor ) );
|
|
container.add( new MenubarAdd( editor ) );
|
|
container.add( new MenubarPlay( editor ) );
|
|
container.add( new MenubarExamples( editor ) );
|
|
container.add( new MenubarView( editor ) );
|
|
container.add(new MenubarModels(editor))
|
|
container.add( new MenubarHelp( editor ) );
|
|
|
|
container.add( new MenubarStatus( editor ) );
|
|
|
|
return container;
|
|
|
|
}
|
|
|
|
export { Menubar };
|
|
|