Beispiel #1
0
    def _get_current_input_data_context(self):
        context = self.input_data_context
        for name in parse_name(self.current_name)[:-1]:
            if name not in context.data_contexts:
                return None

            context = context.get_data_context(name)

        return context
    def _get_current_input_data_context(self):
        context = self.input_data_context
        for name in parse_name(self.current_name)[:-1]:
            if name not in context.data_contexts:
                return None

            context = context.get_data_context(name)

        return context
Beispiel #3
0
 def _current_name_changed(self, name):
     self.current_name_last = parse_name(name)[-1]
     self.inputs_changed()
 def _name_changed(self, name):
     """ Handles the 'name' trait being changed.
     """
     self.name_last = parse_name(name)[-1]
     self.inputs_changed()
 def _current_name_changed(self, name):
     self.current_name_last = parse_name(name)[-1]
     self.inputs_changed()
 def _name_changed ( self, name ):
     """ Handles the 'name' trait being changed.
     """
     self.name_last = parse_name( name )[-1]
     self.inputs_changed()