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@xxxxxxxxxxxhttps://dev.eclipse.org/mailman/listinfo/dali-dev
|