source: branches/species/WINDOW/aw_awar_defs.hxx

Last change on this file was 19695, checked in by westram, 7 days ago
  • refactored selection list admin
    • uses SelectionAdmin to provide global data
    • moved code from NTREE to SPECSEL
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.3 KB
Line 
1#ifndef AW_AWAR_DEFS_HXX
2#define AW_AWAR_DEFS_HXX
3
4#define AWAR_DBBASE  "tmp/nt/arbdb"
5#define AWAR_DB_PATH AWAR_DBBASE "/file_name"
6#define AWAR_DB_NAME AWAR_DB_PATH "_without_path"       //  awar is automatically updated when AWAR_DB_PATH changes
7
8#define AWAR_DEFAULT_ALIGNMENT "presets/use" // has to match ../ARBDB/arbdb.h@GB_DEFAULT_ALIGNMENT
9
10#define AWAR_TREE           "focus/tree_name"
11#define AWAR_TREE_REFRESH   "tmp/focus/tree_refresh"   // touch this awar to refresh the tree display
12#define AWAR_TREE_RECOMPUTE "tmp/focus/tree_recompute" // touch this awar to recompute the tree (does refresh as well)
13
14#define AWAR_SECURITY_LEVEL "tmp/etc/security_level"
15
16#define AWAR_GDE_EXPORT_FILTER "tmp/gde/export_filter"
17#define AWAR_GDE_FILTER        "tmp/gde/filter"
18
19#define AWAR_DB_COMMENT "description"
20
21#define AWAR_PT_SERVER            "nt/pt_server"
22#define AWAR_TARGET_STRING        "nt/target_string"
23#define AWAR_PRIMER_TARGET_STRING "nt/primer_target_string"
24#define AWAR_GENE_CONTENT         "nt/gene_content"
25#define AWAR_MAX_MISMATCHES       "nt/max_mismatches"
26#define AWAR_EXPERT               "nt/expert"
27
28#define AWAR_SAI_COLOR_STR       "tmp/sai_color_str" // to visualize SAIs in probe Match window
29
30// local awars for edit and edit4:
31
32#define AWAR_SPECIES_NAME_LOCAL    "tmp/edit/species_name" // string: name of selected species
33#define AWAR_CURSOR_POSITION_LOCAL "tmp/edit/cursor_position" // int: position in sequence [0..N-1]
34
35// global awars
36
37#define AWAR_CURSOR_POSITION     "tmp/focus/cursor_position" // int: position in sequence range                                        = [1;len]
38#define AWAR_SET_CURSOR_POSITION "tmp/focus/set_cursor_position" // int: set position in sequence (remote control for ARB_EDIT4) range = [0;len-1]
39#define AWAR_RANGE               "tmp/focus/range"           // int-int: last highlighted range in any EDIT4. allowed values           = [1;len]
40
41#define AWAR_SPECIES_NAME       "tmp/focus/species_name" // string: name of selected species
42#define AWAR_INFO_BUTTON_TEXT   "tmp/focus/info_button_text" // string: to display selected species
43#define AWAR_ORGANISM_NAME      "tmp/focus/organism_name" // string: name of selected organism (differs from AWAR_SPECIES_NAME only for pseudo-gene-species)
44/* - normally AWAR_ORGANISM_NAME contains the same value as AWAR_SPECIES_NAME
45   - if AWAR_SPECIES_NAME contains the name of a pseudo gene-species then AWAR_ORGANISM_NAME
46   contains the name of the species the pseudo gene-species originated from */
47// #define AWAR_EXPERIMENT_NAME    "tmp/focus/experiment_name" // string :  name of selected experiment
48#define AWAR_SAI_NAME           "tmp/focus/sai_name" // string :  name of selected SAI (e.g. in EDIT4 and 'Manage SAI')
49#define AWAR_SAI_GLOBAL         "tmp/focus/sai_global" // string :  name of selected SAI in EDIT4/Visualize SAI Tool - used in RNA3D Tool
50
51#define AWAR_HELIX_NAME "tmp/focus/helix_name" // string: name of selected helix, for helix numbers append _NR, get default by GBT_get_default_helix
52
53#define AWAR_ERROR_MESSAGES "tmp/message/displayed" // error-messages: display awar
54
55#define AWAR_FOOTER         "tmp/LeftFooter" // mode line (showing help for selected mode)
56#define AWAR_FOOTER_MAX_LEN 100          // max allowed textlen for mode line
57
58#define AWAR_AWM_MASK "tmp/awm_mask"
59
60#else
61#error aw_awar_defs.hxx included twice
62#endif
Note: See TracBrowser for help on using the repository browser.