1234567891011121314151617181920212223 |
- import { UITabbedPanel } from './libs/ui.js';
- import { SidebarObject } from './Sidebar.Object.js';
- import { SidebarGeometry } from './Sidebar.Geometry.js';
- import { SidebarMaterial } from './Sidebar.Material.js';
- function SidebarProperties( editor ) {
- var strings = editor.strings;
- var container = new UITabbedPanel();
- container.setId( 'properties' );
- container.addTab( 'object', strings.getKey( 'sidebar/properties/object' ), new SidebarObject( editor ) );
- container.addTab( 'geometry', strings.getKey( 'sidebar/properties/geometry' ), new SidebarGeometry( editor ) );
- container.addTab( 'material', strings.getKey( 'sidebar/properties/material' ), new SidebarMaterial( editor ) );
- container.select( 'object' );
- return container;
- }
- export { SidebarProperties };
|