Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323769 - incorrect JPA diagram editor behavior on re-opening ide
Summary: incorrect JPA diagram editor behavior on re-opening ide
Status: RESOLVED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: Diagram Editor (show other bugs)
Version: 0.5   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: 0.5 RC3   Edit
Assignee: Petya Sabeva CLA
QA Contact: Stefan Dimov CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-26 19:45 EDT by Ram Venkataswamy CLA
Modified: 2011-01-17 08:17 EST (History)
2 users (show)

See Also:


Attachments
patch (2.10 KB, patch)
2010-10-06 08:47 EDT, Petya Sabeva CLA
stefan.dimov: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.