model_server/driver_aset/src/driver.cxx
// move selected object to the specified view.
move selected object to the specified view.
move selected object to the specified view .
void driver::move (viewPtr view)
{
    Initialize(driver::move);
 cmd_transaction ct;
    if(ct.on){
      cmd_record_view(view);
      cmd_dr_gen("dr_move();");
    }
    objArr nodes_to_move;
    start_transaction(){
	update_selection (view, 0);
	fill_array_with_selected_appnodes (view, nodes_to_move);
	if (nodes_to_move.size() > 0) {
	    Obj *el1;
	    ForEach (el1, nodes_to_move) {
		ste_insert_at_point (checked_cast(appTree,el1),
				     checked_cast(steView, view));
	    }
	}
    }end_transaction();
}
void driver :: move ( viewPtr view ) { Initialize ( driver :: move ) ; cmd_transaction ct ; if ( ct . on ) { cmd_record_view ( view ) ; cmd_dr_gen ( " " ) ; } objArr nodes_to_move ; start_transaction ( ) { update_selection ( view , 0 ) ; fill_array_with_selected_appnodes ( view , nodes_to_move ) ; if ( nodes_to_move . size ( ) > 0 ) { Obj * el1 ; ForEach ( el1 , nodes_to_move ) { ste_insert_at_point ( checked_cast ( appTree , el1 ) , checked_cast ( steView , view ) ) ; } } } end_transaction ( ) ; }
move selected object to the specified view.
move selected object to the specified view .
// use ste cut/paste mechanism