#include <TVectorEditor.h>
Public Member Functions | |
| TVectorEditor (wxWindow *parent, const wxString &title, TVector *_v) | |
| Constructor. | |
| ~TVectorEditor () | |
| Destructor. | |
| virtual void | initialViewItem (int num) |
| Initially, view item #num. | |
| virtual void | initialViewEnzyme (wxString e) |
| Initially, view enzyme e. | |
| virtual void | GetMyClientSize (int *w, int *h, wxPanel *pan) |
| Client size of the panel/tab. | |
| virtual void | OnOK (wxCommandEvent &WXUNUSED(event)) |
| OK button event handler. | |
| virtual void | OnCancel (wxCommandEvent &WXUNUSED(event)) |
| Cancel button event handler. | |
| virtual void | SelChangeItems (wxListEvent &ev) |
| "Item selected" event handler | |
| virtual void | DeselItems (wxListEvent &ev) |
| "Item unselected" event handler | |
| virtual void | OnCharHook (wxKeyEvent &event) |
| Key event handler. | |
| virtual void | addItem2list (TVectorItem &i, int a) |
| Adds an item at position a to the item list. | |
| virtual void | cleanup () |
| Clean up the dialog. | |
| virtual void | initPanProp () |
| Initialize properties tab. | |
| virtual void | initPanItem () |
| Initialize items tab. | |
| virtual void | initPanEnzym () |
| Initialize enzymes tab. | |
| virtual void | initPanEnzym2 () |
| Initialize enzymes(2) tab. | |
| virtual void | initPanProt () |
| Initialize proteases tab. | |
| virtual void | addOkCancel (wxWindow *p) |
| Add OK/Cancel buttons to a tab. | |
| virtual void | makeItemsList () |
| Generates the list of items. | |
| virtual void | storeItemData (int i=-1) |
| Stores data with an item. | |
| virtual void | hideEm () |
| virtual void | commitVector () |
| Do changes to the original vector. | |
| virtual void | commitItems () |
| Do changes to the original items list. | |
| virtual void | commitEnzymes () |
| Do changes to the original enzyme settings. | |
| virtual void | commitProteases () |
| Do changes to the original proteases list. | |
| virtual void | showGroupEnzymes (wxString gr) |
| Slow list of enzymes in group gr. | |
| virtual void | showEnzymeGroups () |
| Show list of available enzyme groups. | |
| void | showProteases () |
| Lists the proteases. | |
| virtual void | enzymeSelChange (wxCommandEvent &WXUNUSED(event)) |
| "A different enzyme was selected" event handler | |
| virtual void | enzymeListDlbClick (wxCommandEvent &WXUNUSED(event)) |
| "Double-click on enzyme" event handler | |
| virtual void | enzymeAddEn (wxCommandEvent &WXUNUSED(event)) |
| "Add enzyme" event handler | |
| virtual void | enzymeAddGr (wxCommandEvent &WXUNUSED(event)) |
| "Add enzyme group" event handler | |
| virtual void | enzymeAddToGr (wxCommandEvent &WXUNUSED(event)) |
| "Add enzyme(s) to group" event handler | |
| virtual void | enzymeAddToNewGr (wxCommandEvent &WXUNUSED(event)) |
| "Add enzyme(s) to new group" event handler | |
| virtual void | enzymeDelGr (wxCommandEvent &WXUNUSED(event)) |
| "Delete enzyme group" event handler | |
| virtual void | enzymeImportRebase (wxCommandEvent &WXUNUSED(event)) |
| "Import ReBase" event handler | |
| virtual void | enzymeDelFromGr (wxCommandEvent &WXUNUSED(event)) |
| "Delete enzyme from group" event handler | |
| virtual void | enzymeDelEn (wxCommandEvent &WXUNUSED(event)) |
| "Delete enzyme" event handler | |
| virtual void | enzymeReallyDeleteEnzyme (wxCommandEvent &WXUNUSED(event)) |
| "Delete enzyme" event handler | |
| virtual void | newEnzyme (wxCommandEvent &WXUNUSED(event)) |
| "New enzyme" event handler | |
| virtual void | importCloneEnzymes (wxCommandEvent &WXUNUSED(event)) |
| "Import CLONE-format enzyme list" event handler (not used anymore) | |
| virtual void | proteaseSelChange (wxCommandEvent &WXUNUSED(event)) |
| "Protease selection change" event handler | |
| void | newProtease (wxCommandEvent &WXUNUSED(event)) |
| "New protease" event handler | |
| void | editProtease (wxCommandEvent &WXUNUSED(event)) |
| "Edit protease" event handler | |
| void | itemAdd (wxCommandEvent &WXUNUSED(event)) |
| "Add item" event handler | |
| void | itemDel (wxCommandEvent &WXUNUSED(event)) |
| "Delete item" event handler | |
| void | itemClr () |
| Clears the item list (I think...). | |
| void | itemCol (wxListEvent &ev) |
| void | itemCol2 (wxCommandEvent &WXUNUSED(event)) |
| void | itemChoice (wxCommandEvent &WXUNUSED(event)) |
Public Attributes | |
| bool | hideProp |
| bool | hideItem |
| bool | hideEnzym |
Private Member Functions | |
| virtual int | getCurrentItem () |
| Returns the ID of the currently selected item. | |
| virtual void | clearItemSelection () |
| Clears the current item selection. | |
| virtual void | itemColInternal () |
| virtual void | loadItemData (int i) |
| virtual void | updateItem (TVectorItem &i) |
Private Attributes | |
| wxListBox * | listCE |
| wxListBox * | listGroups |
| wxListBox * | listGE |
| wxArrayString | eig |
| wxArrayString | ce |
| TVector * | v |
| int | bo |
| int | th |
| wxNotebook * | nb |
| wxPanel * | panProp |
| wxPanel * | panItem |
| wxPanel * | panEnzym |
| wxPanel * | panProt |
| TEnzymeSettingsTab * | panEnzyme2 |
| wxButton * | bAdd |
| wxButton * | bDel |
| wxButton * | bCol |
| wxButton * | b_atg |
| wxButton * | b_dfg |
| wxButton * | b_dg |
| wxTextCtrl * | name |
| wxTextCtrl * | lu |
| wxTextCtrl * | ll |
| wxTextCtrl * | ru |
| wxTextCtrl * | rl |
| TURLtext * | desc |
| TURLtext * | idesc |
| TURLtext * | pro_txt |
| wxTextCtrl * | iname |
| wxTextCtrl * | ifrom |
| wxTextCtrl * | ito |
| wxListCtrl * | items |
| wxRadioBox * | irb |
| wxChoice * | ichoice |
| wxCheckBox * | icb |
| wxCheckBox * | icv |
| wxCheckListBox * | prots |
| TEnzymeRules * | oldEnzymeRules |
| wxButton * | delete_enzyme_button |
| wxArrayTVectorItem | newitems |
| int | lastSelection |
| bool | e_diduseit |
|
||||||||||||||||
|
Constructor.
|
|
|
Destructor.
|
|
||||||||||||
|
Adds an item at position a to the item list.
|
|
|
Add OK/Cancel buttons to a tab.
|
|
|
Clean up the dialog.
|
|
|
Clears the current item selection.
|
|
|
Do changes to the original enzyme settings.
|
|
|
Do changes to the original items list.
|
|
|
Do changes to the original proteases list.
|
|
|
Do changes to the original vector.
|
|
|
"Item unselected" event handler
|
|
|
"Edit protease" event handler
|
|
|
"Add enzyme" event handler
|
|
|
"Add enzyme group" event handler
|
|
|
"Add enzyme(s) to group" event handler
|
|
|
"Add enzyme(s) to new group" event handler
|
|
|
"Delete enzyme" event handler
|
|
|
"Delete enzyme from group" event handler
|
|
|
"Delete enzyme group" event handler
|
|
|
"Import ReBase" event handler
|
|
|
"Double-click on enzyme" event handler
|
|
|
"Delete enzyme" event handler
|
|
|
"A different enzyme was selected" event handler
|
|
|
Returns the ID of the currently selected item.
|
|
||||||||||||||||
|
Client size of the panel/tab.
|
|
|
|
|
|
"Import CLONE-format enzyme list" event handler (not used anymore)
|
|
|
Initially, view enzyme e.
|
|
|
Initially, view item #num.
|
|
|
Initialize enzymes tab.
|
|
|
Initialize enzymes(2) tab.
|
|
|
Initialize items tab.
|
|
|
Initialize properties tab.
|
|
|
Initialize proteases tab.
|
|
|
"Add item" event handler
|
|
|
|
|
|
Clears the item list (I think...).
|
|
|
|
|
|
|
|
|
|
|
|
"Delete item" event handler
|
|
|
|
|
|
Generates the list of items.
|
|
|
"New enzyme" event handler
|
|
|
"New protease" event handler
|
|
|
Cancel button event handler.
|
|
|
Key event handler.
|
|
|
OK button event handler.
|
|
|
"Protease selection change" event handler
|
|
|
"Item selected" event handler
|
|
|
Show list of available enzyme groups.
|
|
|
Slow list of enzymes in group gr.
|
|
|
Lists the proteases.
|
|
|
Stores data with an item.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.1