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

Bug 323746

Summary: on an entity > Open Diagram, should bring up the editor highlighting the entity
Product: [WebTools] Dali JPA Tools Reporter: Ram Venkataswamy <ram.venkataswamy>
Component: Diagram EditorAssignee: Project Inbox <dali.diagrameditor-inbox>
Status: NEW --- QA Contact: Stefan Dimov <stefan.dimov>
Severity: enhancement    
Priority: P3 CC: petya.sabeva
Version: 0.5   
Target Milestone: Future   
Hardware: All   
OS: All   
Whiteboard:

Description Ram Venkataswamy CLA 2010-08-26 15:05:55 EDT
Build Identifier: M20100818-0800

on an entity > Open Diagram, should bring up the editor highlighting the entity

Reproducible: Always

Steps to Reproduce:
- create/Open a JPA project with entities

Make sure JPA diagram editor is closed.

- In project explorer | JPA Content | persistence.xml | schema | right click on entity > Open Diagram

The JPA Diagram comes up w/o highlighting the selection.

It would be useful if the editor highlights the selection, in case user wants to modify values in JPA Details view.

NOTE: Even for case when the JPA diagram editor is already opened, then exercising "project explorer | JPA Content | persistence.xml | schema | right click on entity > Open Diagram" should highlight the selection
Comment 1 Stefan Dimov CLA 2010-08-30 10:01:04 EDT
    Actually, this action is not supposed to open any particular entity in the diagram. It's just the same <JPA content> node action, which is propagated on the child nodes. It's not that it doesn't highlight the selected entity. It doesn't even show this entity in diagram if it wasn't already there. 
 
    Anyway, I like the idea. So, the fix should actually replace the existing action with another action on the entity node level. (Perhaps something like 'Open in diagram') and this action should add the selected entity in the diagram (if it wasn't there yet) and should highlight it.
Comment 2 Neil Hauge CLA 2011-10-27 11:16:27 EDT
The 3.2 target now represents the Juno release.
Comment 3 Petya Sabeva CLA 2012-05-04 01:57:01 EDT
Retargeting this bug to the Kepler realease (3.3).
Comment 4 Petya Sabeva CLA 2013-05-08 08:05:18 EDT
Retargeting this bug to 3.4 release.
Comment 5 Neil Hauge CLA 2014-09-30 16:56:33 EDT
Bulk move to Dali 3.5 as Dali 3.4 has shipped.
Comment 6 Neil Hauge CLA 2015-05-14 14:11:10 EDT
Deferring from 3.5 to Future target.