model_server/driver_aset/src/driver.cxx
//------------------------------------------
// clear_selection
//
// Function to clear all selected nodes
//------------------------------------------
clear_selection
Function to clear all selected nodes
clear_selection Function to clear all selected nodes
void driver::clear_selection (bool including_browser_selection)
{
    Initialize(driver::clear_selection);
    start_transaction(){
	opened_node = NULL;
	Obj* el;
	ForEach (el, dialogs)
	    clear_selection (checked_cast(dialog, el));
	if(current_dialog != NULL)
	    current_dialog->set_string(NULL);
    } end_transaction();
    if (including_browser_selection){
#ifndef NEW_UI
        browserShell::clear_all_browser_selections ();
	miniBrowser::clear_selections();
#else
  sel_list.remove_all();
#endif
    }
    ste_interface_unselect ((viewPtr)NULL);
     if(cmd_begin()){
         cmd_dr_gen("dr_clear_selection();");
     }
     cmd_end();
}
void driver :: clear_selection ( bool including_browser_selection ) { Initialize ( driver :: clear_selection ) ; start_transaction ( ) { opened_node = NULL ; Obj * el ; ForEach ( el , dialogs ) clear_selection ( checked_cast ( dialog , el ) ) ; if ( current_dialog != NULL ) current_dialog -> set_string ( NULL ) ; } end_transaction ( ) ; if ( including_browser_selection ) { #ifndef NEW_UI browserShell :: clear_all_browser_selections ( ) ; miniBrowser :: clear_selections ( ) ; #else sel_list . remove_all ( ) ; #endif } ste_interface_unselect ( ( viewPtr ) NULL ) ; if ( cmd_begin ( ) ) { cmd_dr_gen ( " " ) ; } cmd_end ( ) ; }
clear_selection
Function to clear all selected nodes
clear_selection Function to clear all selected nodes