ARB
|
#include <arbdb_base.h>
#include <aw_base.hxx>
Go to the source code of this file.
Enumerations | |
enum | { PV_AA_CODE = 0, PV_AA_NAME, PV_AA_BOX } |
Functions | |
void | PV_CreateAwars (AW_root *root, AW_default aw_def) |
void | PV_CallBackFunction (AW_root *root) |
AW_window * | ED4_CreateProteinViewer_window (AW_root *aw_root) |
void | PV_SequenceUpdate_CB (GB_CB_TYPE gbtype) |
void | PV_RefreshWindow (AW_root *root) |
void | PV_AddCorrespondingOrfTerminals (class ED4_species_name_terminal *spNameTerm) |
void | PV_AddOrfTerminalsToLoadedSpecies () |
#define AWAR_PROTVIEW "protView/" |
Definition at line 24 of file ed4_ProteinViewer.hxx.
#define AWAR_PV_DISPLAY_ALL AWAR_PROTVIEW "display_all" |
Definition at line 25 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), PV_ManageTerminalDisplay(), and PV_ManageTerminals().
#define AWAR_PROTVIEW_FORWARD_STRAND_1 AWAR_PROTVIEW "forward_strand_1" |
Definition at line 26 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PROTVIEW_FORWARD_STRAND_2 AWAR_PROTVIEW "forward_strand_2" |
Definition at line 27 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PROTVIEW_FORWARD_STRAND_3 AWAR_PROTVIEW "forward_strand_3" |
Definition at line 28 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PROTVIEW_COMPLEMENTARY_STRAND_1 AWAR_PROTVIEW "complementary_strand_1" |
Definition at line 29 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PROTVIEW_COMPLEMENTARY_STRAND_2 AWAR_PROTVIEW "complementary_strand_2" |
Definition at line 30 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PROTVIEW_COMPLEMENTARY_STRAND_3 AWAR_PROTVIEW "complementary_strand_3" |
Definition at line 31 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PROTVIEW_DEFINED_FIELDS AWAR_PROTVIEW "defined_fields" |
Definition at line 32 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PROTVIEW_DISPLAY_OPTIONS AWAR_PROTVIEW "display_options" |
Definition at line 33 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), and TranslateGeneToAminoAcidSequence().
#define AWAR_PV_SELECTED AWAR_PROTVIEW "selected" |
Definition at line 36 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), PV_ManageTerminalDisplay(), and PV_ManageTerminals().
#define AWAR_PV_SELECTED_DB AWAR_PROTVIEW "selected_db" |
Definition at line 37 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PV_SELECTED_FS_1 AWAR_PROTVIEW "selected_fs_1" |
Definition at line 38 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PV_SELECTED_FS_2 AWAR_PROTVIEW "selected_fs_2" |
Definition at line 39 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PV_SELECTED_FS_3 AWAR_PROTVIEW "selected_fs_3" |
Definition at line 40 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PV_SELECTED_CS_1 AWAR_PROTVIEW "selected_cs_1" |
Definition at line 41 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PV_SELECTED_CS_2 AWAR_PROTVIEW "selected_cs_2" |
Definition at line 42 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PV_SELECTED_CS_3 AWAR_PROTVIEW "selected_cs_3" |
Definition at line 43 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PV_MARKED AWAR_PROTVIEW "marked" |
Definition at line 45 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), PV_ManageTerminalDisplay(), and PV_ManageTerminals().
#define AWAR_PV_MARKED_DB AWAR_PROTVIEW "marked_db" |
Definition at line 46 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PV_MARKED_FS_1 AWAR_PROTVIEW "marked_fs_1" |
Definition at line 47 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PV_MARKED_FS_2 AWAR_PROTVIEW "marked_fs_2" |
Definition at line 48 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PV_MARKED_FS_3 AWAR_PROTVIEW "marked_fs_3" |
Definition at line 49 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PV_MARKED_CS_1 AWAR_PROTVIEW "marked_cs_1" |
Definition at line 50 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PV_MARKED_CS_2 AWAR_PROTVIEW "marked_cs_2" |
Definition at line 51 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PV_MARKED_CS_3 AWAR_PROTVIEW "marked_cs_3" |
Definition at line 52 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PV_CURSOR AWAR_PROTVIEW "cursor" |
Definition at line 54 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), PV_ManageTerminalDisplay(), and PV_ManageTerminals().
#define AWAR_PV_CURSOR_DB AWAR_PROTVIEW "cursor_db" |
Definition at line 55 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PV_CURSOR_FS_1 AWAR_PROTVIEW "cursor_fs_1" |
Definition at line 56 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PV_CURSOR_FS_2 AWAR_PROTVIEW "cursor_fs_2" |
Definition at line 57 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PV_CURSOR_FS_3 AWAR_PROTVIEW "cursor_fs_3" |
Definition at line 58 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PV_CURSOR_CS_1 AWAR_PROTVIEW "cursor_cs_1" |
Definition at line 59 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PV_CURSOR_CS_2 AWAR_PROTVIEW "cursor_cs_2" |
Definition at line 60 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
#define AWAR_PV_CURSOR_CS_3 AWAR_PROTVIEW "cursor_cs_3" |
Definition at line 61 of file ed4_ProteinViewer.hxx.
Referenced by ED4_CreateProteinViewer_window(), PV_AddCallBacks(), PV_CreateAwars(), PV_LookForNewTerminals(), and PV_ManageTerminalDisplay().
anonymous enum |
Enumerator | |
---|---|
PV_AA_CODE | |
PV_AA_NAME | |
PV_AA_BOX |
Definition at line 86 of file ed4_ProteinViewer.hxx.
void PV_CreateAwars | ( | AW_root * | root, |
AW_default | aw_def | ||
) |
Definition at line 919 of file ED4_ProteinViewer.cxx.
References AW_root::awar_int(), AWAR_PROTVIEW_COMPLEMENTARY_STRAND_1, AWAR_PROTVIEW_COMPLEMENTARY_STRAND_2, AWAR_PROTVIEW_COMPLEMENTARY_STRAND_3, AWAR_PROTVIEW_DEFINED_FIELDS, AWAR_PROTVIEW_DISPLAY_OPTIONS, AWAR_PROTVIEW_FORWARD_STRAND_1, AWAR_PROTVIEW_FORWARD_STRAND_2, AWAR_PROTVIEW_FORWARD_STRAND_3, AWAR_PV_CURSOR, AWAR_PV_CURSOR_CS_1, AWAR_PV_CURSOR_CS_2, AWAR_PV_CURSOR_CS_3, AWAR_PV_CURSOR_DB, AWAR_PV_CURSOR_FS_1, AWAR_PV_CURSOR_FS_2, AWAR_PV_CURSOR_FS_3, AWAR_PV_DISPLAY_ALL, AWAR_PV_MARKED, AWAR_PV_MARKED_CS_1, AWAR_PV_MARKED_CS_2, AWAR_PV_MARKED_CS_3, AWAR_PV_MARKED_DB, AWAR_PV_MARKED_FS_1, AWAR_PV_MARKED_FS_2, AWAR_PV_MARKED_FS_3, AWAR_PV_SELECTED, AWAR_PV_SELECTED_CS_1, AWAR_PV_SELECTED_CS_2, AWAR_PV_SELECTED_CS_3, AWAR_PV_SELECTED_DB, AWAR_PV_SELECTED_FS_1, AWAR_PV_SELECTED_FS_2, and AWAR_PV_SELECTED_FS_3.
Referenced by ed4_create_all_awars().
void PV_CallBackFunction | ( | AW_root * | root | ) |
Definition at line 859 of file ED4_ProteinViewer.cxx.
References AW_root::awar_int(), AWAR_PROTEIN_TYPE, AWAR_PROTEIN_TYPE_bacterial_code_index, ED4_ROOT, ED4_root::get_gb_main(), gTerminalsCreated, PV_CreateAllTerminals(), and PV_RefreshWindow().
Referenced by ED4_root::add_to_highlighted(), ARB_main(), PV_AddCallBacks(), and ED4_root::remove_from_highlighted().
Definition at line 962 of file ED4_ProteinViewer.cxx.
References AW_POPDOWN(), AW_VERTICAL, AW_root::awar_int(), AWAR_PROTEIN_TYPE, AWAR_PROTEIN_TYPE_bacterial_code_index, AWAR_PROTVIEW_COMPLEMENTARY_STRAND_1, AWAR_PROTVIEW_COMPLEMENTARY_STRAND_2, AWAR_PROTVIEW_COMPLEMENTARY_STRAND_3, AWAR_PROTVIEW_DEFINED_FIELDS, AWAR_PROTVIEW_DISPLAY_OPTIONS, AWAR_PROTVIEW_FORWARD_STRAND_1, AWAR_PROTVIEW_FORWARD_STRAND_2, AWAR_PROTVIEW_FORWARD_STRAND_3, AWAR_PV_CURSOR, AWAR_PV_CURSOR_CS_1, AWAR_PV_CURSOR_CS_2, AWAR_PV_CURSOR_CS_3, AWAR_PV_CURSOR_DB, AWAR_PV_CURSOR_FS_1, AWAR_PV_CURSOR_FS_2, AWAR_PV_CURSOR_FS_3, AWAR_PV_DISPLAY_ALL, AWAR_PV_MARKED, AWAR_PV_MARKED_CS_1, AWAR_PV_MARKED_CS_2, AWAR_PV_MARKED_CS_3, AWAR_PV_MARKED_DB, AWAR_PV_MARKED_FS_1, AWAR_PV_MARKED_FS_2, AWAR_PV_MARKED_FS_3, AWAR_PV_SELECTED, AWAR_PV_SELECTED_CS_1, AWAR_PV_SELECTED_CS_2, AWAR_PV_SELECTED_CS_3, AWAR_PV_SELECTED_DB, AWAR_PV_SELECTED_FS_1, AWAR_PV_SELECTED_FS_2, AWAR_PV_SELECTED_FS_3, AWT_CODON_TABLES, AWT_get_codon_code_name(), ED4_create_seq_colors_window(), ED4_popup_gc_window(), ED4_ROOT, gb_main, ED4_root::gc_manager, ED4_root::get_gb_main(), makeHelpCallback(), NULp, PV_AddCallBacks(), PV_CreateAllTerminals(), PV_RefreshProtViewDisplay(), PV_SaveData(), ED4_root::sequence_colors, and ta.
Referenced by ED4_root::generate_window().
void PV_SequenceUpdate_CB | ( | GB_CB_TYPE | gbtype | ) |
Definition at line 687 of file ED4_ProteinViewer.cxx.
References ED4_root::alignment_type, ED4_root::aw_root, ED4_ROOT, ED4_root::first_window, GB_AT_DNA, GB_CB_CHANGED, gbWritingData, ED4_orf_terminal::GET_aaStartPos(), ED4_orf_terminal::GET_aaStrandType(), ED4_root::get_gb_main(), ED4_base::get_next_terminal(), gTerminalsCreated, ED4_cursor::in_species_seq_terminal(), ED4_base::is_orf_terminal(), ED4_cursor::owner_of_cursor, PV_AA_Terminals4Species, PV_PrintMissingDBentryInformation(), PV_RefreshWindow(), ta, TranslateGeneToAminoAcidSequence(), and win.
Referenced by ED4_manager::update_bases_and_rebuild_consensi().
void PV_RefreshWindow | ( | AW_root * | root | ) |
Definition at line 358 of file ED4_ProteinViewer.cxx.
References gTerminalsCreated, and PV_ManageTerminals().
Referenced by ED4_terminal::event_sent_by_parent(), PV_AddCorrespondingOrfTerminals(), PV_AddOrfTerminalsToLoadedSpecies(), PV_CallBackFunction(), PV_DisplayAminoAcidNames(), and PV_SequenceUpdate_CB().
void PV_AddCorrespondingOrfTerminals | ( | class ED4_species_name_terminal * | spNameTerm | ) |
Definition at line 778 of file ED4_ProteinViewer.cxx.
References ED4_root::aw_root, ED4_ROOT, ED4_base::get_parent(), gTerminalsCreated, LEV_SPECIES, PV_AddNewAAseqTerminals(), and PV_RefreshWindow().
Referenced by insert_new_species_terminal().
void PV_AddOrfTerminalsToLoadedSpecies | ( | ) |
Definition at line 787 of file ED4_ProteinViewer.cxx.
References ED4_root::aw_root, ED4_find_species_name_terminal(), ED4_ROOT, gb_main, GBT_count_marked_species(), GBT_first_marked_species(), GBT_get_name_or_description(), GBT_next_marked_species(), ED4_root::get_gb_main(), ED4_base::get_next_terminal(), ED4_base::get_parent(), gTerminalsCreated, ED4_base::is_spacer_terminal(), ED4_base::is_species_name_terminal(), LEV_SPECIES, PV_AddNewAAseqTerminals(), PV_RefreshWindow(), and ta.
Referenced by ED4_get_marked_from_menu().