internal virtual bool SupportsInvoke ()
{
if (accessible.Role == Role.Separator ||
accessible.Role == Role.CheckBox ||
accessible.Role == Role.ScrollBar ||
accessible.Role == Role.SpinButton ||
accessible.Role == Role.Text ||
accessible.Role == Role.ToggleButton)
return false;
Atspi.Action action = accessible.QueryAction ();
if (action == null)
return false;
ActionDescription [] actions = action.Actions;
for (int i = 0; i < actions.Length; i++)
if (actions [i].Name == "activate" || actions [i].Name == "invoke"
|| actions [i].Name == "click" || actions [i].Name == "jump")
return true;
return false;
}