+ bodyContent = [];
+ bodyContent.push(
+ <DetailsPanelToolbar
+ key='toolbar'
+ container={selectedContainer}
+ showHelp={this.props.showHelp.forAll}
+ width={this.props.layout.right} />
+ );
+ workingHeight -= 32 + 35;
+ bodyContent.push(
+ <NavigateDescriptorModel key='navigate' container={selectedContainer} idMaker={makeId}
+ style={{ margin: '8px 8px 15px' }} />
+ )
+ workingHeight -= 8 + 15 + 37;
+ if (checkForErrors(selectedContainer.uiState.error)) {
+ bodyContent.push(
+ <NavigateDescriptorErrors key='errors' container={selectedContainer} idMaker={makeId}
+ style={{ margin: '8px 8px 15px' }} />
+ )
+ workingHeight -= 8 + 15 + 37;
+ }
+ bodyContent.push(
+ <div key='editor' className="DetailsPanelBody">
+ <CatalogItemDetailsEditor
+ container={selectedContainer}
+ idMaker={makeId}
+ showHelp={this.props.showHelp}
+ collapsePanelsByDefault={this.props.collapsePanelsByDefault}
+ openPanelsWithData={this.props.openPanelsWithData}
+ width={this.props.layout.right}
+ height={workingHeight} />
+ </div>
+ );