OpenMS
|
all tabs need to implement this interface More...
#include <OpenMS/VISUAL/DataSelectionTabs.h>
Public Member Functions | |
virtual bool | hasData (const LayerDataBase *layer)=0 |
virtual void | updateEntries (LayerDataBase *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.