BaseDataComboHelper#

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

Bases: 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(combo)

refresh(*args)

refresh_component_ids(*args)

register_to_hub(hub)

Attributes Documentation

hub[source]#

Methods Documentation

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