| 1 |
/*$Id: displays.wrm,v 1.2 2004/04/09 22:40:07 mieg Exp $ */ |
| 2 |
|
| 3 |
/* wspec/displays.wrm |
| 4 |
|
| 5 |
This file is read only at execution time |
| 6 |
|
| 7 |
It holds the display definitions necessary to the |
| 8 |
graphic interface. |
| 9 |
|
| 10 |
You can freely edit this file without recompiling |
| 11 |
but it must remain consistent with the other wspec files |
| 12 |
and you must never change the graphType (-g) of a class |
| 13 |
unless you modify the corresponding application source code. |
| 14 |
|
| 15 |
Line starting with _DDispayType are parsed, they are expected |
| 16 |
to contain a la Unix a set of -Option parameters. |
| 17 |
DisplayTypes must match their enumeration in wspec/disptype.wrm |
| 18 |
|
| 19 |
Options names can be abbreviated, recognized options are |
| 20 |
-GraphType : One of PLAIN TEXT_SCROLL TEXT_FIT MAP_SCROLL as |
| 21 |
enumerated in wh/graph.h. You cannot change that |
| 22 |
parameter unless you change the way the graph is |
| 23 |
used in the source code. |
| 24 |
-Title text : A default title for that graph, sometimes overridden |
| 25 |
by the applications. |
| 26 |
-Width w -Height h -Xposition x -Yposition y : |
| 27 |
Real numbers in the following range |
| 28 |
0 < x,w < 1.3 ; 0 < y,h < 1.0 |
| 29 |
They indicate the initial proportion of the sreen width and height |
| 30 |
used to display objects of that class in their preferred display type. |
| 31 |
The full screen is normallized to 1, 1.3 |
| 32 |
|
| 33 |
-Menu text Provide this display type, under name text, in the |
| 34 |
keyset "display as" menu. |
| 35 |
|
| 36 |
-Help section : The correct section of wspec/help.wrm, |
| 37 |
|
| 38 |
GraphType default as TEXT_FIT. x and y as 0, w h as .3 .5 |
| 39 |
|
| 40 |
The displays can be registered as the preferred display type of |
| 41 |
a class in the file wspec/options.wrm. In that case, you must |
| 42 |
provide a displayFunction and register it in wspec/quovadis.wrm. |
| 43 |
*/ |
| 44 |
|
| 45 |
|
| 46 |
_DDtMain -g TEXT_FIT -t "C. elegans " -w .44 -height .23 -help acedb |
| 47 |
|
| 48 |
_DDtChrono -g TEXT_SCROLL -t "Chrono" -x .0125 -y .25 -w 0.6 \ |
| 49 |
-height 0.74 -help Chronometer |
| 50 |
|
| 51 |
_DDtFile_Chooser -g TEXT_SCROLL -t "File chooser" -w 0.5 -height 0.7 \ |
| 52 |
-help File_Chooser |
| 53 |
|
| 54 |
_DDtHelp -g TEXT_SCROLL -t "Help" -x .5 -y .15 -w .9 -hei .8 -help Help |
| 55 |
|
| 56 |
_DDtAce_Parser -g TEXT_SCROLL -t ".ace file parser" -x 0.4 -w 0.5 \ |
| 57 |
-heig 0.3 -help Read_files |
| 58 |
|
| 59 |
_DDtDump -g TEXT_SCROLL -t Dump -x .65 -y .04 -w 0.6 -height 0.6 \ |
| 60 |
-help Dump |
| 61 |
|
| 62 |
_DDtKeySet -g TEXT_FIT -t KeySet -x .0001 -y 0.25 -w 0.44 -height 0.4 -help KeySet |
| 63 |
|
| 64 |
_DDtSession -g TEXT_FULL_SCROLL -t "Session Control" -x 0.41 -w 0.64 \ |
| 65 |
-height 0.64 -help "Session_control" |
| 66 |
|
| 67 |
_DDtStatus -g TEXT_SCROLL -t "Status" -x .25 -y .4 -w 0.8 -heig .7 \ |
| 68 |
-help Status |
| 69 |
|
| 70 |
_DDtUpdate -g TEXT_SCROLL -t "Update" -x .65 -y .04 -w 0.6 -hei 0.6 \ |
| 71 |
-help "Official_Update" |
| 72 |
|
| 73 |
_DDtLongText -g TEXT_SCROLL -t "Text" - y 0.3 -w 0.75 -height 0.68 \ |
| 74 |
-help "Long-Text" |
| 75 |
|
| 76 |
_DDtQuery -g TEXT_SCROLL -t "Query" -w .65 -height 0.35 -help Query |
| 77 |
|
| 78 |
_DDtQueryBuilder -g TEXT_SCROLL -t "Query, by Gary Aochi" -w .73 -height 0.35 -help GaryQuery |
| 79 |
|
| 80 |
_DDtQueryByExample -g TEXT_SCROLL -t "Query by Example" -w .55 -height 0.35 -help Query_By_Example |
| 81 |
|
| 82 |
_DDtSpreadSheet -g TEXT_FULL_SCROLL -t "Table_Maker" -w .60 -height 0.35 -help Table_Maker |
| 83 |
|
| 84 |
_DDtMULTIMAP -g TEXT_FIT -t "Multi-map" -w 1.15 -height 0.65 -help Multi_Map |
| 85 |
|
| 86 |
_DDtAction -g TEXT_FIT -t "Action" -w .45 -height 0.65 -help Action |
| 87 |
|
| 88 |
_DTREE -g TEXT_FULL_SCROLL -w 0.55 -height 0.35 -x .2 -y .3 -help Tree |
| 89 |
|
| 90 |
_DDtBiblio -g TEXT_SCROLL -t Biblio -x 0.72 -y 0.22 -w 0.7 -height 0.75 -help Bibliography |
| 91 |
|
| 92 |
_DCMAP -g TEXT_FIT -t Chromosome -y 0.3 -w 0.6 -height 0.75 -help Chromosome-map |
| 93 |
|
| 94 |
_DFMAP -g TEXT_FIT -t Features -y 0.3 -w 0.80 -height 0.93 \ |
| 95 |
-help Feature-map |
| 96 |
|
| 97 |
_DPEPMAP -g TEXT_FIT -t Protein -y 0.3 -w 0.80 -height 0.93 \ |
| 98 |
-help Protein-map |
| 99 |
|
| 100 |
_DDtColControl -g TEXT_FIT -t "Column Control" -w .75 -height .5 \ |
| 101 |
-help Column-control |
| 102 |
|
| 103 |
_DDtGel -g TEXT_FIT -t "Agarose Gel" -y 0.3 -w 0.35 -height 0.68 \ |
| 104 |
-help Agarose-Gels |
| 105 |
|
| 106 |
_DGMAP -g TEXT_FIT -y 0.3 -w 0.75 -height 0.68 -help Genetic-map -m Genetic-map |
| 107 |
|
| 108 |
_DVMAP -g TEXT_FIT -y 0.3 -w 0.75 -height 0.80 -help Vertical-map |
| 109 |
|
| 110 |
_DGRID -g TEXT_FULL_SCROLL -w 0.54 -height 0.78 -help Grid -m Grid |
| 111 |
|
| 112 |
_DPMAP -g TEXT_FIT -x 0.41 -w 0.88 -height 0.7 -help Physical-map |
| 113 |
|
| 114 |
_DDtPmapPadSheet -g TEXT_SCROLL -t "Autoposition Clones" -w 0.70 \ |
| 115 |
-height 0.30 -help Contig-editor |
| 116 |
|
| 117 |
_DDtPmapFingerprint -g TEXT_SCROLL -t "Fingerprint" -w 0.50 \ |
| 118 |
-height 0.93 -x .1 -y .03 -help Gel-Patterns |
| 119 |
|
| 120 |
_DDtAlign -g TEXT_SCROLL -t Align -y .64 -w 0.55 -height 0.40 \ |
| 121 |
-help Make_maps |
| 122 |
|
| 123 |
_DDtCodons -g TEXT_FIT -t "Codon Usage" -x .1 -y .5 -w .7 \ |
| 124 |
-height .85 -help Codon_usage |
| 125 |
|
| 126 |
_DDtDnaTool -g TEXT_SCROLL -t DNA_Analysis -y .61 -w 0.32 \ |
| 127 |
-height 0.68 -help DNA_analysis |
| 128 |
|
| 129 |
_DDtAlias -g TEXT_FIT -t "Add/Delete/Rename/Alias Objects" -w 0.5 \ |
| 130 |
-height 0.25 -help Add_New_Objects |
| 131 |
|
| 132 |
_DDtPlotPolygon -g TEXT_FIT -t "Curve Plot" -x .01 -y .6 -w .3 \ |
| 133 |
-height .3 -help Plot_Curve |
| 134 |
|
| 135 |
_DDtHistogram -g TEXT_FIT -t "Histogram" -x .01 -y .33 -w .5 \ |
| 136 |
-height .33 -help Histogram |
| 137 |
|
| 138 |
_DDtMultiTrace -g TEXT_FIT -t "Traces" -x .01 -y .03 -w .9 \ |
| 139 |
-height .93 -help Traces |
| 140 |
|
| 141 |
_DDtImage -g PIXEL_SCROLL -t "Image" -width .6 -height .4 -help Image |
| 142 |
|
| 143 |
_DMETAB -g TEXT_FULL_SCROLL -t "Pathways" -width .6 -height .4 \ |
| 144 |
-help Pathways |
| 145 |
|
| 146 |
_DDtAlignment -g TEXT_FULL_SCROLL -t "Alignment" -width .6 -height .4 \ |
| 147 |
-help Alignment |
| 148 |
|
| 149 |
_DDtForest -g TEXT_FIT -x 0.05 -y 0.05 -w 1.2 -height 0.92 -help forest |
| 150 |
|
| 151 |
/** next two are pseudo-displays: must declare but no graph needed **/ |
| 152 |
|
| 153 |
_DWWW |
| 154 |
|
| 155 |
_DDISPLAY_AS |
| 156 |
|
| 157 |
/*********** all below added by jld for comparative maps *********/ |
| 158 |
|
| 159 |
_DOXGRID -g TEXT_FULL_SCROLL -t "Oxford Grid" -w 0.9 -height 0.9 -help Comparative_Maps |
| 160 |
|
| 161 |
_DPAIRMAP -g TEXT_FULL_SCROLL -t "PairMap"-w 0.8 -height 0.9 -help Comparative_Maps |
| 162 |
|
| 163 |
_DO2MMAP -g TEXT_FULL_SCROLL -t "One-to-ManyMap" -w 1.10 -height 1.0 -help Comparative_Maps |
| 164 |
|
| 165 |
_DOxgridChoose -g TEXT_FIT -t "Comparative Map Chooser" -w 0.5 -height 0.35 -help Comparative_Maps |
| 166 |
|
| 167 |
_DSPECGRID -g TEXT_FULL_SCROLL -t "Species Grid" -w 1.0 -height 0.95 -help Comparative_Maps |
| 168 |
|
| 169 |
_DSCRIPT |
| 170 |
|
| 171 |
_DDtDendrogram -g TEXT_FULL_SCROLL -x 0.1 -y 0.01 -w 0.8 -height 0.5 -help dendrogram |
| 172 |
|
| 173 |
_DDtHorizontalSeqDisplay -g TEXT_FIT -x 0.05 -y 0.05 -w 1.2 -height 0.92 -help HorizontalSeqDisplay |
| 174 |
|
| 175 |
_DDtBundle -g TEXT_SCROLL -t DNA_bundle -y .7 -w 0.75 -height 0.68 -help DNA_bundle |
| 176 |
|
| 177 |
|
| 178 |
|