Community
Participate
Working Groups
The persistence.xml editor should take advantage of the FormEditor's behavior and not build the contents of the tabs until they are selected. Building them when the persistence.xml is shown makes it slower to build, uses more SWT handles than necessary, and leads to potential leaks since the we have to dispose of those widgets manually.
Some provisional API was changed to fix this bug: renamed JpaPageComposite to JpaEditorPageDefinition and it no longer extends JpaCOmposite. Added the method buildEditorPageContent(...) which is called when the particular tab is selected in the editor.