Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 115623 Details for
Bug 251469
Accessible.getDescription should not return name
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
new patch to not return name in getDescription
_patch (text/plain), 1.54 KB, created by
Carolyn MacLeod
on 2008-10-20 16:51:29 EDT
(
hide
)
Description:
new patch to not return name in getDescription
Filename:
MIME Type:
Creator:
Carolyn MacLeod
Created:
2008-10-20 16:51:29 EDT
Size:
1.54 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.swt >Index: Eclipse SWT Accessibility/cocoa/org/eclipse/swt/accessibility/Accessible.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.swt/Eclipse SWT Accessibility/cocoa/org/eclipse/swt/accessibility/Accessible.java,v >retrieving revision 1.3 >diff -u -r1.3 Accessible.java >--- Eclipse SWT Accessibility/cocoa/org/eclipse/swt/accessibility/Accessible.java 20 Oct 2008 15:29:33 -0000 1.3 >+++ Eclipse SWT Accessibility/cocoa/org/eclipse/swt/accessibility/Accessible.java 20 Oct 2008 20:48:17 -0000 >@@ -950,20 +950,10 @@ > > returnValue = (event.result != null ? NSString.stringWith(event.result) : null); > >- // If no description was provided, try the name. >+ // If no description was provided, and we are a composite or a canvas return a blank string >+ // -- otherwise, let the Cocoa control handle it. > if (returnValue == null) { >- for (int i = 0; i < accessibleListeners.size(); i++) { >- AccessibleListener listener = (AccessibleListener) accessibleListeners.elementAt(i); >- listener.getName(event); >- } >- >- returnValue = (event.result != null ? NSString.stringWith(event.result) : null); >- >- // If that failed and we are a composite or a canvas return a blank string -- otherwise, let the >- // Cocoa control handle it. >- if (returnValue == null) { >- if (control instanceof Composite) returnValue = NSString.stringWith(""); >- } >+ if (control instanceof Composite) returnValue = NSString.stringWith(""); > } > > return returnValue;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 251469
:
115613
| 115623