OpenMS
2.7.0
|
all tabs need to implement this interface More...
#include <OpenMS/VISUAL/DataSelectionTabs.h>
Public Member Functions | |
virtual bool | hasData (const LayerData *layer)=0 |
virtual void | updateEntries (LayerData *layer)=0 |
virtual void | clear ()=0 |
explicitly show no data at all More... | |
all tabs need to implement this interface
|
pure virtual |
explicitly show no data at all
Implemented in SpectraTreeTab, SpectraIDViewTab, and DIATreeTab.
|
pure virtual |
given a layer, determine if the tab could use it to show data (useful to decide if the tab should be enabled/disabled) If a nullptr is given, it HAS to return false!
Implemented in SpectraTreeTab, SpectraIDViewTab, and DIATreeTab.
|
pure virtual |
populate the tab using date from layer
Should handle nullptr well (by calling clear())
Implemented in SpectraIDViewTab, SpectraTreeTab, and DIATreeTab.