//TIZEN_ONLY(20181024): Fix parent-children incosistencies in atspi tree
Eo *it;
EINA_LIST_FOREACH(ret, ret2, it)
- efl_access_object_access_parent_set(it, obj);
+ {
+ if (efl_isa(it, EFL_ACCESS_OBJECT_MIXIN))
+ efl_access_object_access_parent_set(it, obj);
+ }
//
ret2 = efl_access_object_access_children_get(efl_super(obj, EFL_UI_LIST_VIEW_CLASS));
sd->subobjs = eina_list_append(sd->subobjs, sobj);
evas_object_data_set(sobj, "elm-parent", obj);
//TIZEN_ONLY(20181024): Fix parent-children incosistencies in atspi tree
- efl_access_object_access_parent_set(sobj, obj);
+ if (efl_isa(sobj, EFL_ACCESS_OBJECT_MIXIN))
+ efl_access_object_access_parent_set(sobj, obj);
//
_callbacks_add(sobj, obj);
sobj_parent = evas_object_data_del(sobj, "elm-parent");
//TIZEN_ONLY(20181024): Fix parent-children incosistencies in atspi tree
- efl_access_object_access_parent_set(sobj, NULL);
+ if (efl_isa(sobj, EFL_ACCESS_OBJECT_MIXIN))
+ efl_access_object_access_parent_set(sobj, NULL);
//
if (sobj_parent && sobj_parent != obj)
{
//TIZEN_ONLY(20181024): Fix parent-children incosistencies in atspi tree
Eo *it;
EINA_LIST_FOREACH(pd->items, ret, it)
- efl_access_object_access_parent_set(it, obj);
+ {
+ if (efl_isa(it, EFL_ACCESS_OBJECT_MIXIN))
+ efl_access_object_access_parent_set(it, obj);
+ }
//
ret = efl_access_object_access_children_get(efl_super(obj, ELM_HOVERSEL_CLASS));
//TIZEN_ONLY(20181024): Fix parent-children incosistencies in atspi tree
Eo *it;
EINA_LIST_FOREACH(sd->items, ret, it)
- efl_access_object_access_parent_set(it, obj);
+ {
+ if (efl_isa(it, EFL_ACCESS_OBJECT_MIXIN))
+ efl_access_object_access_parent_set(it, obj);
+ }
//
//TIZEN_ONLY(20160527) : Improve MBE atspi support
if (sd->label && sd->label_packed)
{
- ret = eina_list_append(ret, sd->label_access);
- efl_access_object_access_parent_set(sd->label_access, obj);
+ ret = eina_list_append(ret, sd->label_access);
+ if (efl_isa(sd->label_access, EFL_ACCESS_OBJECT_MIXIN))
+ efl_access_object_access_parent_set(sd->label_access, obj);
}
ret = eina_list_merge(ret, eina_list_clone(sd->items));
if (sd->editable && (sd->view_state != MULTIBUTTONENTRY_VIEW_SHRINK))
{
- ret = eina_list_append(ret, sd->box);
- efl_access_object_access_parent_set(sd->box, obj);
+ ret = eina_list_append(ret, sd->box);
+ if (efl_isa(sd->box, EFL_ACCESS_OBJECT_MIXIN))
+ efl_access_object_access_parent_set(sd->box, obj);
}
//
return ret;
Eina_List *ret = NULL;
//TIZEN_ONLY(20181024): Fix parent-children incosistencies in atspi tree
- efl_access_object_access_parent_set(VIEW(nit), eo_item);
+ if (efl_isa(VIEW(nit), EFL_ACCESS_OBJECT_MIXIN))
+ efl_access_object_access_parent_set(VIEW(nit), eo_item);
//
ret = eina_list_append(ret, VIEW(nit));
{
if (_pd->proxy)
{
- //TIZEN_ONLY(20181024): Fix parent-children incosistencies in atspi tree
- efl_access_object_access_parent_set(_pd->proxy, obj);
- //
- return eina_list_append(NULL, _pd->proxy);
+ //TIZEN_ONLY(20181024): Fix parent-children incosistencies in atspi tree
+ if (efl_isa(_pd->proxy, EFL_ACCESS_OBJECT_MIXIN))
+ efl_access_object_access_parent_set(_pd->proxy, obj);
+ //
+ return eina_list_append(NULL, _pd->proxy);
}
return NULL;
}
//TIZEN_ONLY(20181024): Fix parent-children incosistencies in atspi tree
Eo *it;
EINA_LIST_FOREACH(sd->items, ret, it)
- efl_access_object_access_parent_set(it, obj);
+ {
+ if (efl_isa(it, EFL_ACCESS_OBJECT_MIXIN))
+ efl_access_object_access_parent_set(it, obj);
+ }
//
ret = efl_access_object_access_children_get(efl_super(obj, ELM_COLORSELECTOR_CLASS));
EINA_LIST_FOREACH(sd->anchor_atspi_rects, l, rect)
{
//TIZEN_ONLY(20181024): Fix parent-children incosistencies in atspi tree
- Eo *rect_eo = elm_access_object_get(rect);
- ret = eina_list_append(ret, rect_eo);
- efl_access_object_access_parent_set(rect_eo, obj);
+ if (efl_isa(rect, EFL_ACCESS_OBJECT_MIXIN))
+ {
+ Eo *rect_eo = elm_access_object_get(rect);
+ ret = eina_list_append(ret, rect_eo);
+ efl_access_object_access_parent_set(rect_eo, obj);
+ }
//
}
}
edje_object_signal_emit(target, buf, "elm");
goto out;
}
- efl_access_object_access_parent_set(content, EO_OBJ(it));
+ if (efl_isa(content, EFL_ACCESS_OBJECT_MIXIN))
+ efl_access_object_access_parent_set(content, EO_OBJ(it));
}
eina_hash_add(sd->content_item_map, &content, it->base->eo_obj);
*contents = eina_list_append(*contents, content);
//TIZEN_ONLY(20181024): Fix parent-children incosistencies in atspi tree
Eo *it;
EINA_LIST_FOREACH(data->items, ret, it)
- efl_access_object_access_parent_set(it, obj);
+ {
+ if (efl_isa(it, EFL_ACCESS_OBJECT_MIXIN))
+ efl_access_object_access_parent_set(it, obj);
+ }
//
ret = efl_access_object_access_children_get(efl_super(obj, ELM_INDEX_CLASS));
sd->items = eina_list_remove_list(sd->items, item->node);
//TIZEN_ONLY(20181024): Fix parent-children incosistencies in atspi tree
evas_object_data_del(item->node, "elm-parent");
- efl_access_object_access_parent_set(item->node, NULL);
+ if (efl_isa(item->node, EFL_ACCESS_OBJECT_MIXIN))
+ efl_access_object_access_parent_set(item->node, NULL);
//
item->node = NULL;
}
sd->items = eina_list_append(sd->items, EO_OBJ(it));
//TIZEN_ONLY(20181024): Fix parent-children incosistencies in atspi tree
evas_object_data_set(EO_OBJ(it), "elm-parent", obj);
- efl_access_object_access_parent_set(EO_OBJ(it), obj);
+ if (efl_isa(EO_OBJ(it), EFL_ACCESS_OBJECT_MIXIN))
+ efl_access_object_access_parent_set(EO_OBJ(it), obj);
//
it->node = eina_list_last(sd->items);
elm_box_pack_end(sd->box, VIEW(it));
sd->items = eina_list_prepend(sd->items, EO_OBJ(it));
//TIZEN_ONLY(20181024): Fix parent-children incosistencies in atspi tree
evas_object_data_set(EO_OBJ(it), "elm-parent", obj);
- efl_access_object_access_parent_set(EO_OBJ(it), obj);
+ if (efl_isa(EO_OBJ(it), EFL_ACCESS_OBJECT_MIXIN))
+ efl_access_object_access_parent_set(EO_OBJ(it), obj);
//
it->node = sd->items;
elm_box_pack_start(sd->box, VIEW(it));
sd->items = eina_list_prepend_relative_list(sd->items, EO_OBJ(it), before_it->node);
//TIZEN_ONLY(20181024): Fix parent-children incosistencies in atspi tree
evas_object_data_set(EO_OBJ(it), "elm-parent", obj);
- efl_access_object_access_parent_set(EO_OBJ(it), obj);
+ if (efl_isa(EO_OBJ(it), EFL_ACCESS_OBJECT_MIXIN))
+ efl_access_object_access_parent_set(EO_OBJ(it), obj);
//
it->node = before_it->node->prev;
elm_box_pack_before(sd->box, VIEW(it), VIEW(before_it));
sd->items = eina_list_append_relative_list(sd->items, EO_OBJ(it), after_it->node);
//TIZEN_ONLY(20181024): Fix parent-children incosistencies in atspi tree
evas_object_data_set(EO_OBJ(it), "elm-parent", obj);
- efl_access_object_access_parent_set(EO_OBJ(it), obj);
+ if (efl_isa(EO_OBJ(it), EFL_ACCESS_OBJECT_MIXIN))
+ efl_access_object_access_parent_set(EO_OBJ(it), obj);
//
it->node = after_it->node->next;
elm_box_pack_after(sd->box, VIEW(it), VIEW(after_it));
sd->items = eina_list_sorted_insert(sd->items, cmp_func, EO_OBJ(it));
//TIZEN_ONLY(20181024): Fix parent-children incosistencies in atspi tree
evas_object_data_set(EO_OBJ(it), "elm-parent", obj);
- efl_access_object_access_parent_set(EO_OBJ(it), obj);
+ if (efl_isa(EO_OBJ(it), EFL_ACCESS_OBJECT_MIXIN))
+ efl_access_object_access_parent_set(EO_OBJ(it), obj);
//
l = eina_list_data_find_list(sd->items, EO_OBJ(it));
l = eina_list_next(l);
//TIZEN_ONLY(20181024): Fix parent-children incosistencies in atspi tree
Eo *it;
EINA_LIST_FOREACH(pd->items, ret, it)
- efl_access_object_access_parent_set(it, obj);
+ {
+ if (efl_isa(it, EFL_ACCESS_OBJECT_MIXIN))
+ efl_access_object_access_parent_set(it, obj);
+ }
//
ret = efl_access_object_access_children_get(efl_super(obj, ELM_LIST_CLASS));
//TIZEN_ONLY(20181024): Fix parent-children incosistencies in atspi tree
Eo *it;
EINA_LIST_FOREACH(sd->items, ret, it)
- efl_access_object_access_parent_set(it, obj);
+ {
+ if (efl_isa(it, EFL_ACCESS_OBJECT_MIXIN))
+ efl_access_object_access_parent_set(it, obj);
+ }
//
ret = efl_access_object_access_children_get(efl_super(obj, ELM_MENU_CLASS));
Eina_List *ret;
Eo *it;
EINA_LIST_FOREACH(sd->submenu.items, ret, it)
- efl_access_object_access_parent_set(it, obj);
+ {
+ if (efl_isa(it, EFL_ACCESS_OBJECT_MIXIN))
+ efl_access_object_access_parent_set(it, obj);
+ }
//
return eina_list_clone(sd->submenu.items);
EINA_INLIST_FOREACH(sd->items, it)
{
- ret = eina_list_append(ret, EO_OBJ(it));
- //TIZEN_ONLY(20181024): Fix parent-children incosistencies in atspi tree
- efl_access_object_access_parent_set(EO_OBJ(it), obj);
- //
+ if (efl_isa(EO_OBJ(it), EFL_ACCESS_OBJECT_MIXIN))
+ {
+ ret = eina_list_append(ret, EO_OBJ(it));
+ //TIZEN_ONLY(20181024): Fix parent-children incosistencies in atspi tree
+ efl_access_object_access_parent_set(EO_OBJ(it), obj);
+ //
+ }
}
return eina_list_merge(ret, ret2);
EINA_LIST_FOREACH(sd->items, l, it)
{
- ret = eina_list_append(ret, EO_OBJ(it));
- //TIZEN_ONLY(20181024): Fix parent-children incosistencies in atspi tree
- efl_access_object_access_parent_set(EO_OBJ(it), eo_item);
- //
+ if (efl_isa(EO_OBJ(it), EFL_ACCESS_OBJECT_MIXIN))
+ {
+ ret = eina_list_append(ret, EO_OBJ(it));
+ //TIZEN_ONLY(20181024): Fix parent-children incosistencies in atspi tree
+ efl_access_object_access_parent_set(EO_OBJ(it), eo_item);
+ //
+ }
}
return ret;
goto out;
}
elm_widget_sub_object_add(WIDGET(it), content);
- efl_access_object_access_parent_set(content, EO_OBJ(it));
+ if (efl_isa(content, EFL_ACCESS_OBJECT_MIXIN))
+ efl_access_object_access_parent_set(content, EO_OBJ(it));
}
*contents = eina_list_append(*contents, content);