|
Thanks Brian.
Yes, with the current implementation of the rename action, the issue does not appear and it is not always working as expected. So i am rewriting this logic to use the org.eclipse.ltk.core.refactoring.renameParticipants extension point, but then the post
selection action is somehow broken. Thanks again for the hint, I'll check how you handle it.
Regards,
Petya
Sent from my iPhone
Petya:
I am not very familiar with the JPA Diagram Editor; but I am familiar with how we are trying to handle selections within Dali. The JPA Structure View’s selection is set indirectly when the “JPA Selection” is set. In JPADiagramEditor this occurs whenever
the value of jpaSelectionModel is set. You might follow that call and see what listeners are notified and what happens as a result. Eventually, the change event fired by jpaSelectionModel should reach JpaSelectionListener in JpaStructurePage. This is what
sets the selection in the JPA Structure View.
I was unable to recreate this problem; but I also had many NPEs while using the diagram editor and it stopped working…. There might be timing issue with renaming classes….
Brian
Hi guys,
Can someone give a hint how can I change the selection in the JPA Structure view?
I noticed that when I rename an entity in the JPA Diagram editor, it is not selected in the Structure view, although that the element is selected in the editor. This causes me some issues, but I couldn't find out how to handle the selection in the JPA Structure
view:
<image001.png>
Thanks and regards,
Petya
_______________________________________________
dali-dev mailing list
dali-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dali-dev
|