As you may know, we can show an element in vp using this method :
This method takes an IDiagramElement as the argument and it works fine when I pass an IDiagramElement from the current opening project to it. But when I close the project or open another project and try to show the same element again (by calling the method again with the same IDiagramElement reference) it will fail. Actually, it will not perform any action!
Also I opened the project manually by calling ApplicationManager.instance().getProjectManager().openProject() before calling openDiagramElement() but it wont perform any action in this case too.
Does anybody know the reason?
Thanks in advance