| The indentation level for this keyword must be
0. You can use 'after' and 'before' to specify the location of the new option. Underscores surround underlined characters.
Examples:
MainMenu: File
MainMenu after Effects: A_n_imations
MainMenu before Analyze: _T_ools
The atom context menu appears when you click on a marked atom with the right mouse button,
the indentation level for this keyword must be 0. You can use 'after' and 'before' as known from
MainMenu. Example:
AtomContextMenu: _Q_uery mutation effects
The residue context menu appears when you click on a residue in the sequence selector with the right mouse button,
the indentation level for this keyword must be 0. You can use 'after' and 'before' as known from
MainMenu. Example:
ResidueContextMenu before Label: _Q_uery mutation effects
This keyword must only be used after MainMenu
with an indentation level of 1. Example:
MainMenu: File
PullDownMenu after Load: _G_et by FTP
Pop-up menus are little windows popping up on the side of pull-down menus or context menus. This keyword must therefore only be used after
PullDownMenu, AtomContextMenu
or ResidueContextMenu, with an indentation level of
1 or 2. Example:
MainMenu: View
PullDownMenu: Color
PopUpMenu: by properties
This keyword adds a standard object selection menu, the selections are passed to the Python plugin via
object descriptors. The specified text appears as the window header. Yanaconda plugins can currently not access these selections.
The jth object descriptor in the ith selection window can be accessed as yasara.selection[i].object[j]
( see below). Example:
MainMenu: Analyze
PullDownMenu: _M_CSIS mutations
ObjectSelectionMenu: Select objects to map mutations stored in the MCSIS
Request: MapMutations
The jth molecule descriptor in the ith selection window can be accessed as yasara.selection[i].molecule[j]
( see below). Example:
MainMenu: Analyze
PullDownMenu: _C_ompare amino acid sequence of two molecules
MoleculeSelectionMenu: Select first molecule to compare sequence
MoleculeSelectionMenu: Select second molecule to compare sequence
Request: CompareSequence
The jth residue descriptor in the ith selection window can be accessed as yasara.selection[i].residue[j]
( see below). Example:
MainMenu: Analyze
PullDownMenu: _P_roscan
ResidueSelectionMenu: Select residues for ProScan
Request: Proscan
The jth atom descriptor in the ith selection window can be accessed as yasara.selection[i].atom[j]
( see below). Example:
MainMenu: View
PullDownMenu: Color
PopUpMenu: by force
AtomSelectionMenu: Select atoms to color by force
Request: ColorByForce
This keyword adds a window with one to four text input boxes. In addition to the window header,
you must specify a general explanation for the user and then one header for each text input box.
The content of the jth text input box in the ith selection window can be accessed by the Python plugin as yasara.selection[i].text[j]
( see below). Example for a window with two text input boxes:
MainMenu: Options
PullDownMenu: _R_eport error
TextInputMenu2: Send an error report by e-mail
Text: Please give a brief description of the problem:
Text: _D_escription part 1 (header for the first input box)
Text: _D_escription part 2 (header for the second input box)
This keyword adds a window with one to six number input boxes. In addition to the window header,
you must specify a general explanation text and then one descriptor for each number input box. A number descriptor contains four elements,
separated by commas: the title of the number box, the default value, the minimum allowed value and the maximum allowed value.
The content of the jth number input box in the ith selection window can be accessed by the Python plugin as yasara.selection[i].number[j]
( see below). Example for a window with one number input box:
MainMenu: Edit
PullDownMenu after Build: Sample
PopUpMenu: _O_bject
ObjectSelectionMenu: Select protein to sample conformational space with CONCOORD
NumberInputMenu1: Select ensemble size
Text: Number of structures in the CONCOORD ensemble:
Number: _S_tructures,10,1,98
Request: SampleObj
This keyword adds a window with one to five switch boxes,
where exactly one box can be selected. This allows to choose between up to five exclusive options,
you must specify a general explanation for the user and then one additional text for every switch box.
The number of the hooked box in the ith selection menu can be accessed by the Python plugin as yasara.selection[i].switchbox
( see below). Example for a menu with two switch boxes:
MainMenu: Options
PullDownMenu: _R_eport error
SwitchBoxMenu2: Concretize the error
Text: Did the problem occur right now?
Text: _Y_es, I did not exit YASARA since then.
Text: _N_o, just before, I had to restart YASARA to get here.
This keyword adds a window with one to five check boxes,
that can be activated individually. This allows to toggle up to five independent options,
you must specify a general explanation for the user and then one additional text for every check box.
The state of the jth check box in the ith selection menu can be accessed by the Python plugin as yasara.selection[i].checkbox[j]
( see below). Example for a menu with two check boxes:
MainMenu: NMR
PullDownMenu: _L_ist restraints
CheckBoxMenu2: List distance and dihedral angle restraints
Text: Select the type of restraints to list
Text: Distance restraints
Text: Dihedral restraints (Checked)
By default, all boxes are unchecked. To check a box, add the text
'(Checked)' at the end as in the example above. This keyword adds a window with a list of options. Set the
'MultipleSelections' flag to 'Yes' if the user is allowed to select more than one list entry and to
'No' otherwise. The first text is displayed above the list, the other texts are the actual list entries.
The jth selected list entry in the ith selection menu can be accessed by the Python plugin as yasara.selection[i].listentry[j]
( see below). Example:
MainMenu: Analyze
PullDownMenu: _P_DBFinder2 properties
ResidueSelectionMenu: Select residues to color by PDBFinder2 properties
ListMenu: Select PDBFinder2 properties
MultipleSelections: Yes
Text: Select more than one list entry to color by the average value
Text: Nalign - Number of HSSP alignments
Text: Nindel - Number of insertions and deletions
Text: Entropy - HSSP sequence entropy
Request: ColorResidues
This keyword adds a window with a file browser. Set the 'MultipleSelections' flag to
'Yes' if the user is allowed to select more than one list entry and to 'No' otherwise. The Filename keyword specifies a wildcard with the initial path. Use forward slashes also under Windows.
The jth selected filename in the ith selection menu can be accessed by the Python plugin as yasara.selection[i].filename[j]
( see below). Example:
MainMenu: File
PullDownMenu: Load
PopUpMenu after PDB file: _N_MR ensemble
FileSelectionMenu: Select a PDB file containing an NMR ensemble
MultipleSelections: No
Filename: pdb/*.pdb
Request: LoadEnsemble
|