Bases: openalea.grapheditor.observer.Observed
Attach meta data of a graphical representation
of a graph component. This metadata can be
used to customize the appearance of the node.
-
add_metadata(key, valType, notify=True)[source]
Creates a new entry in the meta data registry.
The data to set will be of the given 'valType' type.
-
do_type_checking(val)[source]
-
get_metadata(key)[source]
Gets the value of a meta data.
-
get_metadata_type(key)[source]
Gets the value of a meta data.
-
keys()[source]
-
remove_metadata(key, valType=None, notify=True)[source]
Removes an entry in the meta data registry.
-
set_metadata(key, value, notify=True)[source]
Sets the value of a meta data.
-
set_slots(slots, useSlotDefaults=True)[source]
-
simulate_full_data_change(observer=None, source=None)[source]
-
update(other)[source]