BaseDataComboHelper

class glue.core.data_combo_helper.BaseDataComboHelper(state, selection_property, data_collection=None)[source]

Bases: glue.core.data_combo_helper.ComboHelper

This is a base class for helpers for combo boxes that need to show a list of data objects.

Parameters
stateState

The state to which the selection property belongs

selection_propertySelectionCallbackProperty

The selection property representing the combo.

data_collectionDataCollection

The data collection to which the datasets belong - this is needed because if a dataset is removed from the data collection, we want to remove it here.

Attributes Summary

hub

Methods Summary

add_component_id_combo(self, combo)

refresh(self, \*args)

refresh_component_ids(self, \*args)

register_to_hub(self, hub)

Attributes Documentation

hub

Methods Documentation

add_component_id_combo(self, combo)[source]
refresh(self, *args)[source]
refresh_component_ids(self, *args)[source]
register_to_hub(self, hub)[source]