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 137311 Details for
Bug 276675
[Table] TopIndex is not correctly updated after disposal of items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Proposed patch as described in comment #2.
Bug-276675.patch (text/plain), 1.40 KB, created by
Ivan Furnadjiev
on 2009-05-27 07:55:55 EDT
(
hide
)
Description:
Proposed patch as described in comment #2.
Filename:
MIME Type:
Creator:
Ivan Furnadjiev
Created:
2009-05-27 07:55:55 EDT
Size:
1.40 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.rwt.q07 >Index: src/org/eclipse/swt/internal/widgets/tablekit/TableLCA.java >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt/org.eclipse.rap.rwt.q07/src/org/eclipse/swt/internal/widgets/tablekit/TableLCA.java,v >retrieving revision 1.16 >diff -u -r1.16 TableLCA.java >--- src/org/eclipse/swt/internal/widgets/tablekit/TableLCA.java 27 May 2009 09:09:59 -0000 1.16 >+++ src/org/eclipse/swt/internal/widgets/tablekit/TableLCA.java 27 May 2009 11:42:27 -0000 >@@ -168,7 +168,8 @@ > newSelection[ i ] = Integer.parseInt( selectedIndices[ i ] ); > } > } >- table.setSelection( newSelection ); >+ table.deselectAll(); >+ table.select( newSelection ); > } > } > >@@ -215,7 +216,7 @@ > > private static void readWidgetSelected( final Table table ) { > if( WidgetLCAUtil.wasEventSent( table, JSConst.EVENT_WIDGET_SELECTED ) ) { >- // TODO [rh] do something reasonable when index points to unresolved item >+ // TODO [rh] do something reasonable when index points to unresolved item > int index = getWidgetSelectedIndex(); > // Bugfix: check if index is valid before firing event to avoid problems > // with fast scrolling >@@ -382,7 +383,7 @@ > writer.call( "setScrollBarsVisibile", args ); > } > } >- >+ > ////////////////// > // Helping methods >
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 276675
:
137300
|
137311
|
137348