Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313618 - Entity Generation wizard flashes when you select a table from the checkbox list
Summary: Entity Generation wizard flashes when you select a table from the checkbox list
Status: VERIFIED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: 2.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M2   Edit
Assignee: Nan Li CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-19 15:54 EDT by Karen Butzke CLA
Modified: 2013-10-08 11:15 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karen Butzke CLA 2010-05-19 15:54:01 EDT
The Entity Generation table selection page looks like it is being repainted every time you select/descelect a table in the list.  Looks like the IRunnabledWithProgress code in TablesSelectorWizardPage is the culprit.
Comment 1 Karen Butzke CLA 2010-05-19 15:57:16 EDT
Forgot the method : TableSelectorWizardPage.doStatusUpdate()
Comment 2 Karen Butzke CLA 2010-05-19 16:19:28 EDT
Danny,

Do you know why the TablesSelectorWizardPage.doStatusUpdate() uses a RunnableWithProgress? This seems unnecessary to me and fixes this bug if it is removed.
Comment 3 Neil Hauge CLA 2011-07-01 16:26:09 EDT
Moving JPA specific bugs to new JPA component in bugzilla.
Comment 4 Neil Hauge CLA 2011-10-07 12:51:44 EDT
Targeting to Juno release.
Comment 5 Karen Butzke CLA 2012-05-03 14:15:13 EDT
This doesn't seem important enough to do in an RC build
Comment 6 Nan Li CLA 2013-09-09 12:56:53 EDT
This is only reproducible on Windows. Mac iOS has no such problem.
Comment 7 Nan Li CLA 2013-09-09 15:33:37 EDT
Investigated the code and didn't find it's necessary for TablesSelectorWizardPage.doStatusUpdate() to use IRunnabledWithProgress. Tested that entity gen works well without using it.

patch committed to the master branch.
Comment 8 Jolene Moffitt CLA 2013-10-08 11:15:34 EDT
Verified in build I-3.6.0-20130926012622 that the table selection page does not repaint each time you select/deselect a table in the list.