model_server/project_ui/src/putUI.cxx
// Check all modules for an initial comment.
Check all modules for an initial comment.
Check all modules for an initial comment .
void putUI::check_for_module_comment()
{
    Initialize (putUI::check_for_module_comment);
    bool found = false;
    symbolArr& readyNodes = modules_ready_to_put_nodes->rtl_contents();
    if (readyNodes.size() > 0) {
        found = get_first_module_comment(readyNodes);
	pall_button->set_sensitive(1);
        configurator_to_icon();
    }
    if (!found) {
        symbolArr& lockedNodes = modules_need_to_lock_nodes->rtl_contents();
        if (lockedNodes.size() > 0) {
            found = get_first_module_comment(lockedNodes);
	    browser_but->set_sensitive(1);
            configurator_to_icon();
        }
    }
    if (!found) {
        symbolArr& mergedNodes = modules_3_file_merge_nodes->rtl_contents();
        if (mergedNodes.size() > 0) {
            found = get_first_module_comment(mergedNodes);
            configurator_to_icon();
        }
    }
    if (!found) {
        symbolArr& notReadyNodes = modules_not_to_put_nodes->rtl_contents();
        if (notReadyNodes.size() > 0) {
            found = get_first_module_comment(notReadyNodes);
            configurator_to_icon();
        }
    }
}
void putUI :: check_for_module_comment ( ) { Initialize ( putUI :: check_for_module_comment ) ; bool found = false ; symbolArr & readyNodes = modules_ready_to_put_nodes -> rtl_contents ( ) ; if ( readyNodes . size ( ) > 0 ) { found = get_first_module_comment ( readyNodes ) ; pall_button -> set_sensitive ( 1 ) ; configurator_to_icon ( ) ; } if ( ! found ) { symbolArr & lockedNodes = modules_need_to_lock_nodes -> rtl_contents ( ) ; if ( lockedNodes . size ( ) > 0 ) { found = get_first_module_comment ( lockedNodes ) ; browser_but -> set_sensitive ( 1 ) ; configurator_to_icon ( ) ; } } if ( ! found ) { symbolArr & mergedNodes = modules_3_file_merge_nodes -> rtl_contents ( ) ; if ( mergedNodes . size ( ) > 0 ) { found = get_first_module_comment ( mergedNodes ) ; configurator_to_icon ( ) ; } } if ( ! found ) { symbolArr & notReadyNodes = modules_not_to_put_nodes -> rtl_contents ( ) ; if ( notReadyNodes . size ( ) > 0 ) { found = get_first_module_comment ( notReadyNodes ) ; configurator_to_icon ( ) ; } } }
Check all modules for an initial comment.
Check all modules for an initial comment .
// Check modules that are ready to put. // Check modules that need to locked. // Check modules that need to merged. // Check modules that don't need to be put.