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

Bug 323769

Summary: incorrect JPA diagram editor behavior on re-opening ide
Product: [WebTools] Dali JPA Tools Reporter: Ram Venkataswamy <ram.venkataswamy>
Component: Diagram EditorAssignee: Petya Sabeva <petya.sabeva>
Status: RESOLVED FIXED QA Contact: Stefan Dimov <stefan.dimov>
Severity: minor    
Priority: P3 CC: kaloyan, petya.sabeva
Version: 0.5   
Target Milestone: 0.5 RC3   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
patch stefan.dimov: iplog+

Description Ram Venkataswamy CLA 2010-08-26 19:45:36 EDT
Build Identifier: M20100818-0800

incorrect JPA diagram editor behavior on re-opening ide

Reproducible: Always

Steps to Reproduce:
- Create/open a JPA project with entities

- open JPA Diagram editor

- With JPA diagram editor still active (open in workbench) quit/close eclipse IDE

- re-launch Eclipse

Once eclipse comes up, the JPA diagram editor appears for a moment and then vanishes.
Comment 1 Petya Sabeva CLA 2010-10-06 08:47:03 EDT
Created attachment 180322 [details]
patch

The editor is initialized during the startup of the IDE and it has as paremeter a JpaProject. But at this state the JpaProject is null, that's why I add a WorkbenchListener to close the JPA Diagram Editor when the Eclipse IDE is closed.
Comment 2 Stefan Dimov CLA 2010-10-14 06:54:01 EDT
Patch submitted.