void FSoundClassEditor::CreateInternalWidgets() { GraphEditor = CreateGraphEditorWidget(); FPropertyEditorModule& PropertyEditorModule = FModuleManager::GetModuleChecked<FPropertyEditorModule>( "PropertyEditor" ); const FDetailsViewArgs DetailsViewArgs( false, false, true, FDetailsViewArgs::ObjectsUseNameArea, false ); DetailsView = PropertyEditorModule.CreateDetailView( DetailsViewArgs ); DetailsView->SetObject( SoundClass ); }
void FSoundCueEditor::CreateInternalWidgets() { SoundCueGraphEditor = CreateGraphEditorWidget(); FDetailsViewArgs Args; Args.bHideSelectionTip = true; Args.NotifyHook = this; FPropertyEditorModule& PropertyModule = FModuleManager::LoadModuleChecked<FPropertyEditorModule>("PropertyEditor"); SoundCueProperties = PropertyModule.CreateDetailView(Args); SoundCueProperties->SetObject( SoundCue ); Palette = SNew(SSoundCuePalette); }
TSharedRef<SDockTab> FNiagaraEditor::SpawnTab_NodeGraph( const FSpawnTabArgs& Args ) { check( Args.GetTabId().TabType == NodeGraphTabId ); TSharedRef<SGraphEditor> NodeGraphEditor = CreateGraphEditorWidget(Source->NodeGraph); NodeGraphEditorPtr = NodeGraphEditor; // Keep pointer to editor return SNew(SDockTab) .Label( LOCTEXT("NodeGraph", "Node Graph") ) .TabColorScale( GetTabColorScale() ) [ NodeGraphEditor ]; }