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 101843 Details for
Bug 233784
FigureCanvas scrollToX and scrollToY may cause SWTException due to disposed widget
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch for this bug
FigureCanvas_patch.txt (text/plain), 1.25 KB, created by
Chris Lee
on 2008-05-23 21:29:16 EDT
(
hide
)
Description:
patch for this bug
Filename:
MIME Type:
Creator:
Chris Lee
Created:
2008-05-23 21:29:16 EDT
Size:
1.25 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.draw2d >Index: src/org/eclipse/draw2d/FigureCanvas.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.gef/plugins/org.eclipse.draw2d/src/org/eclipse/draw2d/FigureCanvas.java,v >retrieving revision 1.39 >diff -u -r1.39 FigureCanvas.java >--- src/org/eclipse/draw2d/FigureCanvas.java 11 Jan 2008 22:19:10 -0000 1.39 >+++ src/org/eclipse/draw2d/FigureCanvas.java 24 May 2008 01:25:55 -0000 >@@ -348,6 +348,8 @@ > } > scroll(dest.x, dest.y, blit.x, blit.y, blit.width, blit.height, true); > for (int i = 0; i < children.length; i++) { >+ if (children[i].isDisposed ()) >+ continue; > org.eclipse.swt.graphics.Rectangle bounds = children[i].getBounds(); > if (manualMove[i]) > children[i].setBounds(bounds.x + dx, bounds.y, bounds.width, bounds.height); >@@ -393,6 +395,8 @@ > } > scroll(dest.x, dest.y, blit.x, blit.y, blit.width, blit.height, true); > for (int i = 0; i < children.length; i++) { >+ if (children[i].isDisposed ()) >+ continue; > org.eclipse.swt.graphics.Rectangle bounds = children[i].getBounds(); > if (manualMove[i]) > children[i].setBounds(bounds.x, bounds.y + dy, bounds.width, bounds.height);
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
Flags:
ahunter.eclipse
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 233784
: 101843