Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Using org.eclipse.swt.accessibility.Accessible in class extending GalleryItem
Using org.eclipse.swt.accessibility.Accessible in class extending GalleryItem [message #518489] Thu, 04 March 2010 09:50 Go to next message
Mahesh is currently offline MaheshFriend
Messages: 4
Registered: July 2009
Junior Member
Hi I have a requirement where I want to use test automation tools and run some test scripts. The tool recognizes the controls like table, table item, tree item, etc.
However I have an application where I am using GalleryItem which extends from org.eclipse.swt.widgets.Item. The automation tool fails to understand these items.
Is accessibility (org.eclipse.swt.accessibility.Accessible) is supported for org.eclipse.swt.widgets.Item class hierarchy. If this is not supported how can I achieve the support?

Any help regarding this is appreciated.

Thanks and Regards,
Mahesh
Re: Using org.eclipse.swt.accessibility.Accessible in class extending GalleryItem [message #519557 is a reply to message #518489] Tue, 09 March 2010 09:55 Go to previous messageGo to next message
Nicolas Richeton is currently offline Nicolas RichetonFriend
Messages: 179
Registered: July 2009
Senior Member
Hi Mahesh,

Gallery does not currently implement accessibility, but this would be a
great addition to the widget.

Could you open a bug for this ?

I took a quick look to accessibility API. It seems we need to add a
custom accessibility listener using :

getAccessible().addAccessibleControlListener( IAccessibleControlListener )

Do you have any experience with this API ?
Could you provide a snippet showing the issue or does this need to be
tested with your automation tool ?
Is accessibility support something you could contribute to the widget ?

Thanks,
--
Nicolas



Le 04/03/10 10:50, Mahesh a écrit :
> Hi I have a requirement where I want to use test automation tools and
> run some test scripts. The tool recognizes the controls like table,
> table item, tree item, etc.
> However I have an application where I am using GalleryItem which extends
> from org.eclipse.swt.widgets.Item. The automation tool fails to
> understand these items.
> Is accessibility (org.eclipse.swt.accessibility.Accessible) is supported
> for org.eclipse.swt.widgets.Item class hierarchy. If this is not
> supported how can I achieve the support?
>
> Any help regarding this is appreciated.
>
> Thanks and Regards,
> Mahesh
Re: Using org.eclipse.swt.accessibility.Accessible in class extending GalleryItem [message #519646 is a reply to message #519557] Tue, 09 March 2010 14:58 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
I'm surprised to see that an Eclipse Corner article was never written about
using SWT's accessibility API. There are a few examples at
http://www.eclipse.org/swt/snippets/#accessibility . The two most common
listeners to hook are AccessibleListener and AccessibleControlListener.
Also note that SWT's accessibility API has grown significantly in the
eclipse 3.6 stream, so the potential for making accessible custom controls
is greatly improved (worth looking into once 3.6M6 is declared this week).

Grant


"Nicolas Richeton" <nicolas.richeton@gmail.com> wrote in message
news:hn55ui$8as$1@build.eclipse.org...
> Hi Mahesh,
>
> Gallery does not currently implement accessibility, but this would be a
> great addition to the widget.
>
> Could you open a bug for this ?
>
> I took a quick look to accessibility API. It seems we need to add a
> custom accessibility listener using :
>
> getAccessible().addAccessibleControlListener( IAccessibleControlListener )
>
> Do you have any experience with this API ?
> Could you provide a snippet showing the issue or does this need to be
> tested with your automation tool ?
> Is accessibility support something you could contribute to the widget ?
>
> Thanks,
> --
> Nicolas
>
>
>
> Le 04/03/10 10:50, Mahesh a
Re: Using org.eclipse.swt.accessibility.Accessible in class extending GalleryItem [message #519651 is a reply to message #519646] Tue, 09 March 2010 10:28 Go to previous messageGo to next message
Nicolas Richeton is currently offline Nicolas RichetonFriend
Messages: 179
Registered: July 2009
Senior Member
Thanks Grant, I'll look at 3.6 API.

Tom Schindl gave me a good pointer to CTabFolder#initAccessible() as an
example.

Mahesh, if you need this ASAP, could you try to implement it, based on
CTabFolder and submit a patch ?

I'll try to look at this when I get some free time but no garantee on
the schedule at all.
--
Nicolas

Le 09/03/10 15:58, Grant Gayed a écrit :
> I'm surprised to see that an Eclipse Corner article was never written about
> using SWT's accessibility API. There are a few examples at
> http://www.eclipse.org/swt/snippets/#accessibility . The two most common
> listeners to hook are AccessibleListener and AccessibleControlListener.
> Also note that SWT's accessibility API has grown significantly in the
> eclipse 3.6 stream, so the potential for making accessible custom controls
> is greatly improved (worth looking into once 3.6M6 is declared this week).
>
> Grant
>
>
> "Nicolas Richeton"<nicolas.richeton@gmail.com> wrote in message
> news:hn55ui$8as$1@build.eclipse.org...
>> Hi Mahesh,
>>
>> Gallery does not currently implement accessibility, but this would be a
>> great addition to the widget.
>>
>> Could you open a bug for this ?
>>
>> I took a quick look to accessibility API. It seems we need to add a
>> custom accessibility listener using :
>>
>> getAccessible().addAccessibleControlListener( IAccessibleControlListener )
>>
>> Do you have any experience with this API ?
>> Could you provide a snippet showing the issue or does this need to be
>> tested with your automation tool ?
>> Is accessibility support something you could contribute to the widget ?
>>
>> Thanks,
>> --
>> Nicolas
>>
>>
>>
>> Le 04/03/10 10:50, Mahesh a écrit :
>>> Hi I have a requirement where I want to use test automation tools and
>>> run some test scripts. The tool recognizes the controls like table,
>>> table item, tree item, etc.
>>> However I have an application where I am using GalleryItem which extends
>>> from org.eclipse.swt.widgets.Item. The automation tool fails to
>>> understand these items.
>>> Is accessibility (org.eclipse.swt.accessibility.Accessible) is supported
>>> for org.eclipse.swt.widgets.Item class hierarchy. If this is not
>>> supported how can I achieve the support?
>>>
>>> Any help regarding this is appreciated.
>>>
>>> Thanks and Regards,
>>> Mahesh
>>
>
>
Re: Using org.eclipse.swt.accessibility.Accessible in class extending GalleryItem [message #599177 is a reply to message #518489] Tue, 09 March 2010 09:55 Go to previous messageGo to next message
Nicolas Richeton is currently offline Nicolas RichetonFriend
Messages: 179
Registered: July 2009
Senior Member
Hi Mahesh,

Gallery does not currently implement accessibility, but this would be a
great addition to the widget.

Could you open a bug for this ?

I took a quick look to accessibility API. It seems we need to add a
custom accessibility listener using :

getAccessible().addAccessibleControlListener( IAccessibleControlListener )

Do you have any experience with this API ?
Could you provide a snippet showing the issue or does this need to be
tested with your automation tool ?
Is accessibility support something you could contribute to the widget ?

Thanks,
--
Nicolas



Le 04/03/10 10:50, Mahesh a écrit :
> Hi I have a requirement where I want to use test automation tools and
> run some test scripts. The tool recognizes the controls like table,
> table item, tree item, etc.
> However I have an application where I am using GalleryItem which extends
> from org.eclipse.swt.widgets.Item. The automation tool fails to
> understand these items.
> Is accessibility (org.eclipse.swt.accessibility.Accessible) is supported
> for org.eclipse.swt.widgets.Item class hierarchy. If this is not
> supported how can I achieve the support?
>
> Any help regarding this is appreciated.
>
> Thanks and Regards,
> Mahesh
Re: Using org.eclipse.swt.accessibility.Accessible in class extending GalleryItem [message #599190 is a reply to message #519557] Tue, 09 March 2010 14:58 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
I'm surprised to see that an Eclipse Corner article was never written about
using SWT's accessibility API. There are a few examples at
http://www.eclipse.org/swt/snippets/#accessibility . The two most common
listeners to hook are AccessibleListener and AccessibleControlListener.
Also note that SWT's accessibility API has grown significantly in the
eclipse 3.6 stream, so the potential for making accessible custom controls
is greatly improved (worth looking into once 3.6M6 is declared this week).

Grant


"Nicolas Richeton" <nicolas.richeton@gmail.com> wrote in message
news:hn55ui$8as$1@build.eclipse.org...
> Hi Mahesh,
>
> Gallery does not currently implement accessibility, but this would be a
> great addition to the widget.
>
> Could you open a bug for this ?
>
> I took a quick look to accessibility API. It seems we need to add a
> custom accessibility listener using :
>
> getAccessible().addAccessibleControlListener( IAccessibleControlListener )
>
> Do you have any experience with this API ?
> Could you provide a snippet showing the issue or does this need to be
> tested with your automation tool ?
> Is accessibility support something you could contribute to the widget ?
>
> Thanks,
> --
> Nicolas
>
>
>
> Le 04/03/10 10:50, Mahesh a
Re: Using org.eclipse.swt.accessibility.Accessible in class extending GalleryItem [message #599208 is a reply to message #519646] Tue, 09 March 2010 15:19 Go to previous message
Nicolas Richeton is currently offline Nicolas RichetonFriend
Messages: 179
Registered: July 2009
Senior Member
Thanks Grant, I'll look at 3.6 API.

Tom Schindl gave me a good pointer to CTabFolder#initAccessible() as an
example.

Mahesh, if you need this ASAP, could you try to implement it, based on
CTabFolder and submit a patch ?

I'll try to look at this when I get some free time but no garantee on
the schedule at all.
--
Nicolas

Le 09/03/10 15:58, Grant Gayed a écrit :
> I'm surprised to see that an Eclipse Corner article was never written about
> using SWT's accessibility API. There are a few examples at
> http://www.eclipse.org/swt/snippets/#accessibility . The two most common
> listeners to hook are AccessibleListener and AccessibleControlListener.
> Also note that SWT's accessibility API has grown significantly in the
> eclipse 3.6 stream, so the potential for making accessible custom controls
> is greatly improved (worth looking into once 3.6M6 is declared this week).
>
> Grant
>
>
> "Nicolas Richeton"<nicolas.richeton@gmail.com> wrote in message
> news:hn55ui$8as$1@build.eclipse.org...
>> Hi Mahesh,
>>
>> Gallery does not currently implement accessibility, but this would be a
>> great addition to the widget.
>>
>> Could you open a bug for this ?
>>
>> I took a quick look to accessibility API. It seems we need to add a
>> custom accessibility listener using :
>>
>> getAccessible().addAccessibleControlListener( IAccessibleControlListener )
>>
>> Do you have any experience with this API ?
>> Could you provide a snippet showing the issue or does this need to be
>> tested with your automation tool ?
>> Is accessibility support something you could contribute to the widget ?
>>
>> Thanks,
>> --
>> Nicolas
>>
>>
>>
>> Le 04/03/10 10:50, Mahesh a écrit :
>>> Hi I have a requirement where I want to use test automation tools and
>>> run some test scripts. The tool recognizes the controls like table,
>>> table item, tree item, etc.
>>> However I have an application where I am using GalleryItem which extends
>>> from org.eclipse.swt.widgets.Item. The automation tool fails to
>>> understand these items.
>>> Is accessibility (org.eclipse.swt.accessibility.Accessible) is supported
>>> for org.eclipse.swt.widgets.Item class hierarchy. If this is not
>>> supported how can I achieve the support?
>>>
>>> Any help regarding this is appreciated.
>>>
>>> Thanks and Regards,
>>> Mahesh
>>
>
>
Previous Topic:A BIG "Thank you" for Gallery widget
Next Topic:nebula grid footer
Goto Forum:
  


Current Time: Sat Nov 09 04:18:41 GMT 2024

Powered by FUDForum. Page generated in 0.03992 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top