model_server/ui_browser/src/projectBrowser1.h.cxx
// callback to display the selected group and display it in the domain_list
callback to display the selected group and display it in the domain_list
callback to display the selected group and display it in the domain_list
void projectBrowser::group_action_CB(gtList*, gtEventPtr, void *pb_data, gtReason)
{
    Initialize(projectBrowser::group_action_CB);
#ifndef NEW_UI
    projectBrowser *pb = (projectBrowser *)pb_data;
    if (pb) {
	int* indices, size;
	groups_rtl->get_selected_pos(&indices, &size);
	if (size > 0) {
	    origin_browser->reset();
	    origin_browser->group_list->select_pos(pb->group_items.size()+indices[0], 1);
	    set_temporary_group_name(group_counter);
	}
    }
#endif
}
void projectBrowser :: group_action_CB ( gtList * , gtEventPtr , void * pb_data , gtReason ) { Initialize ( projectBrowser :: group_action_CB ) ; #ifndef NEW_UI projectBrowser * pb = ( projectBrowser * ) pb_data ; if ( pb ) { int * indices , size ; groups_rtl -> get_selected_pos ( & indices , & size ) ; if ( size > 0 ) { origin_browser -> reset ( ) ; origin_browser -> group_list -> select_pos ( pb -> group_items . size ( ) + indices [ 0 ] , 1 ) ; set_temporary_group_name ( group_counter ) ; } } #endif }
callback to display the selected group and display it in the domain_list
callback to display the selected group and display it in the domain_list