Bug 158392

Summary: Add more (and custom) roles
Product: [Eclipse Project] Platform Reporter: Larry Weiss <lweiss>
Component: SWTAssignee: Carolyn MacLeod <carolynmacleod4>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: steve_northover
Version: 3.3Keywords: accessibility
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:
Bug Depends on:    
Bug Blocks: 158836    

Description Larry Weiss CLA 2006-09-22 18:21:59 EDT
Linux (RHEL 5 or FC5) ATK defines accessible roles that have no equivalent in the org.eclipse.swt.accessibility.ACC class. (See http://developer.gnome.org/doc/API/2.0/atk/AtkObject.html#AtkRole.) Custom widget authors (including Draw2d and GMF authors) need the ability to expose these existing roles as well as an ability to define custom roles. (See http://developer.gnome.org/doc/API/2.0/atk/AtkObject.html#atk-role-register.)

The mechanism to implement this functionality on Windows will be added soon.
Comment 1 Carolyn MacLeod CLA 2012-05-03 10:29:04 EDT
1 new role was added in 3.5, and 22 new roles were added in 3.6.
Any remaining roles not yet supported will only be added on an as-needed
basis, and only if they are cross-platform.

The ability to add custom roles would only be added if this functionality was
required by an actual customer.

Updated links:
http://developer.gnome.org/atk/stable/AtkObject.html#AtkRole
http://developer.gnome.org/atk/stable/AtkObject.html#atk-role-register
Comment 2 Carolyn MacLeod CLA 2012-06-19 16:09:10 EDT
Closing. Please open a new bug with specifics if additional roles are required.