ARB
ed4_ProteinViewer.hxx
Go to the documentation of this file.
1 // =======================================================================================
2 //
3 // File : ed4_ProteinViewer.hxx
4 // Purpose : Protein viewer
5 // Author : Yadhu Kumar (yadhu@arb-home.de)
6 // web site : http://www.arb-home.de/
7 //
8 // Copyright Department of Microbiology (Technical University Munich)
9 //
10 // =======================================================================================
11 
12 #ifndef ED4_PROTEINVIEWER_HXX
13 #define ED4_PROTEINVIEWER_HXX
14 
15 #ifndef ARBDB_BASE_H
16 #include <arbdb_base.h>
17 #endif
18 #ifndef AW_BASE_HXX
19 #include <aw_base.hxx>
20 #endif
21 
22 
23 // Define Awars
24 #define AWAR_PROTVIEW "protView/"
25 #define AWAR_PV_DISPLAY_ALL AWAR_PROTVIEW "display_all"
26 #define AWAR_PROTVIEW_FORWARD_STRAND_1 AWAR_PROTVIEW "forward_strand_1"
27 #define AWAR_PROTVIEW_FORWARD_STRAND_2 AWAR_PROTVIEW "forward_strand_2"
28 #define AWAR_PROTVIEW_FORWARD_STRAND_3 AWAR_PROTVIEW "forward_strand_3"
29 #define AWAR_PROTVIEW_COMPLEMENTARY_STRAND_1 AWAR_PROTVIEW "complementary_strand_1"
30 #define AWAR_PROTVIEW_COMPLEMENTARY_STRAND_2 AWAR_PROTVIEW "complementary_strand_2"
31 #define AWAR_PROTVIEW_COMPLEMENTARY_STRAND_3 AWAR_PROTVIEW "complementary_strand_3"
32 #define AWAR_PROTVIEW_DEFINED_FIELDS AWAR_PROTVIEW "defined_fields"
33 #define AWAR_PROTVIEW_DISPLAY_OPTIONS AWAR_PROTVIEW "display_options"
34 
35 // Awars for different display configurations
36 #define AWAR_PV_SELECTED AWAR_PROTVIEW "selected"
37 #define AWAR_PV_SELECTED_DB AWAR_PROTVIEW "selected_db"
38 #define AWAR_PV_SELECTED_FS_1 AWAR_PROTVIEW "selected_fs_1"
39 #define AWAR_PV_SELECTED_FS_2 AWAR_PROTVIEW "selected_fs_2"
40 #define AWAR_PV_SELECTED_FS_3 AWAR_PROTVIEW "selected_fs_3"
41 #define AWAR_PV_SELECTED_CS_1 AWAR_PROTVIEW "selected_cs_1"
42 #define AWAR_PV_SELECTED_CS_2 AWAR_PROTVIEW "selected_cs_2"
43 #define AWAR_PV_SELECTED_CS_3 AWAR_PROTVIEW "selected_cs_3"
44 
45 #define AWAR_PV_MARKED AWAR_PROTVIEW "marked"
46 #define AWAR_PV_MARKED_DB AWAR_PROTVIEW "marked_db"
47 #define AWAR_PV_MARKED_FS_1 AWAR_PROTVIEW "marked_fs_1"
48 #define AWAR_PV_MARKED_FS_2 AWAR_PROTVIEW "marked_fs_2"
49 #define AWAR_PV_MARKED_FS_3 AWAR_PROTVIEW "marked_fs_3"
50 #define AWAR_PV_MARKED_CS_1 AWAR_PROTVIEW "marked_cs_1"
51 #define AWAR_PV_MARKED_CS_2 AWAR_PROTVIEW "marked_cs_2"
52 #define AWAR_PV_MARKED_CS_3 AWAR_PROTVIEW "marked_cs_3"
53 
54 #define AWAR_PV_CURSOR AWAR_PROTVIEW "cursor"
55 #define AWAR_PV_CURSOR_DB AWAR_PROTVIEW "cursor_db"
56 #define AWAR_PV_CURSOR_FS_1 AWAR_PROTVIEW "cursor_fs_1"
57 #define AWAR_PV_CURSOR_FS_2 AWAR_PROTVIEW "cursor_fs_2"
58 #define AWAR_PV_CURSOR_FS_3 AWAR_PROTVIEW "cursor_fs_3"
59 #define AWAR_PV_CURSOR_CS_1 AWAR_PROTVIEW "cursor_cs_1"
60 #define AWAR_PV_CURSOR_CS_2 AWAR_PROTVIEW "cursor_cs_2"
61 #define AWAR_PV_CURSOR_CS_3 AWAR_PROTVIEW "cursor_cs_3"
62 
63 
64 // Create Awars For Protein Viewer
65 void PV_CreateAwars(AW_root *root, AW_default aw_def);
66 
67 // Create All Terminals
68 void PV_CallBackFunction(AW_root *root);
69 
70 // Create ProteinViewer window
72 
73 // callback function to update sequence change in EDITOR
74 void PV_SequenceUpdate_CB(GB_CB_TYPE gbtype);
75 
76 // refresh all orf_terminal's
77 void PV_RefreshWindow(AW_root *root);
78 
79 // Creates new orf_terminal's for new species added to the editor ** called from ED4_cursor.cxx **
80 void PV_AddCorrespondingOrfTerminals(class ED4_species_name_terminal *spNameTerm);
81 
82 // Creates new orf_terminal's when newly marked species is loaded
84 
85 // flags to use in display options
86 enum {
90 };
91 
92 #endif
void PV_CallBackFunction(AW_root *root)
void PV_SequenceUpdate_CB(GB_CB_TYPE gbtype)
AW_window * ED4_CreateProteinViewer_window(AW_root *aw_root)
void PV_AddOrfTerminalsToLoadedSpecies()
void PV_AddCorrespondingOrfTerminals(class ED4_species_name_terminal *spNameTerm)
void PV_RefreshWindow(AW_root *root)
GB_CB_TYPE
Definition: arbdb_base.h:46
void PV_CreateAwars(AW_root *root, AW_default aw_def)