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 227796 Details for
Bug 402122
[Table][Tree] Items structure out of sync when disposing non-materialized item
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]
Patch against Controls Demo -> Table Tab to reproduce the issue
TableTab.patch (text/plain), 1.04 KB, created by
Ivan Furnadjiev
on 2013-03-01 07:37:15 EST
(
hide
)
Description:
Patch against Controls Demo -> Table Tab to reproduce the issue
Filename:
MIME Type:
Creator:
Ivan Furnadjiev
Created:
2013-03-01 07:37:15 EST
Size:
1.04 KB
patch
obsolete
>diff --git a/examples/org.eclipse.rap.demo.controls/src/org/eclipse/rap/demo/controls/TableTab.java b/examples/org.eclipse.rap.demo.controls/src/org/eclipse/rap/demo/controls/TableTab.java >index 201ae2e..1e1748a 100644 >--- a/examples/org.eclipse.rap.demo.controls/src/org/eclipse/rap/demo/controls/TableTab.java >+++ b/examples/org.eclipse.rap.demo.controls/src/org/eclipse/rap/demo/controls/TableTab.java >@@ -383,14 +383,13 @@ > > private void createDisposeSelectionButton() { > Button button = new Button( styleComp, SWT.PUSH ); >- button.setText( "Dispose Selected Item" ); >+ button.setText( "Dispose Items 100, 101, 102" ); > button.addSelectionListener( new SelectionAdapter() { > @Override > public void widgetSelected( SelectionEvent event ) { >- TableItem[] items = table.getSelection(); >- for( int i = 0; i < items.length; i++ ) { >- items[ i ].dispose(); >- } >+ table.getItem( 100 ).dispose(); >+ table.getItem( 101 ).dispose(); >+ table.getItem( 102 ).dispose(); > } > } ); > }
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 402122
: 227796