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 178300 Details for
Bug 324584
[TableEditor] doesn't redraw correctly if the column with the tableEditor is resized using the left edge of the column
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]
Test case
TableColumn_Test.patch (text/plain), 2.06 KB, created by
Ivan Furnadjiev
on 2010-09-07 04:09:41 EDT
(
hide
)
Description:
Test case
Filename:
MIME Type:
Creator:
Ivan Furnadjiev
Created:
2010-09-07 04:09:41 EDT
Size:
2.06 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.rwt.test >Index: src/org/eclipse/swt/widgets/TableColumn_Test.java >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt.test/org.eclipse.rap.rwt.test/src/org/eclipse/swt/widgets/TableColumn_Test.java,v >retrieving revision 1.12 >diff -u -r1.12 TableColumn_Test.java >--- src/org/eclipse/swt/widgets/TableColumn_Test.java 23 Aug 2010 09:15:17 -0000 1.12 >+++ src/org/eclipse/swt/widgets/TableColumn_Test.java 7 Sep 2010 08:07:48 -0000 >@@ -280,6 +280,42 @@ > assertEquals( column, event.getSource() ); > } > >+ public void testMoveEvent() { >+ Fixture.fakePhase( PhaseId.PROCESS_ACTION ); >+ final java.util.List log = new ArrayList(); >+ Display display = new Display(); >+ Shell shell = new Shell( display ); >+ Table table = new Table( shell, SWT.NONE ); >+ final TableColumn column = new TableColumn( table, SWT.NONE ); >+ column.addControlListener( new ControlListener() { >+ public void controlMoved( final ControlEvent event ) { >+ fail( "unexpected event: controlMoved" ); >+ } >+ public void controlResized( final ControlEvent event ) { >+ log.add( event ); >+ } >+ } ); >+ final TableColumn column1 = new TableColumn( table, SWT.NONE ); >+ column1.addControlListener( new ControlListener() { >+ public void controlMoved( final ControlEvent event ) { >+ log.add( event ); >+ } >+ public void controlResized( final ControlEvent event ) { >+ fail( "unexpected event: controlResized" ); >+ } >+ } ); >+ ControlEvent event; >+ // Changing column width leads to resize event and move event of next >+ // columns >+ log.clear(); >+ column.setWidth( column.getWidth() + 1 ); >+ assertEquals( 2, log.size() ); >+ event = ( ControlEvent )log.get( 0 ); >+ assertSame( column, event.getSource() ); >+ event = ( ControlEvent )log.get( 1 ); >+ assertSame( column1, event.getSource() ); >+ } >+ > public void testDisposeLast() { > Display display = new Display(); > Shell shell = new Shell( display );
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 324584
:
178268
|
178269
| 178300