Getting Project instance from the project path

Answered

I need to find the correct project instance window when multiple projects are opened in different windows. I want to send notification in correct project window. Is there any way to get project instance from project location path?

 

1 comment
Comment actions Permalink

Taslima,

You can get access to all opened projects with:

ProjectManager.getInstance().getOpenProjects()

Then just loop through them and pick the one that is matching your path.

0

Please sign in to leave a comment.