ARB
|
#include "ed4_class.hxx"
#include "ed4_awars.hxx"
#include "ed4_tools.hxx"
#include "ed4_block.hxx"
#include "ed4_dots.hxx"
#include "ed4_detect_bad_ali.hxx"
#include "ed4_nds.hxx"
#include "ed4_list.hxx"
#include "ed4_plugins.hxx"
#include "ed4_visualizeSAI.hxx"
#include "ed4_naligner.hxx"
#include "ed4_ProteinViewer.hxx"
#include "ed4_protein_2nd_structure.hxx"
#include "graph_aligner_gui.hxx"
#include "ed4_colStat.hxx"
#include "ed4_seq_colors.hxx"
#include "ed4_flags.hxx"
#include <ed4_extern.hxx>
#include <fast_aligner.hxx>
#include <AW_helix.hxx>
#include <gde.hxx>
#include <awt.hxx>
#include <awt_map_key.hxx>
#include <aw_awars.hxx>
#include <aw_preset.hxx>
#include <aw_msg.hxx>
#include <arb_progress.h>
#include <aw_root.hxx>
#include <aw_question.hxx>
#include <aw_advice.hxx>
#include <rootAsWin.h>
#include "../WINDOW/aw_status.hxx"
#include <arb_version.h>
#include <arb_file.h>
#include <arb_defs.h>
#include <arbdbt.h>
#include <ad_cb.h>
#include <macros.hxx>
#include <st_window.hxx>
#include <cctype>
#include <map>
Go to the source code of this file.
Macros | |
#define | INSERT_SEARCH_FIELDS(Short, label_prefix, prefix) |
Variables | |
static ED4_highlighted_elem * | curr_aligner_elem = NULp |
#define INSERT_SEARCH_FIELDS | ( | Short, | |
label_prefix, | |||
prefix | |||
) |
Referenced by ED4_root::generate_window().
enum MenuHighlightType |
Enumerator | |
---|---|
ED4_MS_NONE | |
ED4_MS_ALL | |
ED4_MS_INVERT | |
ED4_MS_INVERT_GROUP | |
ED4_MS_UNMARK_ALL | |
ED4_MS_MARK_SELECTED | |
ED4_MS_UNMARK_SELECTED | |
ED4_MS_SELECT_MARKED | |
ED4_MS_DESELECT_MARKED | |
ED4_MS_TOGGLE_BLOCKTYPE |
Definition at line 1087 of file ED4_root.cxx.
Definition at line 77 of file ED4_root.cxx.
References ED4_base::is_terminal(), LEV_NONE, ED4_objspec::level, NULp, ED4_base::request_refresh(), and ED4_base::spec.
Referenced by ED4_root::request_refresh_for_all_terminals(), ED4_root::request_refresh_for_specific_terminals(), and request_sequence_refresh().
Definition at line 93 of file ED4_root.cxx.
References error(), ED4_base::is_consensus_manager(), LEV_SEQUENCE_STRING, LEV_SPECIES, ED4_objspec::level, request_terminal_refresh(), ED4_base::route_down_hierarchy(), and ED4_base::spec.
Referenced by ED4_root::request_refresh_for_consensus_terminals(), and ED4_root::request_refresh_for_sequence_terminals().
Definition at line 448 of file ED4_root.cxx.
References BaseFrequencies::change_table_length(), ED4_base::is_abstract_group_manager(), NULp, and ED4_abstract_group_manager::table().
Referenced by ED4_alignment_length_changed().
void ED4_alignment_length_changed | ( | GBDATA * | gb_alignment_len, |
GB_CB_TYPE | gbtype | ||
) |
Definition at line 456 of file ED4_root.cxx.
References ED4_root::alignment_type, aw_message_if(), change_char_table_length(), e4_assert, ED4_root::ecoli_ref, ED4_pfold_set_SAI(), ED4_ROOT, GB_AT_AA, GB_CB_CHANGED, gb_main, GB_read_int(), ED4_root::get_alignment_name(), ED4_root::get_gb_main(), ED4_root::helix, BI_helix::init(), BI_ecoli_ref::init(), ED4_root::main_manager, ED4_remap::mark_compile_needed_force(), MAXSEQUENCECHARACTERLENGTH, ED4_root::protstruct, ED4_root::protstruct_len, ED4_root_group_manager::remap(), and ED4_root::root_group_man.
Referenced by ED4_terminal::changed_by_database(), and ED4_root::init_alignment().
Definition at line 529 of file ED4_root.cxx.
References ED4_base::is_multi_species_manager(), and NULp.
Referenced by ED4_root::create_hierarchy().
|
static |
Definition at line 806 of file ED4_root.cxx.
References aw_message(), ED4_request_full_refresh(), ED4_ROOT, ED4_root::get_gb_main(), ED4_root::helix, and BI_helix::init().
Referenced by ED4_root::generate_window().
|
static |
Definition at line 813 of file ED4_root.cxx.
References aw_message(), ED4_root::ecoli_ref, ED4_request_full_refresh(), ED4_ROOT, ED4_root::get_gb_main(), and BI_ecoli_ref::init().
Referenced by ED4_root::generate_window().
Definition at line 824 of file ED4_root.cxx.
References e4_assert, ED4_ROOT, error(), GB_append_exportedError(), GB_read_as_string(), GBS_global_string(), GBT_find_species(), ED4_root::get_gb_main(), ED4_base::is_species_manager(), LEV_SPECIES_NAME, and NULp.
Referenced by ED4_with_all_loaded_species().
|
static |
Definition at line 849 of file ED4_root.cxx.
References do_sth_with_species(), ED4_ROOT, ED4_root::root_group_man, and ED4_manager::route_down_hierarchy().
Referenced by ED4_remove_faligner_entries().
Definition at line 853 of file ED4_root.cxx.
References e4_assert, and GB_read_char_pntr().
Referenced by is_SAI_named(), and is_species_named().
Definition at line 865 of file ED4_root.cxx.
References ED4_base::inside_species_seq_manager(), and is_named().
Referenced by ED4_find_species_name_terminal(), and ED4_find_species_or_SAI_name_terminal().
Definition at line 869 of file ED4_root.cxx.
References ED4_base::inside_SAI_manager(), and is_named().
Referenced by ED4_find_SAI_name_terminal().
ED4_species_name_terminal* ED4_find_species_or_SAI_name_terminal | ( | const char * | species_name | ) |
Definition at line 873 of file ED4_root.cxx.
References ED4_ROOT, ED4_manager::find_first_that(), is_species_named(), LEV_SPECIES_NAME, NULp, and ED4_root::root_group_man.
Referenced by select_named_sequence_terminal().
ED4_species_name_terminal* ED4_find_species_name_terminal | ( | const char * | species_name | ) |
Definition at line 877 of file ED4_root.cxx.
References ED4_ROOT, ED4_manager::find_first_that(), is_species_named(), LEV_SPECIES_NAME, NULp, and ED4_root::root_group_man.
Referenced by ED4_get_and_jump_to_species(), ED4_get_marked_from_menu(), ED4_jump_to_current_species(), get_group_consensus(), insert_new_species_terminal(), PV_AddOrfTerminalsToLoadedSpecies(), and PV_ManageTerminals().
ED4_species_name_terminal* ED4_find_SAI_name_terminal | ( | const char * | sai_name | ) |
Definition at line 881 of file ED4_root.cxx.
References ED4_ROOT, ED4_manager::find_first_that(), is_SAI_named(), LEV_SPECIES_NAME, NULp, and ED4_root::root_group_man.
Referenced by ED4_get_and_jump_to_selected_SAI(), filter_loadable_SAIs(), and insert_new_species_terminal().
Definition at line 886 of file ED4_root.cxx.
References ED4_abstract_group_manager::build_consensus_string(), ED4_find_species_name_terminal(), ED4_base::get_parent(), LEV_GROUP, LEV_ROOTGROUP, and NULp.
Referenced by ED4_get_aligner_data_access().
|
static |
Definition at line 900 of file ED4_root.cxx.
References ED4_get_highlighted_range(), ED4_ROOT, ED4_list_elem< T >::elem(), ED4_list< T >::head(), and ED4_root::highlighted_objects.
Referenced by ED4_get_aligner_data_access().
|
static |
Definition at line 911 of file ED4_root.cxx.
References ED4_list_elem< T >::elem(), ED4_list_elem< T >::next(), and NULp.
Referenced by build_reverse_complement(), ED4_get_aligner_data_access(), FastAligner_start(), and get_first_selected_species().
Definition at line 919 of file ED4_root.cxx.
References ED4_ROOT, get_next_selected_species(), ED4_list< T >::head(), ED4_root::highlighted_objects, NULp, and ED4_list< T >::size().
Referenced by build_reverse_complement(), ED4_get_aligner_data_access(), and FastAligner_start().
Definition at line 936 of file ED4_root.cxx.
References FastAligner_delete_temp_entries().
Referenced by ED4_remove_faligner_entries().
|
static |
Definition at line 940 of file ED4_root.cxx.
References aw_message(), ED4_delete_temp_entries(), ED4_ROOT, ED4_with_all_loaded_species(), error(), GB_begin_transaction(), GB_end_transaction_show_error(), gb_main, ED4_root::get_alignment_name(), and ED4_root::get_gb_main().
Referenced by ED4_root::generate_window().
|
static |
Definition at line 947 of file ED4_root.cxx.
References aw_message(), current_cursor(), error(), GB_get_grandfather(), GB_read_int(), GB_searchOrCreate_int(), GB_write_int(), ED4_cursor::in_SAI_terminal(), LEV_SEQUENCE_INFO, ED4_cursor::owner_of_cursor, ED4_base::parent, ED4_terminal::request_refresh(), ED4_manager::search_spec_child_rek(), ED4_sequence_terminal::set_secstruct_display(), and ta.
Referenced by ED4_root::generate_window().
Definition at line 974 of file ED4_root.cxx.
References AW_root::awar(), AWAR_EDIT_TITLE_MODE, AW_awar::read_int(), and AW_window::set_info_area_height().
Referenced by ED4_root::generate_window().
|
static |
Definition at line 985 of file ED4_root.cxx.
References aw_message(), current_cursor(), ED4_ROOT, error(), GB_begin_transaction(), GB_commit_transaction(), gb_main, GB_undo(), ED4_root::get_gb_main(), ED4_cursor::owner_of_cursor, and ED4_terminal::request_refresh().
Referenced by ED4_root::generate_window().
Definition at line 1002 of file ED4_root.cxx.
References aw_clear_message_cb(), AW_POPDOWN(), AWAR_ERROR_MESSAGES, and AW_window::load_xfig().
Referenced by ED4_root::generate_window().
Definition at line 1023 of file ED4_root.cxx.
Referenced by insert_search_fields(), and mergeKnownFields().
|
static |
Definition at line 1033 of file ED4_root.cxx.
References AW_window::at(), AW_window::callback(), cat(), AW_window::create_button(), AW_window::create_input_field(), AW_window::create_toggle(), ED4_encodeSearchDescriptor(), ED4_popup_search_window(), ED4_search_cb(), and AW_window::help_text().
Definition at line 1064 of file ED4_root.cxx.
References aw_message(), GB_transaction::close(), current_cursor(), error(), GB_write_security_write(), LEV_SEQUENCE_INFO, NULp, ED4_cursor::owner_of_cursor, ED4_base::parent, ED4_manager::search_spec_child_rek(), and ta.
Referenced by ED4_root::generate_window().
|
static |
Definition at line 1100 of file ED4_root.cxx.
References aw_message(), ED4_window::cursor, ED4_root::deselect_all(), e4_assert, ED4_BT_NOBLOCK, ED4_correctBlocktypeAfterModification(), ED4_getBlocktype(), ED4_MS_ALL, ED4_MS_DESELECT_MARKED, ED4_MS_INVERT, ED4_MS_INVERT_GROUP, ED4_MS_MARK_SELECTED, ED4_MS_NONE, ED4_MS_SELECT_MARKED, ED4_MS_TOGGLE_BLOCKTYPE, ED4_MS_UNMARK_ALL, ED4_MS_UNMARK_SELECTED, ED4_request_full_refresh(), ED4_ROOT, ED4_toggle_block_type(), ED4_root::first_window, gb_main, GBT_mark_all(), ED4_root::get_gb_main(), ED4_window::get_matching_ed4w(), ED4_area_manager::get_multi_species_manager(), ED4_base::get_parent(), ED4_multi_species_manager::invert_selection_of_all_species(), LEV_MULTI_SPECIES, ED4_multi_species_manager::marked_species_select(), ED4_root::middle_area_man, ED4_cursor::owner_of_cursor, ED4_multi_species_manager::select_all(), ED4_multi_species_manager::selected_species_mark(), and ta.
Referenced by ED4_root::generate_window().
|
static |
Definition at line 1179 of file ED4_root.cxx.
References ED4_perform_block_operation().
Referenced by ED4_root::generate_window().
|
static |
Definition at line 1183 of file ED4_root.cxx.
References AWT_trigger_remote_action(), ED4_ROOT, ED4_SM_INFO, ED4_root::first_window, ED4_root::get_gb_main(), NULp, ED4_root::species_mode, and win.
Referenced by ED4_no_dangerous_modes(), and ED4_root::generate_window().
void ED4_no_dangerous_modes | ( | ) |
Definition at line 1193 of file ED4_root.cxx.
References ED4_ROOT, ED4_SM_KILL, ED4_SM_MOVE, modes_cb(), NULp, and ED4_root::species_mode.
Referenced by ED4_terminal::event_sent_by_parent().
Definition at line 1199 of file ED4_root.cxx.
References GB_read_string(), GBT_find_SAI(), GBT_find_sequence(), GBT_get_default_helix(), NULp, and ta.
Referenced by ED4_get_aligner_data_access().
const AlignDataAccess* ED4_get_aligner_data_access | ( | ) |
Definition at line 1214 of file ED4_root.cxx.
References SmartPtr< T, C >::content(), ED4_ROOT, ED4_trigger_instant_refresh(), ED4_root::get_alignment_name(), get_first_selected_species(), ED4_root::get_gb_main(), get_group_consensus(), get_helix_string(), get_next_selected_species(), get_selected_range(), and SmartPtr< T, C >::isNull().
Referenced by ED4_root::generate_window().
|
static |
Definition at line 1231 of file ED4_root.cxx.
References e4_assert, FastAligner_create_window(), and NULp.
Referenced by ED4_root::generate_window().
Definition at line 1244 of file ED4_root.cxx.
References e4_assert, ED4_ROOT, GB_await_error(), GBK_terminatef(), GBT_get_alignment_type_string(), GBT_get_startup_alignment(), NULp, result, and ta.
Referenced by detectProperties(), ED4_save_properties(), and ED4_root::generate_window().
Definition at line 1281 of file ED4_root.cxx.
References AW_save_specific_properties(), ED4_ROOT, ED4_root::get_gb_main(), and propertyName().
Referenced by ED4_root::generate_window().
void ED4_popup_gc_window | ( | AW_window * | awp, |
AW_gc_manager * | gcman | ||
) |
Definition at line 1285 of file ED4_root.cxx.
References AW_window::activate(), AW_create_gc_window(), AW_window::get_root(), NULp, and win.
Referenced by create_editColorTranslationTable_window(), ED4_CreateProteinViewer_window(), and ED4_root::generate_window().
|
static |
Definition at line 1302 of file ED4_root.cxx.
References ED4_request_full_instant_refresh(), ED4_resize_all_extensions(), and GC_FONT_CHANGED.
Referenced by ED4_root::generate_window().
|
static |
Definition at line 1309 of file ED4_root.cxx.
References AW_window::activate(), AW_helix::add_callback(), create_helix_props_window(), ED4_pfold_create_props_window(), ED4_request_relayout(), ED4_ROOT, GB_AT_AA, AW_window::get_root(), ED4_root::helix, and NULp.
Referenced by ED4_root::generate_window().
Definition at line 1954 of file ED4_root.cxx.
References ARB_strdup(), GB_is_regularfile(), GB_path_in_arbprop(), NULp, and propertyName().
|
static |
Definition at line 909 of file ED4_root.cxx.