Bug 152363 - SWT Exceptions can result from readAndDispatch run after canEdit call
Summary: SWT Exceptions can result from readAndDispatch run after canEdit call
Status: RESOLVED FIXED
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P4 major
Target Milestone: 1.0.1   Edit
Assignee: Tom Macdougall CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2006-07-31 14:39 EDT by Tom Macdougall CLA
Modified: 2010-07-19 21:55 EDT (History)
0 users

See Also:


Attachments
patch for TreeInlineTextEditor (1.29 KB, patch)
2006-07-31 14:55 EDT, Tom Macdougall CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Macdougall CLA 2006-07-31 14:39:26 EDT
SWT Exceptions can result from readAndDispatch run after canEdit call in TreeInlineTextEditor's startEdit method. The canEdit test may be invalid after the deferred events are run.
Comment 1 Tom Macdougall CLA 2006-07-31 14:55:08 EDT
Created attachment 47089 [details]
patch for TreeInlineTextEditor

Moved to the readAndDispatch call before the canEdit call so that the test will remain valid when executing the conditional code block.
Comment 2 Linda Damus CLA 2006-07-31 15:35:20 EDT
Reviewed and committed the patch.
Comment 3 Eclipse Webmaster CLA 2010-07-19 21:55:34 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime Common was the original product and component for this bug