MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / update_

Method update_

src/openms_gui/source/VISUAL/VISUALIZER/ModificationVisualizer.cpp:41–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 }
40
41 void ModificationVisualizer::update_()
42 {
43 if (!isEditable())
44 {
45 fillComboBox_(modificationspecificity_, &temp_.NamesOfSpecificityType[temp_.getSpecificityType()], 1);
46 }
47 else
48 {
49 fillComboBox_(modificationspecificity_, temp_.NamesOfSpecificityType, Modification::SIZE_OF_SPECIFICITYTYPE);
50 modificationspecificity_->setCurrentIndex(temp_.getSpecificityType());
51 }
52 treatmenttype_->setText(temp_.getType().c_str());
53 treatmenttype_->setReadOnly(true);
54 treatmentcomment_->setText(temp_.getComment().c_str());
55 modificationname_->setText(temp_.getReagentName().c_str());
56 modificationmass_->setText(String(temp_.getMass()).c_str());
57 modificationAA_->setText(temp_.getAffectedAminoAcids().c_str());
58 }
59
60 void ModificationVisualizer::store()
61 {

Callers

nothing calls this directly

Calls 6

setCurrentIndexMethod · 0.80
setTextMethod · 0.80
getCommentMethod · 0.80
StringClass · 0.50
getTypeMethod · 0.45
getMassMethod · 0.45

Tested by

no test coverage detected