Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 315445

Summary: persistence.xml editor add/remove list layout issues
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: JPAAssignee: Karen Butzke <karenfbutzke>
Status: VERIFIED FIXED QA Contact:
Severity: minor    
Priority: P2 CC: jolene.moffitt, neil.hauge
Version: 2.3   
Target Milestone: 3.3 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard: EaseOfUse
Attachments:
Description Flags
Set the weightHint in AddRemoveListPane and removed it from the anonymous subclasses none

Description Karen Butzke CLA 2010-06-02 14:25:01 EDT
In the persistence.xml editor if there are many orm.xml mapping files listed the table gets larger instead of using a scroll bar. To reproduce you have to add more than 5 orm.xml files to the list, close the editor and reopen.  If you have 50 orm.xml files that section gets very large and you have to scroll the whole editor instead of just scrolling that add/remove list.

This issue exists on the Customization tab as well for Descriptor Customizers. I imagine there are other lists that have this same layout issue.
Comment 1 Karen Butzke CLA 2010-06-02 14:36:14 EDT
persistence.xml Entity Caching list
persistence.xml Properties list
persistence.xml JAR Files list
Entity Queries list
Entity Attribute Overrides list
Entity Secondary Tables list
Comment 2 Neil Hauge CLA 2011-07-01 16:25:31 EDT
Moving JPA specific bugs to new JPA component in bugzilla.
Comment 3 Neil Hauge CLA 2011-10-07 12:51:50 EDT
Targeting to Juno release.
Comment 4 Pascal Filion CLA 2012-05-10 15:21:27 EDT
Created attachment 215424 [details]
Set the weightHint in AddRemoveListPane and removed it from the anonymous subclasses

The height of the list was manually set in some of the anonymous classes of AddRemoveListPane. I moved that behavior to AddRemoveListPane.
Comment 5 Karen Butzke CLA 2012-11-20 11:09:37 EST
Finally managed to get the persistence.xml General panel to layout such the each of the Add/Remove lists fills correctly. Move the Classes Add/Remove list to the right hand side so it can stratch the full vertical length of the panel. Mapping Files and Java Files are sections on the left hand side.

master commit:
http://git.eclipse.org/c/dali/webtools.dali.git/commit/?id=0abe6c6f71214193167779f8351f000bb6c78b01
Comment 6 Jolene Moffitt CLA 2013-01-03 16:11:59 EST
Verified in build I-3.5.0M4-20121217201101 that persistence.xml editor general tab was reorganized.  Verified list sections were updated to allow scrolling for the list verses the pane itself.  To view steps to verify this issue go to http://wiki.eclipse.org/Dali_3.3_M4_Release