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 134237 Details for
Bug 238706
[Table] mouse listener prevents column headers to be resized by user
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 for RAP 1.1.2
clipboard.txt (text/plain), 2.02 KB, created by
Stefan Röck
on 2009-05-04 10:08:49 EDT
(
hide
)
Description:
Patch for RAP 1.1.2
Filename:
MIME Type:
Creator:
Stefan Röck
Created:
2009-05-04 10:08:49 EDT
Size:
2.02 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.rwt.q07 >Index: js/org/eclipse/swt/widgets/TableColumn.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt/org.eclipse.rap.rwt.q07/js/org/eclipse/swt/widgets/TableColumn.js,v >retrieving revision 1.3 >diff -u -r1.3 TableColumn.js >--- js/org/eclipse/swt/widgets/TableColumn.js 12 Jun 2008 13:14:28 -0000 1.3 >+++ js/org/eclipse/swt/widgets/TableColumn.js 4 May 2009 14:07:43 -0000 >@@ -132,6 +132,8 @@ > this._table._showResizeLine( position ); > this._resizeStartX = evt.getPageX(); > this.setCapture( true ); >+ evt.stopPropagation(); >+ evt.preventDefault(); > } else if( this._moveable ){ > this._inMove = true; > this.setCapture( true ); >@@ -140,6 +142,8 @@ > this._table._unhookColumnMove( this ); > this._offsetX = evt.getPageX() - this.getLeft(); > this._initialLeft = this.getLeft(); >+ evt.stopPropagation(); >+ evt.preventDefault(); > } > }, > >@@ -152,6 +156,8 @@ > this._sendResized( newWidth ); > this._inResize = false; > this._wasResizeOrMoveEvent = true; >+ evt.stopPropagation(); >+ evt.preventDefault(); > } else if( this._inMove ) { > this._inMove = false; > this.setCapture( false ); >@@ -167,6 +173,8 @@ > } else { > this.setLeft( this._initialLeft ); > } >+ evt.stopPropagation(); >+ evt.preventDefault(); > } > }, > >@@ -188,12 +196,16 @@ > this.getTopLevelWidget().setGlobalCursor( null ); > } > } >+ evt.stopPropagation(); >+ evt.preventDefault(); > }, > > _onMouseOut : function( evt ) { > this.removeState( org.eclipse.swt.widgets.TableColumn.STATE_MOUSE_OVER ); > if( !this._inResize ) { > this.getTopLevelWidget().setGlobalCursor( null ); >+ evt.stopPropagation(); >+ evt.preventDefault(); > } > }, >
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 238706
: 134237