1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
/**
* @author mrdoob / http://mrdoob.com/
*/
Sidebar.Properties = function ( editor ) {
var strings = editor.strings;
var container = new UI.TabbedPanel();
container.setId( 'properties' );
container.addTab( 'object', strings.getKey( 'sidebar/properties/object' ), new Sidebar.Object( editor ) );
container.addTab( 'geometry', strings.getKey( 'sidebar/properties/geometry' ), new Sidebar.Geometry( editor ) );
container.addTab( 'material', strings.getKey( 'sidebar/properties/material' ), new Sidebar.Material( editor ) );
container.select( 'object' );
return container;
};
|