My favorites | Sign in
Project Logo
                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<menuset name="PhyloWidget Menus">
<menu type="Toolbar" x="2" y="2">
<item name="File" description="">
<item name="New Tree" action="treeNew" shortcut="control-n"/>
<item name="Load Tree">
<item name="From File..." action="treeLoad" condition="canReadFiles"/>
<item name="Manual Input..." action="treeInput"/>
</item>
<item name="Save Tree..." action="treeSave" condition="canWriteFiles"/>
<item name="Export Image..." action="fileOutput" condition="canWriteFiles"/>
</item>
<item name="View">
<item name="Zoom to Full" action="zoomToFull" shortcut="control-F"/>
<item name="Layout">
<item name="Rectangular" action="viewRectangular" shortcut="control-1"/>
<item name="Diagonal" action="viewDiagonal" shortcut="control-2"/>
<item name="Circular" action="viewCircular" shortcut="control-3"/>
<item name="Unrooted" action="viewUnrooted" shortcut="control-4"/>
<item name="Options">
<item name="Branch Scaling" type="NumberScroller" property="branchScaling" increment="0.05" min="0.01" max="30" format="0.00"/>
<item name="Layout Angle" type="NumberScroller" property="layoutAngle" increment="1" min="-360" max="360" format="0.0"/>
</item>
</item>
<item name="Rendering">
<!-- DEPRECATED:
<item name="Render Threshold" type="NumberScroller" property="renderThreshold" increment="5" min="5" max="2000"/>
<item name="Branch Length Scaling" type="NumberScroller" property="branchLengthScaling" increment="0.05" min="0" max="10" />
<item name="Stretch to Fit" type="CheckBox" methodCall="setStretchToFit" />
-->
<item name="Minimum Text Size" type="NumberScroller" property="minTextSize" increment =".1" min="0" max="72" format="0.0"/>
<item name="Show Clade Labels" type="CheckBox" property="showCladeLabels" />
<item name="Antialias" type="CheckBox" property="antialias" />
</item>
<item name="Style">
<item name="Text Size" type="NumberScroller" property="textScaling" increment=".025" min="0" max="10" format="0.00"/>
<item name="Node Size" type="NumberScroller" property="nodeSize" increment ="0.05" min="0" max="50" format="0.00"/>
<item name="Line Size" type="NumberScroller" property="lineWidth" increment ="0.05" min="0" max="50" format="0.00"/>
<item name="Text Angle" type="NumberScroller" property="textRotation" increment=".2" min="-60" max="60" format="0.0"/>
</item>
<item name="Show all" type="CheckBox" methodCall="setShowAllLabels"/>
<item name="Branch Lengths" type="CheckBox" methodCall="setUseBranchLengths" value = "false" shortcut="ctrl-b" />
</item>
<item name="Tree">
<item name="Mutator">
<item name="Mutate Once" action="treeMutateOnce" shortcut="control-M"/>
<item name="Mutate Slow" action="treeMutateSlow"/>
<item name="Mutate Fast" action="treeMutateFast"/>
<item name="Stop Mutating" action="treeStopMutating" shortcut="control-shift-m"/>
</item>
<item name="Structure">
<item name="Align all Leaves" action="treeAlignLeaves" shortcut="control-shift-A"/>
<item name="Flip Tree" action="treeFlip" shortcut="control-R"/>
<item name="Auto-sort Tree" action="treeAutoSort" shortcut="control-L"/>
<item name="Remove Elbow Nodes" action="treeRemoveElbows" shortcut="control-E"/>
</item>
<item name="Annotation">
<item name="Enforce Unique Labels" type="CheckBox" methodCall="setEnforceUniqueLabels"/>
<item name="Ignore Annotations" type="CheckBox" property="ignoreAnnotations"/>
<item name="Load Google Images" action="treeLoadImages" condition="canAccessInternet"/>
</item>
</item>
<item type="Spacer" spaceWidth="5" />
<item type="org.phylowidget.ui.SearchBox" name="Search:" width="130" />
</menu>

<!-- If you want the user to be able to interact with the tree AT ALL (including through the context menu),
then you must have a ToolDock with the associated tools. You can set the "hidden" attribute of the
ToolDock element to "True" if you want to have the tools but keep the dock hidden. -->
<menu name="dock" type="ToolDock" width="30" rotation="left" hidden="true">
<!-- the "rotation" parameter can have the values: left, right, top, bottom -->
<item name="Arrow" tool="Arrow" shortcut="a" icon="dock/arrow.png"/>
<item name="Scroll" tool="Scroll" shortcut="s" icon="dock/grab.png"/>
<item name="Zoom" tool="Zoom" shortcut="z" icon="dock/zoom.png"/>

<!-- Look at this nifty methodcall tag! Not worth the effort, you say? I probably agree. -->
<methodcall method="selectTool" param="Arrow"/>
</menu>

<menu name="context" type="org.phylowidget.ui.PhyloContextMenu">
<item name="Tree Edit" hint="t">
<item name="Add" hint="a">
<item name="Child" action="nodeAddChild" hint="c"/>
<item name="Sister" action="nodeAddSister" hint="s"/>
</item>
<item name="Delete" hint="d">
<item name="This node" action="nodeDelete" hint="t"/>
<item name="Subtree" action="nodeDeleteSubtree" hint="s"/>
</item>
</item>
<item name="Layout" hint="a">
<item name="Reroot" action="nodeReroot" hint="r"/>
<item name="Flip subtree" action="nodeFlipSubtree" hint="f"/>
<item name="Switch children" action="nodeSwitchChildren" hint="s"/>
</item>
<item name="Clipboard" hint="c">
<item name="Cut" action="nodeCut" hint="x"/>
<item name="Copy" action="nodeCopy" hint="c"/>
<item name="Paste" action="nodePaste" hint="v"/>
<item name="Swap" action="nodeSwap" hint="s"/>
<item name="Clear" action="nodeClearClipboard" hint="r"/>
</item>
<item name="Node Edit" hint="e">
<item name="Name" action="nodeEditName" hint="n"/>
<item name="Branch length" action="nodeEditBranchLength" hint="b"/>
</item>
</menu>
</menuset>
Show details Hide details

Change log

r145 by gjuggler on Aug 01, 2008   Diff
Menus updated to reflect code changes.
Go to: 
Project members, sign in to write a code review

Older revisions

r129 by gjuggler on Mar 22, 2008   Diff
[No log message]
r105 by gjuggler on Mar 14, 2008   Diff
[No log message]
All revisions of this file

File info

Size: 5769 bytes, 107 lines

File properties

svn:mime-type
text/plain
Hosted by Google Code